Home
last modified time | relevance | path

Searched refs:read_file (Results 51 - 75 of 94) sorted by relevance

1234

/third_party/python/Lib/test/
H A Dtest_shutil.py105 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 Dutils.h53 int read_file(const char *path, char *buf, size_t count, size_t *len);
/third_party/cJSON/tests/
H A Djson_patch_tests.c37 file = read_file(filename); in parse_test_file()
/third_party/mbedtls/scripts/
H A Dgenerate_psa_constants.py221 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 Dcpuctl_def_task01.c165 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
H A Dcpuctl_def_task04.c182 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
H A Dcpuctl_def_task02.c176 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
H A Dcpuctl_def_task03.c172 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
H A Dcpuctl_test01.c168 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
H A Dcpuctl_test04.c186 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
H A Dcpuctl_test03.c175 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
/foundation/communication/ipc/interfaces/innerkits/rust/tests/
H A Dparcel_remote.rs63 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 Dinsert-sys-cert.c228 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 Dinsert-sys-cert.c228 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 Dutils.py103 def read_file(input_file): function
403 tmpl_content = read_file(tmpl_file)
/third_party/skia/tools/skdiff/
H A Dskdiff_main.cpp330 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 Dskdiff_utils.cpp29 sk_sp<SkData> read_file(const char* file_path) { in read_file() function
/foundation/arkui/ace_engine/frameworks/core/components/theme/tools/
H A Dbuild_theme_code.py93 def read_file(file_path): function
/test/xts/tools/build/
H A Dutils.py73 def read_file(input_file): function
H A Dsuite.py293 source_content = utils.read_file(source_file)
308 tmpl_content = utils.read_file(tmpl_file)
/third_party/gn/misc/vim/syntax/
H A Dgn.vim38 syn keyword gnFunctions process_file_template propagates_configs read_file
/third_party/alsa-utils/alsamixer/
H A Dtextbox.c77 buf = read_file(file_name, &file_size); in show_textfile()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dkhugepaged.c164 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 Dlatency-collector.c572 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 Delf_begin.c645 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()

Completed in 22 milliseconds

1234