Home
last modified time | relevance | path

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

/optee_test/host/xtest/
A Dxtest_main.c116 int main(int argc, char *argv[]) in main() argument
142 if (argc > 1 && !strcmp(argv[1], "--sha-perf")) in main()
143 return sha_perf_runner_cmd_parser(argc-1, &argv[1]); in main()
144 else if (argc > 1 && !strcmp(argv[1], "--aes-perf")) in main()
145 return aes_perf_runner_cmd_parser(argc-1, &argv[1]); in main()
154 else if (argc > 1 && !strcmp(argv[1], "--stats")) in main()
155 return stats_runner_cmd_parser(argc - 1, &argv[1]); in main()
172 usage(argv[0]); in main()
183 usage(argv[0]); in main()
186 usage(argv[0]); in main()
[all …]
A Daes_perf.c537 argv[0], argv[i - 1]); \
566 if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { 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()
589 l = atoi(argv[i]); in aes_perf_runner_cmd_parser()
604 argv[0]); in aes_perf_runner_cmd_parser()
610 n = atoi(argv[i]); in aes_perf_runner_cmd_parser()
628 size = atoi(argv[i]); in aes_perf_runner_cmd_parser()
650 unit = atoi(argv[i]); in aes_perf_runner_cmd_parser()
656 warmup = atoi(argv[i]); in aes_perf_runner_cmd_parser()
[all …]
A Dsha_perf.c379 argv[0], argv[i - 1]); \
403 if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { 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()
426 argv[0]); in sha_perf_runner_cmd_parser()
432 n = atoi(argv[i]); in sha_perf_runner_cmd_parser()
434 !strcmp(argv[i], "-r")) { in sha_perf_runner_cmd_parser()
438 size = atoi(argv[i]); in sha_perf_runner_cmd_parser()
440 !strcmp(argv[i], "-u")) { in sha_perf_runner_cmd_parser()
447 warmup = atoi(argv[i]); in sha_perf_runner_cmd_parser()
[all …]
A Dstats.c83 static int stat_pager(int argc, char *argv[]) in stat_pager() argument
91 UNUSED(argv); in stat_pager()
117 static int stat_alloc(int argc, char *argv[]) in stat_alloc() argument
128 UNUSED(argv); in stat_alloc()
197 UNUSED(argv); in stat_memleak()
215 if (!strcmp(argv[1], "--pager")) in stats_runner_cmd_parser()
216 return stat_pager(argc - 1, argv + 1); in stats_runner_cmd_parser()
217 if (!strcmp(argv[1], "--alloc")) in stats_runner_cmd_parser()
218 return stat_alloc(argc - 1, argv + 1); in stats_runner_cmd_parser()
219 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.c674 argv[0], argv[i-1]); \
699 if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { in sdp_basic_runner_cmd_parser()
705 if (!strcmp(argv[i], "-v")) { in sdp_basic_runner_cmd_parser()
707 } else if (!strcmp(argv[i], "-s")) { in sdp_basic_runner_cmd_parser()
709 test_size = atoi(argv[i]); in sdp_basic_runner_cmd_parser()
710 } else if (!strcmp(argv[i], "-n")) { in sdp_basic_runner_cmd_parser()
712 test_loop = atoi(argv[i]); in sdp_basic_runner_cmd_parser()
713 } else if (!strcmp(argv[i], "--ion-heap")) { in sdp_basic_runner_cmd_parser()
715 ion_heap = atoi(argv[i]); in sdp_basic_runner_cmd_parser()
716 } else if (!strcmp(argv[i], "--no-offset")) { in sdp_basic_runner_cmd_parser()
[all …]
A Dcrypto_common.h42 int aes_perf_runner_cmd_parser(int argc, char *argv[]);
47 int sha_perf_runner_cmd_parser(int argc, char *argv[]);
53 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/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/host/xtest/adbg/include/
A Dadbg.h290 char *argv[]);

Completed in 14 milliseconds