Home
last modified time | relevance | path

Searched refs:optlist (Results 1 – 25 of 31) sorted by relevance

12

/netbsd-src/lib/libutil/
H A Dif_media.c145 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 Doptions.c60 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 Doptions.h101 extern OPTLIST const optlist[];
H A Dapi.c423 offset = op - optlist; in api_opts_get()
/netbsd-src/usr.bin/patch/
H A Dbackupfile.c184 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 Dtraceroute.c667 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 Dns32k-dis.c218 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 DChangeLog-92972977 (optlist, list_search): Made appropriate arguments now point to
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dns32k-dis.c218 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 Darm-common.cc184 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 Darm-common.c177 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 Dextern.h45 void optlist(void);
/netbsd-src/external/bsd/ipf/dist/
H A DBNF50 ipopts = optlist | "sec-class" [ secname ] .
62 optlist = "nop" | "rr" | "zsu" | "mtup" | "mtur" | "encode" | "ts" | "tr" |
/netbsd-src/external/bsd/ipf/dist/tools/
H A DBNF.ipf49 ipopts = optlist | "sec-class" [ secname ] .
61 optlist = "nop" | "rr" | "zsu" | "mtup" | "mtur" | "encode" | "ts" | "tr" |
H A Dipf_y.y110 %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 Dcpufunc.c2376 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 Dmdoc2man.awk28 optlist=0
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-ns32k.c801 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 Dtc-ns32k.c801 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 Dip_term.c111 opt = optlist + offset; in ip_optchange()
/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dfil.c222 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 Dip_fil.h1148 typedef struct optlist { struct
/netbsd-src/external/lgpl3/gmp/dist/
H A Dconfigure.ac401 # 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 Dconfigure7336 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 DChangeLog-92972977 (optlist, list_search): Made appropriate arguments now point to

12