Lines Matching defs:opts
1053 subopt_help_str(char *opts[])
1064 for (i = 0; opts[i] != NULL; i++) {
1066 len += strlen(opts[i]);
1077 for (i = 0; opts[i] != NULL; i++) {
1079 (void) strcat(str, opts[i]);
1109 char **opts;
1120 opts = mtest_build_opts(&maxerr_idx);
1121 if (opts == NULL) {
1127 subopt = getsubopt(&cp, opts, &value);
1131 hlp = subopt_help_str(opts);
1151 strlen(opts[subopt]),
1153 opts[subopt]);
1164 strlen(opts[subopt]),
1166 opts[subopt]);
1461 opt_help_str(struct opt_control *opts)
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]);
1496 struct opt_control *opts,
1529 hlp = opt_help_str(opts);
1536 for (i = 0; opts[i].subopt != -1; i++) {
1537 if (opts[i].subopt == subopt) {
1538 group = opts[i].group;
1542 if (opts[i].subopt == -1) {
1545 hlp = opt_help_str(opts);
1574 for (i = 0; opts[i].subopt != -1; i++) {
1577 if (opts[i].group == group &&
1578 OPTSET_TEST(opt_set, opts[i].subopt))
1581 if (opts[i].subopt != -1) {
1585 mema_opts[opts[i].subopt]);