Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/less/
H A Dcmdbuf.c68 struct mlist struct
70 struct mlist *next; argument
71 struct mlist *prev; argument
650 void *mlist; in set_mlist()
654 curr_mlist = (struct mlist *) mlist;
674 struct mlist *ml;
734 ml_link(mlist, ml) in ml_link() argument
735 struct mlist *mlist; in ml_link()
760 struct mlist *mlist; in cmd_addhist()
799 ml = (struct mlist *) ecalloc(1, sizeof(struct mlist));
[all …]
H A Dcommand.c136 start_mca(action, prompt, mlist, cmdflags) in start_mca() argument
139 void *mlist;
144 set_mlist(mlist, cmdflags);
H A Dfuncs.h80 public void set_mlist LESSPARAMS ((void *mlist, int cmdflags));
81 public void cmd_addhist LESSPARAMS ((struct mlist *mlist, constant char *cmd, int modified));
H A Dless.h569 struct mlist;
/freebsd-13.1/contrib/file/src/
H A Dapprentice.c591 struct mlist *mlist; in mlist_alloc() local
592 if ((mlist = CAST(struct mlist *, calloc(1, sizeof(*mlist)))) == NULL) { in mlist_alloc()
595 mlist->next = mlist->prev = mlist; in mlist_alloc()
596 return mlist; in mlist_alloc()
619 mlist_free(struct mlist *mlist) in mlist_free() argument
626 for (ml = mlist->next; ml != mlist;) { in mlist_free()
1042 apprentice_list(struct mlist *mlist, int mode) in apprentice_list() argument
1046 for (ml = mlist->next; ml != mlist; ml = ml->next) { in apprentice_list()
3545 struct mlist *mlist, *ml; in file_magicfind() local
3547 mlist = ms->mlist[1]; in file_magicfind()
[all …]
H A Dfile.h399 struct mlist { struct
403 struct mlist *next, *prev; argument
433 struct mlist *mlist[MAGIC_SETS]; /* list of regular entries */ member
530 protected int file_magicfind(struct magic_set *, const char *, struct mlist *);
H A Dsoftmagic.c120 struct mlist *ml; in file_softmagic()
133 for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next) in file_softmagic()
1552 struct mlist ml, *mlp; in mget()
1822 for (mlp = ms->mlist[0]->next; mlp != ms->mlist[0]; in mget()
H A Dfuncs.c502 if (checkloaded && ms->mlist[0] == NULL) { in file_reset()
/freebsd-13.1/contrib/blacklist/bin/
H A Dblacklistd.c363 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) in uniqueadd() argument
373 if (*nlist == *mlist) { in uniqueadd()
374 *mlist += 10; in uniqueadd()
375 void *p = realloc(*listp, *mlist * sizeof(*list)); in uniqueadd()
387 size_t nlist, mlist; in rules_flush() local
390 mlist = nlist = 0; in rules_flush()
392 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush()
394 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush()
/freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctftools.h166 typedef struct mlist { struct
171 struct mlist *ml_next; /* Next member */ argument
/freebsd-13.1/contrib/sendmail/src/
H A Dparseaddr.c1038 struct match mlist[MAXMATCH]; /* stores match on LHS */ local
1111 mlp = mlist;
1256 while (--mlp >= mlist)
1295 if (mlp < mlist)
1306 if (mlp < mlist || *rvp != NULL)
1350 m = &mlist[rp[1] - '1'];
1351 if (m < mlist || m >= mlp)
/freebsd-13.1/contrib/ntp/libntp/
H A Dntp_calendar.c297 static const char mlist[] = "JanFebMarAprMayJunJulAugSepOctNovDec"; in ntpcal_get_build_date() local
328 cp = strstr(mlist, monstr); in ntpcal_get_build_date()
331 jd->month = (uint8_t)((cp - mlist) / 3 + 1); in ntpcal_get_build_date()
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_match.c592 add_pattern_from_file(struct archive_match *a, struct match_list *mlist, in add_pattern_from_file() argument
673 r = add_pattern_mbs(a, mlist, as.s); in add_pattern_from_file()
695 r = add_pattern_mbs(a, mlist, as.s); in add_pattern_from_file()
/freebsd-13.1/contrib/file/
H A DChangeLog575 * fix memory leak (not freeing the head of each mlist)