Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 11 of 11) sorted by relevance

/optee_test-3.20.0/host/xtest/
A Dxtest_main.c130 int main(int argc, char *argv[]) in main() argument
156 if (argc > 1 && !strcmp(argv[1], "--sha-perf")) in main()
158 else if (argc > 1 && !strcmp(argv[1], "--hash-perf")) in main()
160 else if (argc > 1 && !strcmp(argv[1], "--aes-perf")) in main()
161 return aes_perf_runner_cmd_parser(argc-1, &argv[1]); in main()
170 else if (argc > 1 && !strcmp(argv[1], "--stats")) in main()
171 return stats_runner_cmd_parser(argc - 1, &argv[1]); in main()
188 usage(argv[0]); in main()
199 usage(argv[0]); in main()
202 usage(argv[0]); in main()
[all …]
A Dhash_perf.c402 argv[0], argv[i - 1]); \
424 if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { in hash_perf_runner_cmd_parser()
430 if (!strcmp(argv[i], "-l")) { in hash_perf_runner_cmd_parser()
432 l = atoi(argv[i]); in hash_perf_runner_cmd_parser()
461 argv[0]); in hash_perf_runner_cmd_parser()
467 n = atoi(argv[i]); in hash_perf_runner_cmd_parser()
469 !strcmp(argv[i], "-r")) { in hash_perf_runner_cmd_parser()
473 size = atoi(argv[i]); in hash_perf_runner_cmd_parser()
475 !strcmp(argv[i], "-u")) { in hash_perf_runner_cmd_parser()
482 warmup = atoi(argv[i]); in hash_perf_runner_cmd_parser()
[all …]
A Daes_perf.c540 argv[0], argv[i - 1]); \
569 if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { in aes_perf_runner_cmd_parser()
586 argv[0]); in aes_perf_runner_cmd_parser()
592 l = atoi(argv[i]); in aes_perf_runner_cmd_parser()
607 argv[0]); in aes_perf_runner_cmd_parser()
613 n = atoi(argv[i]); in aes_perf_runner_cmd_parser()
631 size = atoi(argv[i]); in aes_perf_runner_cmd_parser()
649 heap_name = argv[i]; in aes_perf_runner_cmd_parser()
658 unit = atoi(argv[i]); in aes_perf_runner_cmd_parser()
664 warmup = atoi(argv[i]); in aes_perf_runner_cmd_parser()
[all …]
A Dstats.c92 static int stat_pager(int argc, char *argv[]) in stat_pager() argument
100 UNUSED(argv); in stat_pager()
137 UNUSED(argv); in stat_alloc()
206 UNUSED(argv); in stat_memleak()
234 UNUSED(argv); in stat_loaded_ta()
320 if (!strcmp(argv[1], "--pager")) in stats_runner_cmd_parser()
321 return stat_pager(argc - 1, argv + 1); in stats_runner_cmd_parser()
322 if (!strcmp(argv[1], "--alloc")) in stats_runner_cmd_parser()
323 return stat_alloc(argc - 1, argv + 1); in stats_runner_cmd_parser()
324 if (!strcmp(argv[1], "--memleak")) in stats_runner_cmd_parser()
[all …]
A Dinstall_ta.c114 int install_ta_runner_cmd_parser(int argc, char *argv[]) in install_ta_runner_cmd_parser() argument
136 if (stat(argv[i], &sb)) { in install_ta_runner_cmd_parser()
137 printf("Skipping \"%s\": %s", argv[i], strerror(errno)); in install_ta_runner_cmd_parser()
142 install_dir(&sess, argv[i]); in install_ta_runner_cmd_parser()
144 install_file(&sess, NULL, argv[i]); in install_ta_runner_cmd_parser()
147 argv[i], sb.st_mode); in install_ta_runner_cmd_parser()
A Dsdp_basic.c714 argv[0], argv[i-1]); \
740 if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { in sdp_basic_runner_cmd_parser()
746 if (!strcmp(argv[i], "-v")) { in sdp_basic_runner_cmd_parser()
748 } else if (!strcmp(argv[i], "-s")) { in sdp_basic_runner_cmd_parser()
750 test_size = atoi(argv[i]); in sdp_basic_runner_cmd_parser()
751 } else if (!strcmp(argv[i], "-n")) { in sdp_basic_runner_cmd_parser()
753 test_loop = atoi(argv[i]); in sdp_basic_runner_cmd_parser()
755 } else if (!strcmp(argv[i], "--ion-heap")) { in sdp_basic_runner_cmd_parser()
757 ion_heap = atoi(argv[i]); in sdp_basic_runner_cmd_parser()
761 heap_name = argv[i]; in sdp_basic_runner_cmd_parser()
[all …]
A Dcrypto_common.h40 int aes_perf_runner_cmd_parser(int argc, char *argv[]);
45 int hash_perf_runner_cmd_parser(int argc, char *argv[]);
51 int sdp_basic_runner_cmd_parser(int argc, char *argv[]);
A Dstats.h10 int stats_runner_cmd_parser(int argc, char *argv[]);
A Dinstall_ta.h10 int install_ta_runner_cmd_parser(int argc, char *argv[]);
/optee_test-3.20.0/host/xtest/adbg/src/
A Dadbg_run.c43 static int ADBG_RunSuite(ADBG_Runner_t *Runner_p, int argc, char *argv[]);
52 char *argv[] in Do_ADBG_RunSuite() argument
66 int ret = ADBG_RunSuite(Runner_p, argc, argv); in Do_ADBG_RunSuite()
109 char *argv[] in ADBG_RunSuite() argument
125 bool HaveMatch = !argc || !strcmp(argv[0], "-x"); in ADBG_RunSuite()
129 if (!strcmp(argv[i], "-x")) { in ADBG_RunSuite()
135 if (strstr(case_def->TestID_p, argv[i])) in ADBG_RunSuite()
138 if (strstr(case_def->TestID_p, argv[i])) in ADBG_RunSuite()
196 if (!strcmp(argv[i], "-x")) { in ADBG_RunSuite()
203 test_exclusion ? "-x " : "", argv[i]); in ADBG_RunSuite()
/optee_test-3.20.0/host/xtest/adbg/include/
A Dadbg.h244 char *argv[]);

Completed in 16 milliseconds