Lines Matching refs:optarg
125 char* optarg = argv[i]; in SanitizeOpts() local
130 strncmp(g_long_options[opt_idx].name, optarg + 2, in SanitizeOpts()
135 new_argv->push_back(optarg); in SanitizeOpts()
140 if (!strchr(optarg, '=')) { in SanitizeOpts()
164 if (*optarg) { in ParseOpts()
166 opts.cpu_to_lock = strtol(optarg, &check_null, 10); in ParseOpts()
168 errx(1, "ERROR: Args %s is not a valid integer.", optarg); in ParseOpts()
176 if (*optarg) { in ParseOpts()
177 opts.xmlpath = optarg; in ParseOpts()
184 if (*optarg) { in ParseOpts()
185 opts.extra_benchmarks.push_back(optarg); in ParseOpts()
192 if (*optarg){ in ParseOpts()
194 opts.num_iterations = strtol(optarg, &check_null, 10); in ParseOpts()
196 errx(1, "ERROR: Args %s is not a valid number of iterations.", optarg); in ParseOpts()