Home
last modified time | relevance | path

Searched refs:read_file (Results 1 - 25 of 94) sorted by relevance

1234

/kernel/linux/linux-5.10/tools/testing/selftests/ntb/
H A Dntb_test.sh99 function read_file() function
147 PEER_PORT=$(read_file "${PEER_DIR}/port")
164 LOCAL_PORT=$(read_file "$LOC/port")
165 REMOTE_PORT=$(read_file "$REM/port")
191 if [[ $(read_file "$REM/link") != "N" ]]; then
209 DB_VALID_MASK=$(read_file "$LOC/db_valid_mask")
214 DB=$(read_file "$REM/db")
268 RVAL=$(read_file "$REM/../spad$i")
293 MSG_OUTBITS_MASK=$(read_file "$LOC/../msg_inbits")
294 MSG_INBITS_MASK=$(read_file "
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/ntb/
H A Dntb_test.sh99 function read_file() function
147 PEER_PORT=$(read_file "${PEER_DIR}/port")
164 LOCAL_PORT=$(read_file "$LOC/port")
165 REMOTE_PORT=$(read_file "$REM/port")
191 if [[ $(read_file "$REM/link") != "N" ]]; then
209 DB_VALID_MASK=$(read_file "$LOC/db_valid_mask")
214 DB=$(read_file "$REM/db")
268 RVAL=$(read_file "$REM/../spad$i")
293 MSG_OUTBITS_MASK=$(read_file "$LOC/../msg_inbits")
294 MSG_INBITS_MASK=$(read_file "
[all...]
/foundation/systemabilitymgr/samgr/test/autotest/tools/
H A Ddisk_drop_log.py49 with open(f"{path}/{file}", "r", encoding="utf-8", errors="ignore") as read_file:
50 count = read_file.read().count(keys)
67 with open(f"{path}/{file}", "r", encoding="utf-8", errors="ignore") as read_file:
68 for line in read_file.readlines():
/third_party/libdrm/intel/
H A 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/spirv-tools/test/diff/diff_files/
H A 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/libsnd/examples/
H A Dsndfilehandle.cc52 read_file (const char * fname) in read_file() function
68 } /* read_file */ in read_file()
78 read_file (fname) ; in main()
/third_party/cJSON/tests/
H A 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()
H A Dcommon.h46 char* read_file(const char *filename);
47 char* read_file(const char *filename) { in read_file() function
/third_party/musl/Benchmark/scripts/
H A 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/nghttp2/script/
H A 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/cJSON/fuzzing/
H A Dafl.c29 static char *read_file(const char *filename) in read_file() function
110 json = read_file(filename); in main()
/third_party/jerryscript/jerry-main/
H A Dmain-unix-test.c36 read_file (const char *file_name, in read_file() function
58 } /* read_file */ in read_file()
95 const jerry_char_t *source_p = read_file (file_name, &source_size); in main()
H A Dmain-unix-snapshot.c138 read_file (uint8_t *input_pos_p, /**< next position in the input buffer */ in read_file() function
168 } /* read_file */ in read_file()
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/skia/third_party/externals/spirv-cross/tests-other/
H A 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()
H A 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()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/
H A Dutils.c31 int read_file(const char *path, char *buf, size_t count, size_t *len) in read_file() function
159 err = read_file("/proc/self/auxv", buf, buf_size, NULL); in read_auxv()
174 return read_file(path, buf, count, NULL); in read_debugfs_file()
311 err = read_file(path, buffer, sizeof(buffer) - 1, NULL); in read_long()
323 err = read_file(path, buffer, sizeof(buffer) - 1, NULL); in read_ulong()
499 return read_file(path, result, result_size, NULL); in read_sysfs_file()
/third_party/python/Lib/lib2to3/tests/
H A 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/ltp/testcases/misc/math/float/
H A 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/tzdata/
H A Dtzselect.ksh193 read_file() { function
203 read_file TZ_COUNTRY_TABLE "$TZDIR/iso3166.tab"
204 read_file TZ_ZONETABTYPE_TABLE "$TZDIR/$zonetabtype.tab"
457 ${TZ_ZONENOW_TABLE:+:} read_file TZ_ZONENOW_TABLE "$TZDIR/zonenow.tab"
/kernel/linux/linux-5.10/scripts/basic/
H A Dfixdep.c261 static void *read_file(const char *filename) in read_file() function
361 buf = read_file(m); in parse_dep_file()
399 buf = read_file(depfile); in main()
/kernel/linux/linux-6.6/scripts/basic/
H A Dfixdep.c214 static void *read_file(const char *filename) in read_file() function
396 buf = read_file(p); in parse_dep_file()
429 buf = read_file(depfile); in main()
/third_party/ltp/testcases/kernel/sched/sched_stress/
H A Dsched_tc6.c98 int read_file(int, char *);
196 if (!read_file(fd, filename)) in main()
197 error("read_file failed", __FILE__, __LINE__); in main()
308 | read_file () |
314 int read_file(int fd, char *filename) in read_file() function
/third_party/ltp/testcases/kernel/syscalls/openat/
H A 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/ltp/testcases/kernel/syscalls/open/
H A 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/kernel/syscalls/statx/
H A Dstatx06.c73 static void read_file(void) in read_file() function
93 {.operation = read_file,

Completed in 12 milliseconds

1234