Searched refs:optstr (Results 1 – 5 of 5) sorted by relevance
/busybox-1.35.0/util-linux/ |
D | getopt.c | 207 #define generate_output(argv,argc,optstr,longopts) \ argument 208 generate_output(argv,argc,optstr) 210 static int generate_output(char **argv, int argc, const char *optstr, const struct option *longopts) in generate_output() argument 225 ? getopt_long_only(argc, argv, optstr, longopts, &longindex) in generate_output() 226 : getopt_long(argc, argv, optstr, longopts, &longindex) in generate_output() 229 int opt = getopt(argc, argv, optstr); in generate_output() 249 charptr = strchr(optstr, opt); in generate_output() 357 char *optstr = NULL; in getopt_main() local 389 opt = getopt32(argv, "+o:n:qQs:Tu", &optstr, &name, &s_arg); in getopt_main() 392 &optstr, &name, &s_arg, &l_arg); in getopt_main() [all …]
|
/busybox-1.35.0/libbb/ |
D | getopt32.c | 403 const char *optstr; local 407 optstr = applet_long_options; 408 while (optstr[0]) { 409 optstr += strlen(optstr) + 3; /* skip NUL, has_arg, val */ 416 optstr = applet_long_options; 418 long_options[i].name = optstr; 419 optstr += strlen(optstr) + 1; 420 long_options[i].has_arg = (unsigned char)(*optstr++); 422 long_options[i].val = (unsigned char)(*optstr++);
|
/busybox-1.35.0/networking/udhcp/ |
D | d6_dhcpc.c | 1250 char *optstr = llist_pop(&list_O); in udhcpc6_main() local 1251 unsigned n = bb_strtou(optstr, NULL, 0); in udhcpc6_main() 1253 n = udhcp_option_idx(optstr, d6_option_strings); in udhcpc6_main() 1267 char *optstr = xstrdup(llist_pop(&list_x)); in udhcpc6_main() local 1268 udhcp_str2optset(optstr, &client_data.options, in udhcpc6_main() 1272 free(optstr); in udhcpc6_main()
|
D | dhcpc.c | 1297 char *optstr = llist_pop(&list_O); in udhcpc_main() local 1298 unsigned n = bb_strtou(optstr, NULL, 0); in udhcpc_main() 1300 n = udhcp_option_idx(optstr, dhcp_option_strings); in udhcpc_main() 1314 char *optstr = xstrdup(llist_pop(&list_x)); in udhcpc_main() local 1315 udhcp_str2optset(optstr, &client_data.options, in udhcpc_main() 1319 free(optstr); in udhcpc_main()
|
/busybox-1.35.0/shell/ |
D | ash.c | 11568 getopts(char *optstr, char *optvar, char **optfirst) in getopts() argument 11603 for (q = optstr; *q != c;) { in getopts() 11608 || (optstr[0] == ':') in getopts() 11629 || (optstr[0] == ':') in getopts()
|