Home
last modified time | relevance | path

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

/openbsd-src/gnu/usr.bin/cvs/lib/
H A Dargmatch.c35 argmatch (arg, optlist) in argmatch() argument
37 char **optlist;
47 for (i = 0; optlist[i]; i++)
49 if (!strncmp (optlist[i], arg, arglen))
51 if (strlen (optlist[i]) == arglen)
/openbsd-src/usr.bin/vi/common/
H A Doptions.c45 OPTLIST const optlist[] = { variable
361 for (op = optlist, optindx = 0; op->name != NULL; ++op, ++optindx) in opts_init()
388 OI(*oargs, optlist[*oargs].name); in opts_init()
394 "Unable to set default %s option", optlist[optindx].name); in opts_init()
463 offset = op - optlist; in opts_set()
743 msgq_str(sp, M_ERR, optlist[off].name, in opts_empty()
789 for (b_num = s_num = 0, op = optlist; op->name != NULL; ++op) { in opts_dump()
790 cnt = op - optlist; in opts_dump()
865 cnt = opts_print(sp, &optlist[s_op[base]]); in opts_dump()
877 (void)opts_print(sp, &optlist[b_op[row]]); in opts_dump()
[all …]
H A Doptions.h101 extern OPTLIST const optlist[];
/openbsd-src/usr.bin/patch/
H A Dbackupfile.c177 argmatch(const char *arg, const char **optlist) in argmatch() argument
187 for (i = 0; optlist[i]; i++) { in argmatch()
188 if (!strncmp(optlist[i], arg, arglen)) { in argmatch()
189 if (strlen(optlist[i]) == arglen) in argmatch()
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Dns32k-dis.c45 static void optlist PARAMS ((int, const struct ns32k_option *, char *));
237 optlist(options, optionP, result) in optlist() function
781 optlist(Ivalue, opt_u, result);
786 optlist(Ivalue, opt_U, result);
791 optlist(Ivalue, opt_O, result);
796 optlist(Ivalue, opt_C, result);
801 optlist(Ivalue, opt_S, result);
H A DChangeLog-92972977 (optlist, list_search): Made appropriate arguments now point to
/openbsd-src/lib/libc/gen/
H A Dauth_subr.c105 struct authopts *optlist; /* list of options to scripts */ member
261 while ((opt = as->optlist) != NULL) { in auth_close()
262 as->optlist = opt->next; in auth_close()
544 opt->next = as->optlist; in auth_setoption()
545 as->optlist = opt; in auth_setoption()
555 while ((opt = as->optlist) != NULL) { in auth_clroptions()
556 as->optlist = opt->next; in auth_clroptions()
570 if ((opt = as->optlist) == NULL) in auth_clroption()
575 as->optlist = opt->next; in auth_clroption()
830 for (opt = as->optlist; opt != NULL; opt = opt->next) { in auth_call()
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dns32k-dis.c220 optlist (int options, const struct ns32k_option * optionP, char * result) in optlist() function
682 optlist (Ivalue, opt_u, result); in print_insn_arg()
687 optlist (Ivalue, opt_U, result); in print_insn_arg()
692 optlist (Ivalue, opt_O, result); in print_insn_arg()
697 optlist (Ivalue, opt_C, result); in print_insn_arg()
702 optlist (Ivalue, opt_S, result); in print_insn_arg()
H A DChangeLog-92972977 (optlist, list_search): Made appropriate arguments now point to
/openbsd-src/lib/libfuse/
H A Dfuse_opt.c268 char *optlist, *tofree; in fuse_opt_parse() local
303 tofree = optlist = strdup(arg); in fuse_opt_parse()
304 if (optlist == NULL) in fuse_opt_parse()
307 while ((ap = strsep(&optlist, ",")) != NULL && in fuse_opt_parse()
/openbsd-src/sbin/mount/
H A Dmount.c323 char *optlist; in flags2opts() local
326 optlist = NULL; in flags2opts()
329 optlist = catopt(optlist, p->o_optname); in flags2opts()
332 return(optlist); in flags2opts()
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dtc-ns32k.c804 static void optlist PARAMS ((char *, struct ns32k_option *, unsigned long *));
806 optlist (str, optionP, default_map) in optlist() function
1011 optlist (argv[i], opt3, &tmp);
1016 optlist (argv[i], opt4, &tmp);
1021 optlist (argv[i], opt5, &tmp);
1031 optlist (argv[i], opt1, &iif.iifP[10].object);
1034 optlist (argv[i], opt2, &iif.iifP[10].object);
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-ns32k.c805 optlist (char *str, /* The string to extract options from. */ in optlist() function
1018 optlist (argv[i], opt3, &tmp); in encode_operand()
1023 optlist (argv[i], opt4, &tmp); in encode_operand()
1028 optlist (argv[i], opt5, &tmp); in encode_operand()
1038 optlist (argv[i], opt1, &iif.iifP[10].object); in encode_operand()
1041 optlist (argv[i], opt2, &iif.iifP[10].object); in encode_operand()
/openbsd-src/sbin/ifconfig/
H A Difconfig.c2052 char *optlist, *str; in setifwpaprotos()
2055 if ((optlist = strdup(val)) == NULL) in setifwpaprotos()
2057 str = strtok(optlist, ","); in setifwpaprotos()
2067 free(optlist); in setifwpaprotos()
2092 char *optlist, *str; in setifwpaakms()
2095 if ((optlist = strdup(val)) == NULL) in setifwpaakms()
2097 str = strtok(optlist, ","); in setifwpaakms()
2107 free(optlist); in setifwpaakms()
2155 char *optlist, *str; in setifwpaciphers()
2158 if ((optlist in setifwpaciphers()
2051 char *optlist, *str; setifwpaprotos() local
2091 char *optlist, *str; setifwpaakms() local
2154 char *optlist, *str; setifwpaciphers() local
3106 char *optlist, *str; get_media_options() local
4901 char *optlist, *str; setcarp_nodes() local
6257 char *optlist, *str; umb_parse_classes() local
[all...]
H A Dbrconfig.c466 char *optlist, *str; in bridge_protect() local
474 optlist = strdup(val); in bridge_protect()
475 if (optlist == NULL) in bridge_protect()
478 str = strtok(optlist, ","); in bridge_protect()
490 free(optlist); in bridge_protect()
/openbsd-src/usr.sbin/ospfd/
H A Dparse.y145 %type <v.number> yesno no optlist optlist_l option demotecount msec
300 redistribute : no REDISTRIBUTE NUMBER '/' NUMBER optlist dependonopt {
326 | no REDISTRIBUTE STRING optlist dependonopt {
358 | no REDISTRIBUTE RTLABEL STRING optlist dependonopt {
380 optlist : /* empty */ { $$ = DEFAULT_REDIST_METRIC; }
/openbsd-src/usr.sbin/ospf6d/
H A Dparse.y141 %type <v.number> yesno no optlist, optlist_l option demotecount
282 redistribute : no REDISTRIBUTE STRING optlist dependon {
315 | no REDISTRIBUTE RTLABEL STRING optlist dependon {
337 optlist : /* empty */ { $$ = DEFAULT_REDIST_METRIC; }
/openbsd-src/usr.sbin/unbound/doc/
H A DChangelog5815 - Fix libubound for edns optlist feature.