Lines Matching refs:subopt
112 int subopt; member
1110 int subopt; in cfga_test() local
1125 subopt = getsubopt(&cp, opts, &value); in cfga_test()
1126 if (subopt == -1) { in cfga_test()
1146 if (test_fun != -1 && subopt != test_fun && in cfga_test()
1147 subopt != maxerr_idx) { in cfga_test()
1149 strlen(opts[subopt]), in cfga_test()
1151 opts[subopt]); in cfga_test()
1156 if (subopt < maxerr_idx) in cfga_test()
1157 test_fun = subopt; in cfga_test()
1160 if (max_errors != -1 && subopt == maxerr_idx) { in cfga_test()
1162 strlen(opts[subopt]), in cfga_test()
1164 opts[subopt]); in cfga_test()
1470 for (i = 0; opts[i].subopt != -1; i++) { in opt_help_str()
1472 len += strlen(mema_opts[opts[i].subopt]); in opt_help_str()
1483 for (i = 0; opts[i].subopt != -1; i++) { in opt_help_str()
1485 (void) strcat(str, mema_opts[opts[i].subopt]); in opt_help_str()
1501 int subopt; in process_options() local
1523 subopt = getsubopt(&optcopy, mema_opts, &value); in process_options()
1524 if (subopt == -1) { in process_options()
1534 for (i = 0; opts[i].subopt != -1; i++) { in process_options()
1535 if (opts[i].subopt == subopt) { in process_options()
1540 if (opts[i].subopt == -1) { in process_options()
1547 mema_opts[subopt], hlp); in process_options()
1552 need_value = OPT_NEEDS_VALUE(subopt); in process_options()
1556 mema_opts[subopt]); in process_options()
1563 mema_opts[subopt]); in process_options()
1567 if (OPTSET_TEST(opt_set, subopt)) { in process_options()
1572 for (i = 0; opts[i].subopt != -1; i++) { in process_options()
1573 if (i == subopt) in process_options()
1576 OPTSET_TEST(opt_set, opts[i].subopt)) in process_options()
1579 if (opts[i].subopt != -1) { in process_options()
1582 mema_opts[subopt], in process_options()
1583 mema_opts[opts[i].subopt]); in process_options()
1588 OPTSET_SET_VAL(opt_set, subopt, value); in process_options()