| /src/contrib/less/ |
| H A D | cmdbuf.c | 72 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 D | funcs.h | 97 public void set_mlist(void *mlist, int cmdflags); 100 public void cmd_addhist(struct mlist *mlist, constant char *cmd, lbool modified);
|
| H A D | less.h | 659 struct mlist;
|
| H A D | command.c | 149 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 D | apprentice.c | 125 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 D | file.h | 432 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 D | softmagic.c | 122 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 D | funcs.c | 517 if (checkloaded && ms->mlist[0] == NULL) { in file_reset()
|
| /src/contrib/blocklist/bin/ |
| H A D | blocklistd.c | 364 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 D | blacklistd.c | 364 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 D | ccm.dep.mk | 29 @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 D | ctftools.h | 166 typedef struct mlist { struct 171 struct mlist *ml_next; /* Next member */ argument
|
| /src/contrib/sendmail/src/ |
| H A D | parseaddr.c | 1071 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 D | ntp_calendar.c | 296 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 D | archive_match.c | 597 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 D | ChangeLog | 733 * fix memory leak (not freeing the head of each mlist)
|