Home
last modified time | relevance | path

Searched refs:testapp_argv (Results 1 – 2 of 2) sorted by relevance

/optee_benchmark/
A Dbenchmark_aux.c60 char **testapp_argv; in alloc_argv() local
71 testapp_argv = *new_argv; in alloc_argv()
72 testapp_argv[argc-1] = NULL; in alloc_argv()
75 testapp_argv[0] = malloc(strlen(base) + 1); in alloc_argv()
76 if (!testapp_argv[0]) in alloc_argv()
79 memcpy(testapp_argv[0], base, strlen(base) + 1); in alloc_argv()
84 testapp_argv[i - 1] = malloc(length); in alloc_argv()
85 if (!testapp_argv[i - 1]) in alloc_argv()
88 memcpy(testapp_argv[i-1], argv[i], length); in alloc_argv()
A Dmain.c383 char **testapp_argv; in main() local
420 alloc_argv(argc, argv, &testapp_argv); in main()
465 execvp(testapp_path, testapp_argv); in main()
472 dealloc_argv(argc-1, testapp_argv); in main()

Completed in 4 milliseconds