Home
last modified time | relevance | path

Searched refs:res (Results 1 – 3 of 3) sorted by relevance

/optee_benchmark/
A Dbenchmark_aux.c20 void tee_errx(const char *msg, TEEC_Result res) in tee_errx() argument
22 ERROR_EXIT("%s: 0x%08x\n", msg, res); in tee_errx()
25 void tee_check_res(TEEC_Result res, const char *errmsg) in tee_check_res() argument
27 if (res != TEEC_SUCCESS) in tee_check_res()
28 tee_errx(errmsg, res); in tee_check_res()
58 char *res, *base; in alloc_argv() local
63 res = realpath(argv[1], path); in alloc_argv()
64 if (!res) in alloc_argv()
A Dmain.c49 TEEC_Result res; in open_bench_pta() local
52 res = TEEC_InitializeContext(NULL, &ctx); in open_bench_pta()
53 tee_check_res(res, "TEEC_InitializeContext"); in open_bench_pta()
57 tee_check_res(res, "TEEC_OpenSession"); in open_bench_pta()
69 TEEC_Result res; in alloc_bench_buf() local
82 tee_check_res(res, "TEEC_InvokeCommand"); in alloc_bench_buf()
100 TEEC_Result res; in free_bench_buf() local
110 tee_check_res(res, "TEEC_InvokeCommand"); in free_bench_buf()
384 char *res; in main() local
416 res = realpath(argv[1], testapp_path); in main()
[all …]
A Dbenchmark_aux.h13 void tee_errx(const char *msg, TEEC_Result res);
14 void tee_check_res(TEEC_Result res, const char *errmsg);

Completed in 4 milliseconds