Home
last modified time | relevance | path

Searched refs:mlist (Results 1 – 16 of 16) sorted by relevance

/src/contrib/less/
H A Dcmdbuf.c72 struct mlist struct
74 struct mlist *next; argument
75 struct mlist *prev; argument
76 struct mlist *curr_mp; argument
84 struct mlist mlist_search = argument
88 struct mlist mlist_examine =
93 struct mlist mlist_shell =
112 static struct mlist *curr_mlist = NULL;
642 public void set_mlist(void *mlist, int cmdflags) in set_mlist() argument
645 curr_mlist = (struct mlist *) mlist; in set_mlist()
[all …]
H A Dfuncs.h97 public void set_mlist(void *mlist, int cmdflags);
100 public void cmd_addhist(struct mlist *mlist, constant char *cmd, lbool modified);
H A Dless.h659 struct mlist;
H A Dcommand.c149 static void start_mca(int action, constant char *prompt, void *mlist, int cmdflags) in start_mca() argument
153 set_mlist(mlist, cmdflags); in start_mca()
/src/contrib/file/src/
H A Dapprentice.c125 file_private void apprentice_list(struct mlist *, int );
128 file_private struct mlist *mlist_alloc(void);
130 file_private void mlist_free(struct mlist *);
443 add_mlist(struct mlist *mlp, struct magic_map *map, size_t idx) in add_mlist()
445 struct mlist *ml; in add_mlist()
448 if ((ml = CAST(struct mlist *, malloc(sizeof(*ml)))) == NULL) in add_mlist()
506 if (add_mlist(ms->mlist[i], map, i) == -1) { in apprentice_1()
512 file_oomem(ms, sizeof(*ms->mlist[0])); in apprentice_1()
521 apprentice_list(ms->mlist[i], BINTEST); in apprentice_1()
523 apprentice_list(ms->mlist[i], TEXTTEST); in apprentice_1()
[all …]
H A Dfile.h432 struct mlist { struct
437 struct mlist *next, *prev; argument
467 struct mlist *mlist[MAGIC_SETS]; /* list of regular entries */ member
586 struct mlist *);
H A Dsoftmagic.c122 struct mlist *ml; in file_softmagic()
135 for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next) { in file_softmagic()
1599 struct mlist ml, *mlp; in mget()
1898 for (mlp = ms->mlist[0]->next; mlp != ms->mlist[0]; in mget()
H A Dfuncs.c517 if (checkloaded && ms->mlist[0] == NULL) { in file_reset()
/src/contrib/blocklist/bin/
H A Dblocklistd.c364 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) in uniqueadd() argument
374 if (*nlist == *mlist) { in uniqueadd()
375 *mlist += 10; in uniqueadd()
376 void *p = reallocarray(*listp, *mlist, sizeof(*list)); in uniqueadd()
388 size_t nlist, mlist; in rules_flush() local
391 mlist = nlist = 0; in rules_flush()
393 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush()
395 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush()
H A Dblacklistd.c364 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) in uniqueadd() argument
374 if (*nlist == *mlist) { in uniqueadd()
375 *mlist += 10; in uniqueadd()
376 void *p = reallocarray(*listp, *mlist, sizeof(*list)); in uniqueadd()
388 size_t nlist, mlist; in rules_flush() local
391 mlist = nlist = 0; in rules_flush()
393 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush()
395 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush()
/src/contrib/bmake/mk/
H A Dccm.dep.mk29 @mlist=`sed -n '/^import/s,.*[[:space:]]\([^[:space:];]*\);.*,\1,p' ${.ALLSRC:M*$s}`; \
31 for m in $$mlist; do \
/src/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctftools.h166 typedef struct mlist { struct
171 struct mlist *ml_next; /* Next member */ argument
/src/contrib/sendmail/src/
H A Dparseaddr.c1071 struct match mlist[MAXMATCH]; /* stores match on LHS */ local
1144 mlp = mlist;
1289 while (--mlp >= mlist)
1328 if (mlp < mlist)
1339 if (mlp < mlist || *rvp != NULL)
1383 m = &mlist[rp[1] - '1'];
1384 if (m < mlist || m >= mlp)
/src/contrib/ntp/libntp/
H A Dntp_calendar.c296 static const char mlist[] = "JanFebMarAprMayJunJulAugSepOctNovDec"; in ntpcal_get_build_date() local
327 cp = strstr(mlist, monstr); in ntpcal_get_build_date()
330 jd->month = (uint8_t)((cp - mlist) / 3 + 1); in ntpcal_get_build_date()
/src/contrib/libarchive/libarchive/
H A Darchive_match.c597 add_pattern_from_file(struct archive_match *a, struct match_list *mlist, in add_pattern_from_file() argument
679 r = add_pattern_mbs(a, mlist, as.s); in add_pattern_from_file()
701 r = add_pattern_mbs(a, mlist, as.s); in add_pattern_from_file()
/src/contrib/file/
H A DChangeLog733 * fix memory leak (not freeing the head of each mlist)