Home
last modified time | relevance | path

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

/freebsd/contrib/less/
H A Dcmdbuf.c67 * A mlist structure represents a command history.
69 struct mlist struct
71 struct mlist *next; argument
72 struct mlist *prev; argument
73 struct mlist *curr_mp; argument
81 struct mlist mlist_search = argument
85 struct mlist mlist_examine =
90 struct mlist mlist_shell =
109 static struct mlist *curr_mlist = NULL;
613 * Select an mlist structur
615 set_mlist(void * mlist,int cmdflags) set_mlist() argument
695 ml_link(struct mlist * mlist,struct mlist * ml) ml_link() argument
715 cmd_addhist(struct mlist * mlist,constant char * cmd,int modified) cmd_addhist() argument
1405 read_cmdhist2(void (* action)(void *,struct mlist *,char *),void * uparam,int skip_search,int skip_shell) read_cmdhist2() argument
1470 read_cmdhist(void (* action)(void *,struct mlist *,char *),void * uparam,int skip_search,int skip_shell) read_cmdhist() argument
1541 struct mlist *mlist; global() member
[all...]
H A Dfuncs.h88 public void set_mlist(void *mlist, int cmdflags);
91 public void cmd_addhist(struct mlist *mlist, constant char *cmd, lbool modified);
H A Dless.h650 struct mlist;
H A Dcommand.c137 static void start_mca(int action, constant char *prompt, void *mlist, int cmdflags)
141 set_mlist(mlist, cmdflags); in start_mca()
139 start_mca(int action,constant char * prompt,void * mlist,int cmdflags) start_mca() argument
/freebsd/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()
/freebsd/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/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctftools.h166 typedef struct mlist { struct
171 struct mlist *ml_next; /* Next member */ argument
/freebsd/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/contrib/ntp/libntp/
H A Dntp_calendar.c296 static const char mlist[] = "JanFebMarAprMayJunJulAugSepOctNovDec"; in ntpcal_get_build_date()
327 cp = strstr(mlist, monstr); in ntpcal_get_build_date()
330 jd->month = (uint8_t)((cp - mlist) / 3 + 1); in ntpcal_get_build_date()
297 static const char mlist[] = "JanFebMarAprMayJunJulAugSepOctNovDec"; ntpcal_get_build_date() local
/freebsd/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/contrib/file/
H A DChangeLog733 * fix memory leak (not freeing the head of each mlist)