Lines Matching refs:argv

537 				argv[0], argv[i - 1]); \
542 #define USAGE() usage(argv[0], keysize, mode, size, unit, warmup, l, n)
544 int aes_perf_runner_cmd_parser(int argc, char *argv[]) in aes_perf_runner_cmd_parser() argument
566 if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { in aes_perf_runner_cmd_parser()
572 if (!strcmp(argv[i], "-d")) { in aes_perf_runner_cmd_parser()
574 } else if (!strcmp(argv[i], "--in-place") || in aes_perf_runner_cmd_parser()
575 !strcmp(argv[i], "-i")) { in aes_perf_runner_cmd_parser()
577 } else if (!strcmp(argv[i], "-k")) { in aes_perf_runner_cmd_parser()
579 keysize = atoi(argv[i]); in aes_perf_runner_cmd_parser()
583 argv[0]); in aes_perf_runner_cmd_parser()
587 } else if (!strcmp(argv[i], "-l")) { in aes_perf_runner_cmd_parser()
589 l = atoi(argv[i]); in aes_perf_runner_cmd_parser()
590 } else if (!strcmp(argv[i], "-m")) { in aes_perf_runner_cmd_parser()
592 if (!strcasecmp(argv[i], "ECB")) in aes_perf_runner_cmd_parser()
594 else if (!strcasecmp(argv[i], "CBC")) in aes_perf_runner_cmd_parser()
596 else if (!strcasecmp(argv[i], "CTR")) in aes_perf_runner_cmd_parser()
598 else if (!strcasecmp(argv[i], "XTS")) in aes_perf_runner_cmd_parser()
600 else if (!strcasecmp(argv[i], "GCM")) in aes_perf_runner_cmd_parser()
604 argv[0]); in aes_perf_runner_cmd_parser()
608 } else if (!strcmp(argv[i], "-n")) { in aes_perf_runner_cmd_parser()
610 n = atoi(argv[i]); in aes_perf_runner_cmd_parser()
611 } else if (!strcmp(argv[i], "--random") || in aes_perf_runner_cmd_parser()
612 !strcmp(argv[i], "-r")) { in aes_perf_runner_cmd_parser()
619 } else if (!strcmp(argv[i], "--not-inited")) { in aes_perf_runner_cmd_parser()
626 } else if (!strcmp(argv[i], "-s")) { in aes_perf_runner_cmd_parser()
628 size = atoi(argv[i]); in aes_perf_runner_cmd_parser()
630 } else if (!strcmp(argv[i], "--sdp")) { in aes_perf_runner_cmd_parser()
632 } else if (!strcmp(argv[i], "-IR")) { in aes_perf_runner_cmd_parser()
634 } else if (!strcmp(argv[i], "-OR")) { in aes_perf_runner_cmd_parser()
636 } else if (!strcmp(argv[i], "-Ir")) { in aes_perf_runner_cmd_parser()
638 } else if (!strcmp(argv[i], "-Or")) { in aes_perf_runner_cmd_parser()
640 } else if (!strcmp(argv[i], "-Id")) { in aes_perf_runner_cmd_parser()
642 } else if (!strcmp(argv[i], "-Od")) { in aes_perf_runner_cmd_parser()
644 } else if (!strcmp(argv[i], "--ion-heap")) { in aes_perf_runner_cmd_parser()
646 ion_heap = atoi(argv[i]); in aes_perf_runner_cmd_parser()
648 } else if (!strcmp(argv[i], "-u")) { in aes_perf_runner_cmd_parser()
650 unit = atoi(argv[i]); in aes_perf_runner_cmd_parser()
651 } else if (!strcmp(argv[i], "-v")) { in aes_perf_runner_cmd_parser()
653 } else if (!strcmp(argv[i], "--warmup") || in aes_perf_runner_cmd_parser()
654 !strcmp(argv[i], "-w")) { in aes_perf_runner_cmd_parser()
656 warmup = atoi(argv[i]); in aes_perf_runner_cmd_parser()
659 argv[0], argv[i]); in aes_perf_runner_cmd_parser()