Lines Matching refs:optstr
465 char *optstr; member
502 for (i = 0; tst_test->options[i].optstr; i++) { in print_help()
504 tst_test->options[i].optstr[0], in print_help()
544 for (i = 0; toptions[i].optstr; i++) { in check_option_collision()
546 if (toptions[i].optstr[0] == options[j].optstr[0]) { in check_option_collision()
561 for (i = 0; tst_test->options[i].optstr; i++); in count_options()
572 if (toptions[i].optstr[0] == opt) in parse_topt()
593 char optstr[2 * ARRAY_SIZE(options) + 2 * topts_len]; in parse_opts() local
598 optstr[0] = 0; in parse_opts()
601 strcat(optstr, options[i].optstr); in parse_opts()
604 strcat(optstr, tst_test->options[i].optstr); in parse_opts()
606 while ((opt = getopt(argc, argv, optstr)) > 0) { in parse_opts()