Home
last modified time | relevance | path

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

/freebsd-13-stable/contrib/less/
HDcmdbuf.c69 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;
615 public void set_mlist(void *mlist, int cmdflags) in set_mlist() argument
618 curr_mlist = (struct mlist *) mlist; in set_mlist()
[all …]
HDfuncs.h88 public void set_mlist(void *mlist, int cmdflags);
91 public void cmd_addhist(struct mlist *mlist, constant char *cmd, lbool modified);
HDless.h650 struct mlist;
HDcommand.c137 static void start_mca(int action, constant char *prompt, void *mlist, int cmdflags) in start_mca() argument
141 set_mlist(mlist, cmdflags); in start_mca()
/freebsd-13-stable/contrib/file/src/
HDapprentice.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 …]
HDfile.h432 struct mlist { struct
437 struct mlist *next, *prev; argument
467 struct mlist *mlist[MAGIC_SETS]; /* list of regular entries */ member
586 struct mlist *);
HDsoftmagic.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()
HDfuncs.c517 if (checkloaded && ms->mlist[0] == NULL) { in file_reset()
/freebsd-13-stable/contrib/blacklist/bin/
HDblacklistd.c362 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) in uniqueadd() argument
372 if (*nlist == *mlist) { in uniqueadd()
373 *mlist += 10; in uniqueadd()
374 void *p = realloc(*listp, *mlist * sizeof(*list)); in uniqueadd()
386 size_t nlist, mlist; in rules_flush() local
389 mlist = nlist = 0; in rules_flush()
391 uniqueadd(&list, &nlist, &mlist, &rconf.cs_c[i]); in rules_flush()
393 uniqueadd(&list, &nlist, &mlist, &lconf.cs_c[i]); in rules_flush()
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
HDctftools.h166 typedef struct mlist { struct
171 struct mlist *ml_next; /* Next member */ argument
/freebsd-13-stable/contrib/sendmail/src/
HDparseaddr.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-13-stable/contrib/ntp/libntp/
HDntp_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-13-stable/contrib/libarchive/libarchive/
HDarchive_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-13-stable/contrib/file/
HDChangeLog733 * fix memory leak (not freeing the head of each mlist)