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

/freebsd-10-stable/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.c751 lvp->text = ckmalloc(sizeof optlist);
752 memcpy(lvp->text, optlist, sizeof optlist);
794 memcpy(optlist, lvp->text, sizeof optlist);
H A Dexpand.c898 if (optlist[i].val)
899 STPUTC(optlist[i].letter, expdest);
/freebsd-10-stable/bin/stty/
H A Dextern.h41 void optlist(void);
/freebsd-10-stable/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-stable/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-stable/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-stable/sys/kern/
H A Dvfs_mount.c74 uint64_t fsflags, struct vfsoptlist **optlist);
567 struct vfsoptlist *optlist; local
578 error = vfs_buildopts(fsoptions, &optlist);
582 if (vfs_getopt(optlist, "errmsg", (void **)&errmsg, &errmsg_len) == 0)
583 errmsg_pos = vfs_getopt_pos(optlist, "errmsg");
591 error = vfs_getopt(optlist, "fstype", (void **)&fstype, &fstypelen);
599 error = vfs_getopt(optlist, "fspath", (void **)&fspath, &fspathlen);
613 TAILQ_FOREACH_SAFE(opt, optlist, link, tmp_opt) {
616 vfs_freeopt(optlist, opt);
622 vfs_freeopt(optlist, op
[all...]
/freebsd-10-stable/sys/arm/arm/
H A Dcpufunc.c1269 parse_cpu_options(args, optlist, cpuctrl)
1271 struct cpu_option *optlist;
1279 while (optlist->co_name) {
1280 if (get_bootconf_option(args, optlist->co_name,
1283 if (optlist->co_trueop == OR)
1284 cpuctrl |= optlist->co_value;
1285 else if (optlist->co_trueop == BIC)
1286 cpuctrl &= ~optlist->co_value;
1288 if (optlist->co_falseop == OR)
1289 cpuctrl |= optlist
[all...]
/freebsd-10-stable/contrib/traceroute/
H A Dtraceroute.c761 register u_char *optlist; local
763 optlist = outp;
772 optlist[0] = IPOPT_NOP;
774 optlist[1] = IPOPT_LSRR;
776 optlist[2] = i + 3;
778 optlist[3] = IPOPT_MINOFF;
779 memcpy(optlist + 4, gwlist + 1, i);
819 u_char optlist[MAX_IPOPTLEN]; local
832 optlist[0] = IPOPT_NOP;
834 optlist[
[all...]
/freebsd-10-stable/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-stable/sbin/ifconfig/
H A Difmedia.c606 char *optlist, *optptr; local
610 optlist = strdup(val);
611 if (optlist == NULL)
626 optptr = optlist;
638 free(optlist);
/freebsd-10-stable/bin/ps/
H A Dps.c1312 kludge_oldps_options(const char *optlist, char *origval, const char *nextarg) argument
1322 if (optlist != NULL) {
1324 optp = strchr(optlist, *cp);
/freebsd-10-stable/contrib/ipfilter/tools/
H A Dipf_y.y109 %type <num> opt compare range opttype flagset optlist ipv6hdrlist ipv6hdr
1495 ipopts: optlist { DOALL(fr->fr_mip.fi_optmsk |= $1;
1508 optlist: label
1510 | optlist ',' opt { $$ |= $1 | $3; }
/freebsd-10-stable/sys/contrib/ipfilter/netinet/
H A Dfil.c235 static const struct optlist ipopts[] = {
259 static const struct optlist ip6exthdr[] = {
276 static const struct optlist secopt[] = {
1703 const struct optlist *op;
1901 const struct optlist *sp;
H A Dip_fil.h1137 typedef struct optlist { struct

Completed in 180 milliseconds