/freebsd/contrib/nvi/common/ |
H A D | options.c | 48 OPTLIST const optlist[] = { variable 420 for (op = optlist, cnt = 0; op->name != NULL; ++op, ++cnt) { in opts_init() 450 OI(*oargs, optlist[*oargs].name); in opts_init() 454 err: msgq_wstr(sp, M_ERR, optlist[optindx].name, in opts_init() 527 offset = op - optlist; in opts_set() 803 msgq_wstr(sp, M_ERR, optlist[off].name, in opts_empty() 849 for (b_num = s_num = 0, op = optlist; op->name != NULL; ++op) { in opts_dump() 850 cnt = op - optlist; in opts_dump() 925 cnt = opts_print(sp, &optlist[s_op[base]]); in opts_dump() 937 (void)opts_print(sp, &optlist[b_op[row]]); in opts_dump() [all …]
|
H A D | options.h | 98 extern OPTLIST const optlist[];
|
/freebsd/usr.bin/patch/ |
H A D | backupfile.c | 174 argmatch(const char *arg, const char **optlist) in argmatch() argument 184 for (i = 0; optlist[i]; i++) { in argmatch() 185 if (!strncmp(optlist[i], arg, arglen)) { in argmatch() 186 if (strlen(optlist[i]) == arglen) in argmatch()
|
/freebsd/sys/kern/ |
H A D | vfs_mount.c | 79 struct vfsoptlist **optlist); 803 struct vfsoptlist *optlist; in vfs_donmount() local 814 error = vfs_buildopts(fsoptions, &optlist); in vfs_donmount() 818 if (vfs_getopt(optlist, "errmsg", (void **)&errmsg, &errmsg_len) == 0) in vfs_donmount() 819 errmsg_pos = vfs_getopt_pos(optlist, "errmsg"); in vfs_donmount() 827 error = vfs_getopt(optlist, "fstype", (void **)&fstype, &fstypelen); in vfs_donmount() 835 error = vfs_getopt(optlist, "fspath", (void **)&fspath, &fspathlen); in vfs_donmount() 863 TAILQ_FOREACH_SAFE(opt, optlist, link, tmp_opt) { in vfs_donmount() 976 vfs_freeopt(optlist, opt); in vfs_donmount() 997 error = vfs_domount(td, fstype, fspath, fsflags, jail_export, &optlist); in vfs_donmount() [all …]
|
/freebsd/sbin/etherswitchcfg/ |
H A D | ifmedia.c | 528 char *optlist, *optptr; in get_media_options() local 532 optlist = strdup(val); in get_media_options() 533 if (optlist == NULL) in get_media_options() 548 optptr = optlist; in get_media_options() 560 free(optlist); in get_media_options()
|
/freebsd/bin/stty/ |
H A D | extern.h | 38 void optlist(void);
|
/freebsd/crypto/openssh/ |
H A D | mdoc2man.awk | 26 optlist=0
|
/freebsd/share/examples/ipfilter/ |
H A D | BNF | 50 ipopts = optlist | "sec-class" [ secname ] . 62 optlist = "nop" | "rr" | "zsu" | "mtup" | "mtur" | "encode" | "ts" | "tr" |
|
/freebsd/usr.sbin/traceroute/ |
H A D | traceroute.c | 768 register u_char *optlist; in main() local 770 optlist = outp; in main() 779 optlist[0] = IPOPT_NOP; in main() 781 optlist[1] = IPOPT_LSRR; in main() 783 optlist[2] = i + 3; in main() 785 optlist[3] = IPOPT_MINOFF; in main() 786 memcpy(optlist + 4, gwlist + 1, i); in main()
|
/freebsd/bin/ps/ |
H A D | ps.c | 1350 kludge_oldps_options(const char *optlist, char *origval, const char *nextarg) in kludge_oldps_options() argument 1360 if (optlist != NULL) { in kludge_oldps_options() 1362 optp = strchr(optlist, *cp); in kludge_oldps_options()
|
/freebsd/sbin/ipf/common/ |
H A D | ipf_y.y | 108 %type <num> opt compare range opttype flagset optlist ipv6hdrlist ipv6hdr 1494 ipopts: optlist { DOALL(fr->fr_mip.fi_optmsk |= $1; 1507 optlist: 1509 | optlist ',' opt { $$ |= $1 | $3; }
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | fil.c | 187 static const struct optlist ipopts[] = { 211 static const struct optlist ip6exthdr[] = { 228 static const struct optlist secopt[] = { 1653 const struct optlist *op; in ipf_pr_ipv4hdr() 1857 const struct optlist *sp; in ipf_checkripso()
|
H A D | ip_fil.h | 1086 typedef struct optlist { struct 1089 ol_bitoptlist global() argument
|
/freebsd/contrib/unbound/doc/ |
H A D | Changelog | 5964 - Fix libubound for edns optlist feature.
|