| /netbsd-src/lib/libutil/ |
| H A D | if_media.c | 145 char *optlist, *str; in get_media_options() local 149 optlist = strdup(val); in get_media_options() 150 if (optlist == NULL) { in get_media_options() 155 str = optlist; in get_media_options() 171 if (str != optlist) in get_media_options() 172 memmove(optlist, str, strlen(str) + 1); in get_media_options() 174 *invalid = optlist; in get_media_options() 178 free(optlist); in get_media_options()
|
| /netbsd-src/external/bsd/nvi/dist/common/ |
| H A D | options.c | 60 OPTLIST const optlist[] = { variable 342 if (sizeof optlist / sizeof optlist[0] - 1 != O_OPTIONCOUNT) { in opts_init() 344 (int)(sizeof optlist / sizeof optlist[0] - 1), in opts_init() 459 for (op = optlist, cnt = 0; op->name != NULL; ++op, ++cnt) in opts_init() 486 OI(*oargs, optlist[*oargs].name); in opts_init() 493 for (op = optlist, cnt = 0; op->name != NULL; ++op, ++cnt) { in opts_init() 499 err: msgq_wstr(sp, M_ERR, optlist[optindx].name, in opts_init() 572 offset = op - optlist; in opts_set() 848 msgq_wstr(sp, M_ERR, optlist[off].name, in opts_empty() 894 for (b_num = s_num = 0, op = optlist; op->name != NULL; ++op) { in opts_dump() [all …]
|
| H A D | options.h | 101 extern OPTLIST const optlist[];
|
| H A D | api.c | 423 offset = op - optlist; in api_opts_get()
|
| /netbsd-src/usr.bin/patch/ |
| H A D | backupfile.c | 184 argmatch(const char *arg, const char **optlist) in argmatch() argument 194 for (i = 0; optlist[i]; i++) { in argmatch() 195 if (!strncmp(optlist[i], arg, arglen)) { in argmatch() 196 if (strlen(optlist[i]) == arglen) in argmatch()
|
| /netbsd-src/usr.sbin/traceroute/ |
| H A D | traceroute.c | 667 u_char *optlist; in main() local 669 optlist = outp; in main() 678 optlist[0] = IPOPT_NOP; in main() 680 optlist[1] = IPOPT_LSRR; in main() 682 optlist[2] = i + 3; in main() 684 optlist[3] = IPOPT_MINOFF; in main() 685 memcpy(optlist + 4, gwlist + 1, i); in main() 781 u_char optlist[MAX_IPOPTLEN]; in main() local 788 optlist[0] = IPOPT_NOP; in main() 790 optlist[1] = IPOPT_LSRR; in main() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/opcodes/ |
| H A D | ns32k-dis.c | 218 optlist (int options, const struct ns32k_option * optionP, char * result) in optlist() function 680 optlist (Ivalue, opt_u, result); in print_insn_arg() 685 optlist (Ivalue, opt_U, result); in print_insn_arg() 690 optlist (Ivalue, opt_O, result); in print_insn_arg() 695 optlist (Ivalue, opt_C, result); in print_insn_arg() 700 optlist (Ivalue, opt_S, result); in print_insn_arg()
|
| H A D | ChangeLog-9297 | 2977 (optlist, list_search): Made appropriate arguments now point to
|
| /netbsd-src/external/gpl3/binutils/dist/opcodes/ |
| H A D | ns32k-dis.c | 218 optlist (int options, const struct ns32k_option * optionP, char * result) in optlist() function 681 optlist (Ivalue, opt_u, result); in print_insn_arg() 686 optlist (Ivalue, opt_U, result); in print_insn_arg() 691 optlist (Ivalue, opt_O, result); in print_insn_arg() 696 optlist (Ivalue, opt_C, result); in print_insn_arg() 701 optlist (Ivalue, opt_S, result); in print_insn_arg()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/common/config/arm/ |
| H A D | arm-common.cc | 184 std::vector<const char *>optlist; in arm_rewrite_selected_arch() local 202 optlist.push_back (entry->name); in arm_rewrite_selected_arch() 211 std::sort (optlist.begin (), optlist.end (), compare_opt_names); in arm_rewrite_selected_arch() 213 for (std::vector<const char *>::iterator opt_iter = optlist.begin (); in arm_rewrite_selected_arch() 214 opt_iter != optlist.end (); in arm_rewrite_selected_arch()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/common/config/arm/ |
| H A D | arm-common.c | 177 std::vector<const char *>optlist; in arm_rewrite_selected_arch() local 195 optlist.push_back (entry->name); in arm_rewrite_selected_arch() 204 std::sort (optlist.begin (), optlist.end (), compare_opt_names); in arm_rewrite_selected_arch() 206 for (std::vector<const char *>::iterator opt_iter = optlist.begin (); in arm_rewrite_selected_arch() 207 opt_iter != optlist.end (); in arm_rewrite_selected_arch()
|
| /netbsd-src/bin/stty/ |
| H A D | extern.h | 45 void optlist(void);
|
| /netbsd-src/external/bsd/ipf/dist/ |
| H A D | BNF | 50 ipopts = optlist | "sec-class" [ secname ] . 62 optlist = "nop" | "rr" | "zsu" | "mtup" | "mtur" | "encode" | "ts" | "tr" |
|
| /netbsd-src/external/bsd/ipf/dist/tools/ |
| H A D | BNF.ipf | 49 ipopts = optlist | "sec-class" [ secname ] . 61 optlist = "nop" | "rr" | "zsu" | "mtup" | "mtur" | "encode" | "ts" | "tr" |
|
| H A D | ipf_y.y | 110 %type <num> opt compare range opttype flagset optlist ipv6hdrlist ipv6hdr 1496 ipopts: optlist { DOALL(fr->fr_mip.fi_optmsk |= $1; 1509 optlist: 1511 | optlist ',' opt { $$ |= $1 | $3; }
|
| /netbsd-src/sys/arch/arm/arm/ |
| H A D | cpufunc.c | 2376 parse_cpu_options(char *args, struct cpu_option *optlist, u_int cpuctrl) in parse_cpu_options() argument 2383 while (optlist->co_name) { in parse_cpu_options() 2384 if (get_bootconf_option(args, optlist->co_name, in parse_cpu_options() 2387 if (optlist->co_trueop == OR) in parse_cpu_options() 2388 cpuctrl |= optlist->co_value; in parse_cpu_options() 2389 else if (optlist->co_trueop == BIC) in parse_cpu_options() 2390 cpuctrl &= ~optlist->co_value; in parse_cpu_options() 2392 if (optlist->co_falseop == OR) in parse_cpu_options() 2393 cpuctrl |= optlist->co_value; in parse_cpu_options() 2394 else if (optlist->co_falseop == BIC) in parse_cpu_options() [all …]
|
| /netbsd-src/external/bsd/tmux/dist/ |
| H A D | mdoc2man.awk | 28 optlist=0
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/config/ |
| H A D | tc-ns32k.c | 801 optlist (char *str, /* The string to extract options from. */ in optlist() function 1015 optlist (argv[i], opt3, &tmp); in encode_operand() 1020 optlist (argv[i], opt4, &tmp); in encode_operand() 1025 optlist (argv[i], opt5, &tmp); in encode_operand() 1035 optlist (argv[i], opt1, &iif.iifP[10].object); in encode_operand() 1038 optlist (argv[i], opt2, &iif.iifP[10].object); in encode_operand()
|
| /netbsd-src/external/gpl3/binutils/dist/gas/config/ |
| H A D | tc-ns32k.c | 801 optlist (char *str, /* The string to extract options from. */ in optlist() function 1015 optlist (argv[i], opt3, &tmp); in encode_operand() 1020 optlist (argv[i], opt4, &tmp); in encode_operand() 1025 optlist (argv[i], opt5, &tmp); in encode_operand() 1035 optlist (argv[i], opt1, &iif.iifP[10].object); in encode_operand() 1038 optlist (argv[i], opt2, &iif.iifP[10].object); in encode_operand()
|
| /netbsd-src/external/bsd/nvi/dist/ip/ |
| H A D | ip_term.c | 111 opt = optlist + offset; in ip_optchange()
|
| /netbsd-src/sys/external/bsd/ipf/netinet/ |
| H A D | fil.c | 222 static const struct optlist ipopts[20] = { 246 static const struct optlist ip6exthdr[] = { 263 static const struct optlist secopt[8] = { 1688 const struct optlist *op; in ipf_pr_ipv4hdr() 1892 const struct optlist *sp; in ipf_checkripso()
|
| H A D | ip_fil.h | 1148 typedef struct optlist { struct
|
| /netbsd-src/external/lgpl3/gmp/dist/ |
| H A D | configure.ac | 401 # tried, and the first flag that works will be used. An optlist like "arch 1463 # be done through the optlist since the plain cflags would be run first 2329 eval optlist=\"\$${ccbase}${abi1}_cflags_optlist\" 2330 test -n "$optlist" || eval optlist=\"\$${ccbase}${abi2}_cflags_optlist\" 2332 for opt in $optlist; do
|
| H A D | configure | 7336 eval optlist=\"\$${ccbase}${abi1}_cflags_optlist\" 7337 test -n "$optlist" || eval optlist=\"\$${ccbase}${abi2}_cflags_optlist\" 7339 for opt in $optlist; do
|
| /netbsd-src/external/gpl3/gdb.old/dist/opcodes/ |
| H A D | ChangeLog-9297 | 2977 (optlist, list_search): Made appropriate arguments now point to
|