/optee_benchmark/libyaml/tests/ |
A D | example-reformatter.c | 8 main(int argc, char *argv[]) in main() argument 30 if (strcmp(argv[k], "-h") == 0 in main() 31 || strcmp(argv[k], "--help") == 0) { in main() 35 else if (strcmp(argv[k], "-c") == 0 in main() 36 || strcmp(argv[k], "--canonical") == 0) { in main() 40 else if (strcmp(argv[k], "-u") == 0 in main() 41 || strcmp(argv[k], "--unicode") == 0) { in main() 48 argv[k], argv[0]); in main() 62 argv[0], argv[0]); in main()
|
A D | example-reformatter-alt.c | 8 main(int argc, char *argv[]) in main() argument 30 if (strcmp(argv[k], "-h") == 0 in main() 31 || strcmp(argv[k], "--help") == 0) { in main() 35 else if (strcmp(argv[k], "-c") == 0 in main() 36 || strcmp(argv[k], "--canonical") == 0) { in main() 40 else if (strcmp(argv[k], "-u") == 0 in main() 41 || strcmp(argv[k], "--unicode") == 0) { in main() 48 argv[k], argv[0]); in main() 62 argv[0], argv[0]); in main()
|
A D | run-loader.c | 12 main(int argc, char *argv[]) in main() argument 17 printf("Usage: %s file1.yaml ...\n", argv[0]); in main() 30 printf("[%d] Loading '%s': ", number, argv[number]); in main() 33 file = fopen(argv[number], "rb"); in main()
|
A D | run-parser.c | 12 main(int argc, char *argv[]) in main() argument 17 printf("Usage: %s file1.yaml ...\n", argv[0]); in main() 30 printf("[%d] Parsing '%s': ", number, argv[number]); in main() 33 file = fopen(argv[number], "rb"); in main()
|
A D | run-scanner.c | 12 main(int argc, char *argv[]) in main() argument 17 printf("Usage: %s file1.yaml ...\n", argv[0]); in main() 30 printf("[%d] Scanning '%s': ", number, argv[number]); in main() 33 file = fopen(argv[number], "rb"); in main()
|
A D | run-dumper.c | 189 main(int argc, char *argv[]) in main() argument 197 if (strcmp(argv[number], "-c") == 0) { in main() 200 else if (strcmp(argv[number], "-u") == 0) { in main() 203 else if (argv[number][0] == '-') { in main() 204 printf("Unknown option: '%s'\n", argv[number]); in main() 207 if (argv[number][0] == '-') { in main() 209 memmove(argv+number, argv+number+1, (argc-number-1)*sizeof(char *)); in main() 219 printf("Usage: %s [-c] [-u] file1.yaml ...\n", argv[0]); in main() 241 printf("[%d] Loading, dumping, and loading again '%s': ", number, argv[number]); in main() 244 file = fopen(argv[number], "rb"); in main() [all …]
|
A D | run-emitter.c | 214 main(int argc, char *argv[]) in main() argument 222 if (strcmp(argv[number], "-c") == 0) { in main() 225 else if (strcmp(argv[number], "-u") == 0) { in main() 228 else if (argv[number][0] == '-') { in main() 229 printf("Unknown option: '%s'\n", argv[number]); in main() 232 if (argv[number][0] == '-') { in main() 234 memmove(argv+number, argv+number+1, (argc-number-1)*sizeof(char *)); in main() 244 printf("Usage: %s [-c] [-u] file1.yaml ...\n", argv[0]); in main() 268 file = fopen(argv[number], "rb"); in main() 293 print_output(argv[number], buffer, written, count)); in main() [all …]
|
A D | example-deconstructor-alt.c | 8 main(int argc, char *argv[]) in main() argument 34 if (strcmp(argv[k], "-h") == 0 in main() 35 || strcmp(argv[k], "--help") == 0) { in main() 39 else if (strcmp(argv[k], "-c") == 0 in main() 40 || strcmp(argv[k], "--canonical") == 0) { in main() 44 else if (strcmp(argv[k], "-u") == 0 in main() 45 || strcmp(argv[k], "--unicode") == 0) { in main() 52 argv[k], argv[0]); in main() 66 argv[0], argv[0]); in main()
|
A D | example-deconstructor.c | 8 main(int argc, char *argv[]) in main() argument 32 if (strcmp(argv[k], "-h") == 0 in main() 33 || strcmp(argv[k], "--help") == 0) { in main() 37 else if (strcmp(argv[k], "-c") == 0 in main() 38 || strcmp(argv[k], "--canonical") == 0) { in main() 42 else if (strcmp(argv[k], "-u") == 0 in main() 43 || strcmp(argv[k], "--unicode") == 0) { in main() 50 argv[k], argv[0]); in main() 64 argv[0], argv[0]); in main()
|
/optee_benchmark/ |
A D | benchmark_aux.c | 56 void alloc_argv(int argc, char *argv[], char **new_argv[]) in alloc_argv() argument 63 res = realpath(argv[1], path); in alloc_argv() 82 size_t length = strlen(argv[i]) + 1; in alloc_argv() 88 memcpy(testapp_argv[i-1], argv[i], length); in alloc_argv()
|
A D | main.c | 377 int main(int argc, char *argv[]) in main() argument 391 usage(argv[0]); in main() 397 if (!strcmp(argv[i], "-h")) { in main() 398 usage(argv[0]); in main() 416 res = realpath(argv[1], testapp_path); in main() 420 alloc_argv(argc, argv, &testapp_argv); in main()
|
A D | benchmark_aux.h | 21 void alloc_argv(int argc, char *argv[], char **new_argv[]);
|
/optee_benchmark/libyaml/tests/run-test-suite/src/ |
A D | libyaml-parser.c | 8 int main(int argc, char *argv[]) in main() argument 17 input = fopen(argv[1], "rb"); in main()
|
A D | libyaml-emitter.c | 13 int main(int argc, char *argv[]) in main() argument 26 input = fopen(argv[1], "rb"); in main()
|