Lines Matching refs:argnum
226 int argnum = 1; in parseCommandLine() local
227 while (argnum < argc) in parseCommandLine()
229 if (strcmp(argv[argnum], "-quiet") == 0) in parseCommandLine()
231 else if (strcmp(argv[argnum], "-verbose") == 0) in parseCommandLine()
233 else if (strcmp(argv[argnum], "--help") == 0 || in parseCommandLine()
234 (strcmp(argv[argnum], "?") == 0)) {throw 1; } in parseCommandLine()
236 else if (strcmp(argv[argnum], "-threads") == 0) in parseCommandLine()
238 ++argnum; in parseCommandLine()
239 if (argnum >= argc) in parseCommandLine()
241 gRunInfo.numThreads = atoi(argv[argnum]); in parseCommandLine()
245 else if (strcmp(argv[argnum], "-time") == 0) in parseCommandLine()
247 ++argnum; in parseCommandLine()
248 if (argnum >= argc) in parseCommandLine()
250 gRunInfo.totalTime = atoi(argv[argnum]); in parseCommandLine()
254 else if (strcmp(argv[argnum], "-ctime") == 0) in parseCommandLine()
256 ++argnum; in parseCommandLine()
257 if (argnum >= argc) in parseCommandLine()
259 gRunInfo.checkTime = atoi(argv[argnum]); in parseCommandLine()
263 else if (strcmp(argv[argnum], "string") == 0) in parseCommandLine()
267 else if (strcmp(argv[argnum], "convert") == 0) in parseCommandLine()
274 argv[argnum]); in parseCommandLine()
277 argnum++; in parseCommandLine()