Lines Matching defs:optstr
508 char *optstr;
569 for (i = 0; tst_test->options[i].optstr; i++) {
571 tst_test->options[i].optstr[0],
613 for (i = 0; toptions[i].optstr; i++) {
615 if (toptions[i].optstr[0] == options[j].optstr[0]) {
630 for (i = 0; tst_test->options[i].optstr; i++)
642 if (toptions[i].optstr[0] == opt)
663 char optstr[2 * ARRAY_SIZE(options) + 2 * topts_len];
668 optstr[0] = 0;
671 strcat(optstr, options[i].optstr);
674 strcat(optstr, tst_test->options[i].optstr);
676 while ((opt = getopt(argc, argv, optstr)) > 0) {