Lines Matching refs:argv
379 argv[0], argv[i - 1]); \
386 extern int sha_perf_runner_cmd_parser(int argc, char *argv[]) in sha_perf_runner_cmd_parser() argument
403 if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { in sha_perf_runner_cmd_parser()
404 usage(argv[0], algo, size, warmup, l, n); in sha_perf_runner_cmd_parser()
409 if (!strcmp(argv[i], "-l")) { in sha_perf_runner_cmd_parser()
411 l = atoi(argv[i]); in sha_perf_runner_cmd_parser()
412 } else if (!strcmp(argv[i], "-a")) { in sha_perf_runner_cmd_parser()
414 if (!strcasecmp(argv[i], "SHA1")) in sha_perf_runner_cmd_parser()
416 else if (!strcasecmp(argv[i], "SHA224")) in sha_perf_runner_cmd_parser()
418 else if (!strcasecmp(argv[i], "SHA256")) in sha_perf_runner_cmd_parser()
420 else if (!strcasecmp(argv[i], "SHA384")) in sha_perf_runner_cmd_parser()
422 else if (!strcasecmp(argv[i], "SHA512")) in sha_perf_runner_cmd_parser()
426 argv[0]); in sha_perf_runner_cmd_parser()
427 usage(argv[0], algo, size, warmup, l, n); in sha_perf_runner_cmd_parser()
430 } else if (!strcmp(argv[i], "-n")) { in sha_perf_runner_cmd_parser()
432 n = atoi(argv[i]); in sha_perf_runner_cmd_parser()
433 } else if (!strcmp(argv[i], "--random") || in sha_perf_runner_cmd_parser()
434 !strcmp(argv[i], "-r")) { in sha_perf_runner_cmd_parser()
436 } else if (!strcmp(argv[i], "-s")) { in sha_perf_runner_cmd_parser()
438 size = atoi(argv[i]); in sha_perf_runner_cmd_parser()
439 } else if (!strcmp(argv[i], "--unalign") || in sha_perf_runner_cmd_parser()
440 !strcmp(argv[i], "-u")) { in sha_perf_runner_cmd_parser()
442 } else if (!strcmp(argv[i], "-v")) { in sha_perf_runner_cmd_parser()
444 } else if (!strcmp(argv[i], "--warmup") || in sha_perf_runner_cmd_parser()
445 !strcmp(argv[i], "-w")) { in sha_perf_runner_cmd_parser()
447 warmup = atoi(argv[i]); in sha_perf_runner_cmd_parser()
450 argv[0], argv[i]); in sha_perf_runner_cmd_parser()
451 usage(argv[0], algo, size, warmup, l, n); in sha_perf_runner_cmd_parser()