Lines Matching refs:optstr
392 char *optstr; member
411 for (i = 0; tst_test->options[i].optstr; i++) in print_help()
423 for (i = 0; toptions[i].optstr; i++) { in check_option_collision()
425 if (toptions[i].optstr[0] == options[j].optstr[0]) { in check_option_collision()
440 for (i = 0; tst_test->options[i].optstr; i++); in count_options()
451 if (toptions[i].optstr[0] == opt) in parse_topt()
469 char optstr[2 * ARRAY_SIZE(options) + 2 * topts_len]; in parse_opts() local
474 optstr[0] = 0; in parse_opts()
477 strcat(optstr, options[i].optstr); in parse_opts()
480 strcat(optstr, tst_test->options[i].optstr); in parse_opts()
482 while ((opt = getopt(argc, argv, optstr)) > 0) { in parse_opts()