Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 5 of 5) sorted by relevance

/mbedtls-latest/programs/fuzz/
Donefile.c13 FILE *fp; in main() local
23 fp = fopen(argv[1], "rb"); in main()
24 if (fp == NULL) { in main()
29 if (fseek(fp, 0L, SEEK_END) != 0) { in main()
32 fclose(fp); in main()
35 Size = ftell(fp); in main()
39 fclose(fp); in main()
42 if (fseek(fp, 0L, SEEK_SET) != 0) { in main()
45 fclose(fp); in main()
52 fclose(fp); in main()
[all …]
/mbedtls-latest/programs/test/
Dzeroize.c38 FILE *fp; in main() local
50 fp = fopen(argv[1], "r"); in main()
51 if (fp == NULL) { in main()
56 while ((c = fgetc(fp)) != EOF && p < end - 1) { in main()
68 fclose(fp); in main()
/mbedtls-latest/tests/scripts/
Dcheck_files.py499 ascii_filepaths = map(lambda fp: fp.decode('ascii'), bytes_filepaths)
505 ascii_filepaths = [fp for fp in ascii_filepaths
506 if os.path.isfile(fp)]
510 return [fp if os.path.dirname(fp) else os.path.join(os.curdir, fp)
511 for fp in ascii_filepaths]
Dcheck_names.py425 with open(filename, "r", encoding="utf-8") as fp:
426 for line_no, line in enumerate(fp):
/mbedtls-latest/tests/suites/
Dmain_test.function161 TestWrapper_t fp = NULL;
164 fp = test_funcs[func_idx];
165 if (fp) {
170 fp(params);
199 TestWrapper_t fp = NULL;
202 fp = test_funcs[func_idx];
203 if (fp == NULL) {