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

/freebsd-10.0-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.c740 lvp->text = ckmalloc(sizeof optlist);
741 memcpy(lvp->text, optlist, sizeof optlist);
782 memcpy(optlist, lvp->text, sizeof optlist);
H A Dexpand.c921 if (optlist[i].val)
922 STPUTC(optlist[i].letter, expdest);
/freebsd-10.0-release/bin/stty/
H A Dextern.h41 void optlist(void);
/freebsd-10.0-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-10.0-release/usr.bin/patch/
H A Dbackupfile.c176 argmatch(const char *arg, const char **optlist) argument
186 for (i = 0; optlist[i]; i++) {
187 if (!strncmp(optlist[i], arg, arglen)) {
188 if (strlen(optlist[i]) == arglen)
/freebsd-10.0-release/contrib/nvi/common/
H A Doptions.c51 OPTLIST const optlist[] = { variable
420 for (op = optlist, cnt = 0; op->name != NULL; ++op, ++cnt) {
450 OI(*oargs, optlist[*oargs].name);
454 err: msgq_wstr(sp, M_ERR, optlist[optindx].name,
530 offset = op - optlist;
813 msgq_wstr(sp, M_ERR, optlist[off].name,
861 for (b_num = s_num = 0, op = optlist; op->name != NULL; ++op) {
862 cnt = op - optlist;
937 cnt = opts_print(sp, &optlist[s_op[base]]);
949 (void)opts_print(sp, &optlist[b_o
[all...]
H A Doptions.h100 extern OPTLIST const optlist[];
/freebsd-10.0-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-10.0-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-10.0-release/sbin/etherswitchcfg/
H A Difmedia.c589 char *optlist, *optptr; local
593 optlist = strdup(val);
594 if (optlist == NULL)
609 optptr = optlist;
621 free(optlist);
/freebsd-10.0-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-10.0-release/sys/arm/arm/
H A Dcpufunc.c2058 parse_cpu_options(args, optlist, cpuctrl)
2060 struct cpu_option *optlist;
2068 while (optlist->co_name) {
2069 if (get_bootconf_option(args, optlist->co_name,
2072 if (optlist->co_trueop == OR)
2073 cpuctrl |= optlist->co_value;
2074 else if (optlist->co_trueop == BIC)
2075 cpuctrl &= ~optlist->co_value;
2077 if (optlist->co_falseop == OR)
2078 cpuctrl |= optlist
[all...]
/freebsd-10.0-release/bin/ps/
H A Dps.c1269 kludge_oldps_options(const char *optlist, char *origval, const char *nextarg) argument
1279 if (optlist != NULL) {
1281 optp = strchr(optlist, *cp);
/freebsd-10.0-release/contrib/ipfilter/tools/
H A Dipf_y.y108 %type <num> opt compare range opttype flagset optlist ipv6hdrlist ipv6hdr
1484 ipopts: optlist { DOALL(fr->fr_mip.fi_optmsk |= $1;
1497 optlist: label
1499 | optlist ',' opt { $$ |= $1 | $3; }
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/
H A Dfil.c231 static const struct optlist ipopts[20] = {
255 static struct optlist ip6exthdr[] = {
272 static const struct optlist secopt[8] = {
1698 const struct optlist *op;
1896 const struct optlist *sp;
H A Dip_fil.h1149 typedef struct optlist { struct

Completed in 293 milliseconds