/third_party/python/Lib/test/ |
H A D | test_shutil.py | 105 def read_file(path, binary=False): function 485 actual = read_file((dst_dir, 'test.txt')) 487 actual = read_file((dst_dir, 'test_dir', 'test.txt')) 507 actual = read_file((dst_dir, 'nonexisting.txt')) 509 actual = read_file((dst_dir, 'existing_dir', 'existing.txt')) 1096 self.assertEqual(read_file(src), read_file(dst)) 1142 self.assertEqual(read_file(src), read_file(dst)) 1292 self.assertEqual(read_file(src_fil [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/include/ |
H A D | utils.h | 53 int read_file(const char *path, char *buf, size_t count, size_t *len);
|
/third_party/cJSON/tests/ |
H A D | json_patch_tests.c | 37 file = read_file(filename); in parse_test_file()
|
/third_party/mbedtls/scripts/ |
H A D | generate_psa_constants.py | 221 1. Call `read_file` on the input header file(s). 332 collector.read_file(header_file)
|
/third_party/ltp/testcases/kernel/controllers/cpuctl/ |
H A D | cpuctl_def_task01.c | 165 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
|
H A D | cpuctl_def_task04.c | 182 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
|
H A D | cpuctl_def_task02.c | 176 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
|
H A D | cpuctl_def_task03.c | 172 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
|
H A D | cpuctl_test01.c | 168 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
|
H A D | cpuctl_test04.c | 186 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
|
H A D | cpuctl_test03.c | 175 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
|
/foundation/communication/ipc/interfaces/innerkits/rust/tests/ |
H A D | parcel_remote.rs | 63 reply.write_file(data.read_file().unwrap()); in parcel_remote_primitive() 214 let mut file = reply.read_file().unwrap(); in parcel_read_and_write()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | insert-sys-cert.c | 228 static char *read_file(char *file_name, int *size) in read_file() function 310 cert = read_file(cert_file, &cert_size); in main()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | insert-sys-cert.c | 228 static char *read_file(char *file_name, int *size) in read_file() function 310 cert = read_file(cert_file, &cert_size); in main()
|
/test/xts/tools/lite/build/ |
H A D | utils.py | 103 def read_file(input_file): function 403 tmpl_content = read_file(tmpl_file)
|
/third_party/skia/tools/skdiff/ |
H A D | skdiff_main.cpp | 330 sk_sp<SkData> fileBits(read_file(resource.fFullPath.c_str())); in get_bounds() 460 sk_sp<SkData> baseFileBits(read_file(drp.fBase.fFullPath.c_str())); in create_diff_images() 464 sk_sp<SkData> comparisonFileBits(read_file(drp.fComparison.fFullPath.c_str())); in create_diff_images()
|
H A D | skdiff_utils.cpp | 29 sk_sp<SkData> read_file(const char* file_path) { in read_file() function
|
/foundation/arkui/ace_engine/frameworks/core/components/theme/tools/ |
H A D | build_theme_code.py | 93 def read_file(file_path): function
|
/test/xts/tools/build/ |
H A D | utils.py | 73 def read_file(input_file): function
|
H A D | suite.py | 293 source_content = utils.read_file(source_file) 308 tmpl_content = utils.read_file(tmpl_file)
|
/third_party/gn/misc/vim/syntax/ |
H A D | gn.vim | 38 syn keyword gnFunctions process_file_template propagates_configs read_file
|
/third_party/alsa-utils/alsamixer/ |
H A D | textbox.c | 77 buf = read_file(file_name, &file_size); in show_textfile()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | khugepaged.c | 164 static int read_file(const char *path, char *buf, size_t buflen) in read_file() function 221 if (!read_file(path, buf, sizeof(buf))) { in read_string() 274 if (read_file(path, buf, sizeof(buf)) < 0) { in _read_num() 275 perror("read_file(read_num)"); in _read_num() 458 if (read_file(path, buf, sizeof(buf)) < 0) { in get_finfo() 459 perror("read_file(read_num)"); in get_finfo()
|
/kernel/linux/linux-6.6/tools/tracing/latency/ |
H A D | latency-collector.c | 572 static char *read_file(const char *file, enum errhandling h) in read_file() function 629 maxlat = read_file(TR_MAXLAT, ERR_WARN); in cleanup_exit() 1380 tracer = read_file(TR_CURRENT, ERR_EXIT); in save_and_disable_tracer() 1381 orig_th = read_file(TR_THRESH, ERR_EXIT); in save_and_disable_tracer()
|
/third_party/elfutils/libelf/ |
H A D | elf_begin.c | 645 read_file (int fildes, int64_t offset, size_t maxsize, in read_file() function 1092 result = read_file (fildes, ref->state.ar.offset + sizeof (struct ar_hdr), in dup_elf() 1193 retval = read_file (fildes, 0, ~((size_t) 0), cmd, NULL); in elf_begin() 1215 retval = read_file (fildes, 0, ~((size_t) 0), cmd, NULL); in elf_begin()
|