Searched refs:optlist (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/bin/sh/
H A Doptions.h47 #define eflag optlist[0].val
48 #define fflag optlist[1].val
49 #define Iflag optlist[2].val
50 #define iflag optlist[3].val
51 #define mflag optlist[4].val
52 #define nflag optlist[5].val
53 #define sflag optlist[6].val
54 #define xflag optlist[7].val
55 #define vflag optlist[8].val
56 #define Vflag optlist[
76 struct optent optlist[NOPTS] = { variable in typeref:struct:optent
[all...]
H A Doptions.c93 optlist[i].val = 2;
106 if (optlist[i].val == 2)
107 optlist[i].val = 0;
258 out1fmt("%-16s%s\n", optlist[i].name,
259 optlist[i].val ? "on" : "off");
265 optlist[i].val ? '-' : '+',
266 optlist[i].name,
271 if (equal(name, optlist[i].name)) {
272 setoption(optlist[i].letter, val);
292 if (optlist[
[all...]
H A Dvar.c770 lvp->text = ckmalloc(sizeof optlist);
771 memcpy(lvp->text, optlist, sizeof optlist);
813 memcpy(optlist, lvp->text, sizeof optlist);
H A Dexpand.c934 if (optlist[i].val)
935 STPUTC(optlist[i].letter, expdest);
/freebsd-9.3-release/contrib/cvs/lib/
H A Dargmatch.c35 argmatch (arg, optlist)
37 char **optlist;
47 for (i = 0; optlist[i]; i++)
49 if (!strncmp (optlist[i], arg, arglen))
51 if (strlen (optlist[i]) == arglen)
/freebsd-9.3-release/bin/stty/
H A Dextern.h41 void optlist(void);
/freebsd-9.3-release/crypto/openssh/
H A Dmdoc2man.awk28 optlist=0
309 oldoptlist=optlist
311 optlist=1
313 optlist=2
316 optlist=3
318 optlist=4
320 optlist=1
323 optlist=oldoptlist
331 } else if(match(words[w],"^It$")&&optlist) {
332 if(optlist
[all...]
/freebsd-9.3-release/contrib/nvi/common/
H A Doptions.c46 OPTLIST const optlist[] = { variable
407 for (op = optlist, cnt = 0; op->name != NULL; ++op, ++cnt)
434 OI(*oargs, optlist[*oargs].name);
439 "031|Unable to set default %s option", optlist[optindx].name);
511 offset = op - optlist;
775 msgq_str(sp, M_ERR, optlist[off].name,
823 for (b_num = s_num = 0, op = optlist; op->name != NULL; ++op) {
824 cnt = op - optlist;
899 cnt = opts_print(sp, &optlist[s_op[base]]);
911 (void)opts_print(sp, &optlist[b_o
[all...]
H A Doptions.h99 extern OPTLIST const optlist[];
H A Dapi.c432 offset = op - optlist;
/freebsd-9.3-release/gnu/usr.bin/patch/
H A Dbackupfile.c267 argmatch(char *arg, const char **optlist) argument
277 for (i = 0; optlist[i]; i++)
279 if (!strncmp (optlist[i], arg, arglen))
281 if (strlen (optlist[i]) == arglen)
/freebsd-9.3-release/sys/kern/
H A Dvfs_mount.c74 uint64_t fsflags, struct vfsoptlist **optlist);
536 struct vfsoptlist *optlist; local
545 error = vfs_buildopts(fsoptions, &optlist);
549 if (vfs_getopt(optlist, "errmsg", (void **)&errmsg, &errmsg_len) == 0)
550 errmsg_pos = vfs_getopt_pos(optlist, "errmsg");
558 error = vfs_getopt(optlist, "fstype", (void **)&fstype, &fstypelen);
566 error = vfs_getopt(optlist, "fspath", (void **)&fspath, &fspathlen);
580 TAILQ_FOREACH_SAFE(opt, optlist, link, tmp_opt) {
583 vfs_freeopt(optlist, opt);
589 vfs_freeopt(optlist, op
[all...]
/freebsd-9.3-release/contrib/traceroute/
H A Dtraceroute.c729 register u_char *optlist; local
731 optlist = outp;
740 optlist[0] = IPOPT_NOP;
742 optlist[1] = IPOPT_LSRR;
744 optlist[2] = i + 3;
746 optlist[3] = IPOPT_MINOFF;
747 memcpy(optlist + 4, gwlist + 1, i);
787 u_char optlist[MAX_IPOPTLEN]; local
800 optlist[0] = IPOPT_NOP;
802 optlist[
[all...]
/freebsd-9.3-release/sys/arm/arm/
H A Dcpufunc.c1648 parse_cpu_options(args, optlist, cpuctrl)
1650 struct cpu_option *optlist;
1658 while (optlist->co_name) {
1659 if (get_bootconf_option(args, optlist->co_name,
1662 if (optlist->co_trueop == OR)
1663 cpuctrl |= optlist->co_value;
1664 else if (optlist->co_trueop == BIC)
1665 cpuctrl &= ~optlist->co_value;
1667 if (optlist->co_falseop == OR)
1668 cpuctrl |= optlist
[all...]
/freebsd-9.3-release/sbin/ifconfig/
H A Difmedia.c586 char *optlist, *optptr; local
590 optlist = strdup(val);
591 if (optlist == NULL)
606 optptr = optlist;
618 free(optlist);
/freebsd-9.3-release/contrib/nvi/tk/
H A Dtk_util.c118 for (op = optlist, off = 0; op->name != NULL; ++op, ++off) {
/freebsd-9.3-release/bin/ps/
H A Dps.c1307 kludge_oldps_options(const char *optlist, char *origval, const char *nextarg) argument
1317 if (optlist != NULL) {
1319 optp = strchr(optlist, *cp);
/freebsd-9.3-release/contrib/ipfilter/tools/
H A Dipf_y.y95 %type <num> opt compare range opttype flagset optlist ipv6hdrlist ipv6hdr
1227 ipopts: optlist { DOALL(fr->fr_mip.fi_optmsk |= $1;
1233 optlist: label
1235 | optlist ',' opt { $$ |= $1 | $3; }
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dfil.c268 const struct optlist ipopts[20] = {
292 struct optlist ip6exthdr[] = {
306 struct optlist tcpopts[] = {
319 const struct optlist secopt[8] = {
1419 const struct optlist *op;
1551 const struct optlist *sp;
H A Dip_fil.h909 typedef struct optlist { struct

Completed in 171 milliseconds