Lines Matching refs:subopt
110 * subopt field set to -1. The group field is used to identify
114 int subopt;
1112 int subopt;
1127 subopt = getsubopt(&cp, opts, &value);
1128 if (subopt == -1) {
1148 if (test_fun != -1 && subopt != test_fun &&
1149 subopt != maxerr_idx) {
1151 strlen(opts[subopt]),
1153 opts[subopt]);
1158 if (subopt < maxerr_idx)
1159 test_fun = subopt;
1162 if (max_errors != -1 && subopt == maxerr_idx) {
1164 strlen(opts[subopt]),
1166 opts[subopt]);
1472 for (i = 0; opts[i].subopt != -1; i++) {
1474 len += strlen(mema_opts[opts[i].subopt]);
1485 for (i = 0; opts[i].subopt != -1; i++) {
1487 (void) strcat(str, mema_opts[opts[i].subopt]);
1503 int subopt;
1525 subopt = getsubopt(&optcopy, mema_opts, &value);
1526 if (subopt == -1) {
1536 for (i = 0; opts[i].subopt != -1; i++) {
1537 if (opts[i].subopt == subopt) {
1542 if (opts[i].subopt == -1) {
1549 mema_opts[subopt], hlp);
1554 need_value = OPT_NEEDS_VALUE(subopt);
1558 mema_opts[subopt]);
1565 mema_opts[subopt]);
1569 if (OPTSET_TEST(opt_set, subopt)) {
1574 for (i = 0; opts[i].subopt != -1; i++) {
1575 if (i == subopt)
1578 OPTSET_TEST(opt_set, opts[i].subopt))
1581 if (opts[i].subopt != -1) {
1584 mema_opts[subopt],
1585 mema_opts[opts[i].subopt]);
1590 OPTSET_SET_VAL(opt_set, subopt, value);