Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/less/
H A Dcmdbuf.c69 struct mlist struct
71 struct mlist *next; argument
72 struct mlist *prev; argument
618 curr_mlist = (struct mlist *) mlist; in set_mlist()
636 struct mlist *ml; in cmd_updown()
695 static void ml_link(struct mlist *mlist, struct mlist *ml) in ml_link() argument
697 ml->next = mlist; in ml_link()
700 mlist->prev = ml; in ml_link()
718 struct mlist *ml; in cmd_addhist()
752 ml = (struct mlist *) ecalloc(1, sizeof(struct mlist)); in cmd_addhist()
[all …]
H A Dfuncs.h82 public void set_mlist(void *mlist, int cmdflags);
83 public void cmd_addhist(struct mlist *mlist, constant char *cmd, int modified);
H A Dless.h618 struct mlist;
H A Dcommand.c139 static void start_mca(int action, constant char *prompt, void *mlist, int cmdflags) in start_mca() argument
143 set_mlist(mlist, cmdflags); in start_mca()
/freebsd-14.2/contrib/file/src/
H A Dapprentice.c633 struct mlist *mlist; in mlist_alloc() local
634 if ((mlist = CAST(struct mlist *, calloc(1, sizeof(*mlist)))) == NULL) { in mlist_alloc()
637 mlist->next = mlist->prev = mlist; in mlist_alloc()
638 return mlist; in mlist_alloc()
673 mlist_free(struct mlist *mlist) in mlist_free() argument
680 for (ml = mlist->next; ml != mlist;) { in mlist_free()
1150 apprentice_list(struct mlist *mlist, int mode) in apprentice_list() argument
1154 for (ml = mlist->next; ml != mlist; ml = ml->next) { in apprentice_list()
3709 struct mlist *mlist, *ml; in file_magicfind() local
3711 mlist = ms->mlist[1]; in file_magicfind()
[all …]
H A Dfile.h421 struct mlist { struct
426 struct mlist *next, *prev; argument
456 struct mlist *mlist[MAGIC_SETS]; /* list of regular entries */ member
571 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()
1598 struct mlist ml, *mlp; in mget()
1894 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()
/freebsd-14.2/contrib/blocklist/bin/
H A Dblacklistd.c357 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) in uniqueadd() argument
367 if (*nlist == *mlist) { in uniqueadd()
368 *mlist += 10; in uniqueadd()
369 void *p = realloc(*listp, *mlist * sizeof(*list)); in uniqueadd()
381 size_t nlist, mlist; in rules_flush() local
384 mlist = nlist = 0; in rules_flush()
386 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush()
388 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush()
/freebsd-14.2/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctftools.h166 typedef struct mlist { struct
171 struct mlist *ml_next; /* Next member */ argument
/freebsd-14.2/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)
/freebsd-14.2/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()
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_match.c591 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-14.2/contrib/file/
H A DChangeLog701 * fix memory leak (not freeing the head of each mlist)