Home
last modified time | relevance | path

Searched refs:read_file (Results 1 – 25 of 106) sorted by relevance

12345

/third_party/libdrm/intel/
Dtest_decode.c49 read_file(const char *filename, void **ptr, size_t *size) in read_file() function
76 read_file(batch_filename, &batch_ptr, &batch_size); in dump_batch()
101 read_file(batch_filename, &batch_ptr, &batch_size); in compare_batch()
102 read_file(ref_filename, &ref_ptr, &ref_size); in compare_batch()
/third_party/flutter/skia/third_party/externals/wuffs/test/c/std/
Dgif.c258 const char* status = read_file(&src, filename); in do_test_wuffs_gif_decode()
393 status = read_file(&pal_want, palette_filename); in do_test_wuffs_gif_decode()
411 status = read_file(&ind_want, indexes_filename); in do_test_wuffs_gif_decode()
547 const char* status = read_file(&src, "test/data/bricks-dither.gif"); in test_wuffs_gif_call_interleaved()
592 const char* status = read_file(&src, "test/data/bricks-dither.gif"); in test_wuffs_gif_call_sequence()
627 const char* status = read_file(&src, filename); in do_test_wuffs_gif_decode_animated()
750 const char* status = read_file(&src, "test/data/animated-red-blue.gif"); in test_wuffs_gif_decode_delay_num_frames_decoded()
804 read_file(&src, "test/data/artificial/gif-empty-palette.gif"); in test_wuffs_gif_decode_empty_palette()
875 read_file(&src, "test/data/artificial/gif-background-color.gif"); in test_wuffs_gif_decode_background_color()
916 read_file(&src, "test/data/artificial/gif-frame-out-of-bounds.gif"); in test_wuffs_gif_decode_first_frame_is_opaque()
[all …]
Ddeflate.c258 status = read_file(&src, gt->src_filename); in test_wuffs_deflate_decode_split_src()
262 status = read_file(&want, gt->want_filename); in test_wuffs_deflate_decode_split_src()
357 status = read_file(&src, gt->src_filename); in test_wuffs_deflate_history_full()
361 status = read_file(&want, gt->want_filename); in test_wuffs_deflate_history_full()
430 const char* status = read_file(&src, gt->src_filename); in test_wuffs_deflate_history_partial()
/third_party/spirv-tools/test/diff/diff_files/
Dgenerate_tests.py144 def read_file(file_name): function
218 src_spirv = read_file(src_file)
219 dst_spirv = read_file(dst_file)
220 src_spirv_no_debug = read_file(src_file_no_debug)
221 dst_spirv_no_debug = read_file(dst_file_no_debug)
/third_party/nghttp2/script/
Dfetch-ocsp-response103 def read_file(path): function
131 chain = read_file(cert_fn).decode('utf-8')
187 sys.stderr.write(read_file(verify_fn).decode('utf-8'))
220 res = read_file(respder_fn)
/third_party/cef/tools/
Dfile_util.py15 def read_file(name, normalize=True): function
54 old_contents = read_file(name)
185 lines = read_file(file).split("\n")
194 return eval(read_file(src), {'__builtins__': None}, None)
/third_party/musl/Benchmark/scripts/
Dcompare_benchmark_result.py53 def read_file(self, file_path, is_before): member in BenchmarkDataParser
101 benchmark_data_parser.read_file(args.before, 1)
102 benchmark_data_parser.read_file(args.after, 0)
/third_party/cJSON/tests/
Dparse_examples.c34 char *content = read_file(filename); in parse_file()
72 expected = read_file(expected_path); in do_test()
139 test6 = read_file("inputs/test6"); in file_test6_should_not_be_parsed()
Dcommon.h46 char* read_file(const char *filename);
47 char* read_file(const char *filename) { in read_file() function
/third_party/python/Lib/lib2to3/tests/
Dtest_refactor.py188 old_contents = self.read_file(test_file)
194 self.assertEqual(old_contents, self.read_file(test_file))
199 new_contents = self.read_file(test_file)
211 def read_file(self, test_file): member in TestRefactoringTool
217 old_contents = self.read_file(test_file)
220 new_contents = self.read_file(test_file)
/third_party/libsnd/examples/
Dsndfilehandle.cc52 read_file (const char * fname) in read_file() function
78 read_file (fname) ; in main()
/third_party/skia/build/fuchsia/
Dsdk.gni30 meta_json = read_file(invoker.meta, "json")
71 meta_json = read_file(invoker.meta, "json")
143 meta_json = read_file(invoker.meta, "json")
191 meta_json = read_file(invoker.meta, "json")
236 meta_json = read_file(invoker.meta, "json")
245 part_meta_json = read_file(part_meta_rebased, "json")
/third_party/jerryscript/jerry-main/
Dmain-unix-test.c36 read_file (const char *file_name, in read_file() function
95 const jerry_char_t *source_p = read_file (file_name, &source_size); in main()
Dmain-unix-snapshot.c138 read_file (uint8_t *input_pos_p, /**< next position in the input buffer */ in read_file() function
315 source_length = read_file (source_p, file_name_p); in process_generate()
361 size_t sp_buffer_size = read_file (sp_buffer_start_p, literals_file_name_p); in process_generate()
532 size_t size = read_file (input_pos_p, file_name_p); in process_literal_dump()
700 size_t size = read_file (input_pos_p, file_name_p); in process_merge()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen14.c113 static void read_file(int fd) in read_file() function
152 read_file(fd[i]); in test02()
198 read_file(fd[i]); in test03()
/third_party/ltp/testcases/misc/math/float/
Dthread_code.c41 static size_t read_file(char *fname, void **data) in read_file() function
284 fsize = read_file(th_data->th_func.din_fname, (void **)&din); in thread_code()
294 fsize2 = read_file(th_data->th_func.dex_fname, (void **)&dex); in thread_code()
314 fsize3 = read_file(th_data->th_func.dex2_fname, (void **)&dex2); in thread_code()
/third_party/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc6.c98 int read_file(int, char *);
196 if (!read_file(fd, filename)) in main()
314 int read_file(int fd, char *filename) in read_file() function
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat03.c124 static void read_file(int fd) in read_file() function
163 read_file(fd[i]); in test02()
209 read_file(fd[i]); in test03()
/third_party/skia/third_party/externals/spirv-cross/tests-other/
Dmsl_resource_bindings.cpp16 static std::vector<SpvId> read_file(const char *path) in read_file() function
44 auto buffer = read_file(argv[1]); in main()
Dhlsl_resource_bindings.cpp16 static std::vector<SpvId> read_file(const char *path) in read_file() function
44 auto buffer = read_file(argv[1]); in main()
Dmsl_ycbcr_conversion_test.cpp28 static std::vector<SpvId> read_file(const char *path) in read_file() function
56 auto buffer = read_file(argv[1]); in main()
/third_party/cJSON/fuzzing/
Dafl.c29 static char *read_file(const char *filename) in read_file() function
110 json = read_file(filename); in main()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_cmdline.c62 read_file(const char *filename, void **ptr, size_t *size) in read_file() function
142 ret = read_file(filename, &ptr, &size); in main()
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx06.c74 static void read_file(void) in read_file() function
94 {.operation = read_file,
/third_party/jerryscript/targets/nuttx-stm32f4/
Djerry_main.c71 read_file (const char *file_name, /**< source code */ in read_file() function
229 const jerry_char_t *source_p = read_file (path_str_p, &source_size); in print_unhandled_exception()
412 const jerry_char_t *source_p = read_file (file_names[i], &source_size); in main()

12345