Lines Matching defs:goptarg
352 char *goptarg = NULL;
381 goptarg = p + p_len;
401 if(*goptarg == '\0'
410 if(sscanf(goptarg + 1, "%d", &tmp) != 1)
417 *(char**)current->value = goptarg + 1;
422 return add_string((getarg_strings*)current->value, goptarg + 1);
428 if(*goptarg == '\0' ||
429 strcmp(goptarg + 1, "yes") == 0 ||
430 strcmp(goptarg + 1, "true") == 0){
433 } else if (*goptarg && strcmp(goptarg + 1, "maybe") == 0) {
445 if (*goptarg == '\0')
447 else if(sscanf(goptarg + 1, "%d", &val) != 1)
455 if(sscanf(goptarg + 1, "%lf", &tmp) != 1)
480 char *goptarg;
508 goptarg = &argv[j + 1];
511 goptarg = rargv[*goptind];
513 if(goptarg == NULL) {
519 if(sscanf(goptarg, "%d", &tmp) != 1)
524 *(char**)args[k].value = goptarg;
527 return add_string((getarg_strings*)args[k].value, goptarg);
530 if(sscanf(goptarg, "%lf", &tmp) != 1)