Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/less/
H A Dcmdbuf.c65 struct mlist struct
67 struct mlist *next; argument
68 struct mlist *prev; argument
642 void *mlist; in set_mlist()
646 curr_mlist = (struct mlist *) mlist;
666 struct mlist *ml;
726 struct mlist *mlist; in cmd_addhist()
731 struct mlist *ml;
743 ml = mlist->prev;
750 ml = (struct mlist *) ecalloc(1, sizeof(struct mlist));
[all …]
H A Dfuncs.h75 public void set_mlist LESSPARAMS ((void *mlist, int cmdflags));
76 public void cmd_addhist LESSPARAMS ((struct mlist *mlist, constant char *cmd, int modified));
H A Dcommand.c108 start_mca(action, prompt, mlist, cmdflags) in start_mca() argument
111 void *mlist;
118 set_mlist(mlist, cmdflags);
H A Dless.h534 struct mlist;
/freebsd-12.1/contrib/file/src/
H A Dapprentice.c409 struct mlist *ml; in add_mlist()
576 struct mlist *mlist; in mlist_alloc() local
577 if ((mlist = CAST(struct mlist *, calloc(1, sizeof(*mlist)))) == NULL) { in mlist_alloc()
580 mlist->next = mlist->prev = mlist; in mlist_alloc()
581 return mlist; in mlist_alloc()
585 mlist_free(struct mlist *mlist) in mlist_free() argument
999 apprentice_list(struct mlist *mlist, int mode) in apprentice_list() argument
1003 for (ml = mlist->next; ml != mlist; ml = ml->next) { in apprentice_list()
3423 struct mlist *mlist, *ml; in file_magicfind() local
3425 mlist = ms->mlist[1]; in file_magicfind()
[all …]
H A Dfile.h369 struct mlist { struct
373 struct mlist *next, *prev; argument
398 struct mlist *mlist[MAGIC_SETS]; /* list of regular entries */ member
482 protected int file_magicfind(struct magic_set *, const char *, struct mlist *);
H A Dsoftmagic.c98 struct mlist *ml; in file_softmagic()
111 for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next) in file_softmagic()
1471 struct mlist ml; in mget()
H A Dfuncs.c347 if (checkloaded && ms->mlist[0] == NULL) { in file_reset()
/freebsd-12.1/contrib/amd/amd/
H A Damfs_host.c289 already_mounted(mntlist *mlist, char *dir) in already_mounted() argument
293 for (ml = mlist; ml; ml = ml->mnext) in already_mounted()
316 mntlist *mlist; in amfs_host_mount() local
333 mlist = read_mtab(mf->mf_mount, mnttab_file_name); in amfs_host_mount()
425 if (already_mounted(mlist, mntpt)) in amfs_host_mount()
498 discard_mntlist(mlist); in amfs_host_mount()
545 mntlist *mlist = read_mtab(mf->mf_mount, mnttab_file_name); in amfs_host_umount() local
557 ml = mlist; in amfs_host_umount()
565 mlist = mprev; in amfs_host_umount()
570 for (ml = mlist; ml && !xerror; ml = ml->mnext) { in amfs_host_umount()
[all …]
/freebsd-12.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-12.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctftools.h160 typedef struct mlist { struct
165 struct mlist *ml_next; /* Next member */ argument
/freebsd-12.1/contrib/gdb/gdb/
H A Dobjc-lang.c1795 CORE_ADDR mlist; in find_implementation_from_class() local
1799 mlist = read_memory_unsigned_integer (class_str.methods + in find_implementation_from_class()
1801 if (mlist == 0) in find_implementation_from_class()
1804 nmethods = read_objc_methlist_nmethods (mlist); in find_implementation_from_class()
1809 read_objc_methlist_method (mlist, i, &meth_str); in find_implementation_from_class()
/freebsd-12.1/sys/dev/wi/
H A Dif_wi.c1514 struct wi_mcast mlist; in wi_write_multi() local
1519 memset(&mlist, 0, sizeof(mlist)); in wi_write_multi()
1520 return wi_write_rid(sc, WI_RID_MCAST_LIST, &mlist, in wi_write_multi()
1521 sizeof(mlist)); in wi_write_multi()
1536 IEEE80211_ADDR_COPY(&mlist.wi_mcast[n], in wi_write_multi()
1542 return wi_write_rid(sc, WI_RID_MCAST_LIST, &mlist, in wi_write_multi()
/freebsd-12.1/contrib/sendmail/src/
H A Dparseaddr.c1029 struct match mlist[MAXMATCH]; /* stores match on LHS */ local
1102 mlp = mlist;
1247 while (--mlp >= mlist)
1286 if (mlp < mlist)
1297 if (mlp < mlist || *rvp != NULL)
1341 m = &mlist[rp[1] - '1'];
1342 if (m < mlist || m >= mlp)
/freebsd-12.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-12.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-12.1/contrib/file/
H A DChangeLog325 * fix memory leak (not freeing the head of each mlist)