Lines Matching defs:optarg
91 char *optarg = argv[i];
94 while (g_benchmarkLongOptions[index].name && strncmp(g_benchmarkLongOptions[index].name, optarg + 2, // 2 arg
100 argvAfterShift->push_back(optarg);
101 } else if ((g_benchmarkLongOptions[index].has_arg == required_argument) && !strchr(optarg, '=')) {
118 if (!(*optarg)) {
123 opts.cpuNum = strtol(optarg, &errorCheck, 10); // 10 base
125 errx(1, "ERROR: Args %s is not a valid integer.", optarg);
129 if (!(*optarg)) {
134 opts.iterNum = strtol(optarg, &errorCheck, 10); // 10 base
136 errx(1, "ERROR: Args %s is not a valid number of iterations.", optarg);