Home
last modified time | relevance | path

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

123456

/external/linux-kselftest/tools/testing/selftests/ntb/
Dntb_test.sh108 function read_file() function
156 PEER_PORT=$(read_file "${PEER_DIR}/port")
173 LOCAL_PORT=$(read_file "$LOC/port")
174 REMOTE_PORT=$(read_file "$REM/port")
200 if [[ $(read_file "$REM/link") != "N" ]]; then
218 DB_VALID_MASK=$(read_file "$LOC/db_valid_mask")
223 DB=$(read_file "$REM/db")
277 RVAL=$(read_file "$REM/../spad$i")
302 MSG_OUTBITS_MASK=$(read_file "$LOC/../msg_inbits")
303 MSG_INBITS_MASK=$(read_file "$REM/../msg_inbits")
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Drecord_reader_writer_test.cc69 std::unique_ptr<RandomAccessFile> read_file; in VerifyFlush() local
70 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); in VerifyFlush()
72 io::RecordReader reader(read_file.get(), read_options); in VerifyFlush()
138 std::unique_ptr<RandomAccessFile> read_file; in TEST() local
140 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); in TEST()
143 io::RecordReader reader(read_file.get(), options); in TEST()
182 std::unique_ptr<RandomAccessFile> read_file; in TEST() local
184 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); in TEST()
188 io::RecordReader reader(read_file.get(), options); in TEST()
/external/autotest/client/site_tests/power_Thermal/
Dpower_Thermal.py123 count += int(utils.read_file(
131 return int(utils.read_file(
138 return float(utils.read_file(
152 return float(utils.read_file(
204 current_gov = utils.read_file(gov_file).strip()
205 available_govs = utils.read_file(PER_CORE_FREQ_TEMPLATE % (
276 present = utils.read_file(os.path.join(CPU_INFO_ROOT, 'present'))
281 min_freq = int(utils.read_file(
283 max_freq = int(utils.read_file(
/external/autotest/client/cros/
Dliststorage.py36 def read_file(path_to_file, host=None): function
49 return utils.read_file(path_to_file)
204 readonly = read_file("%s/ro" % part_path, host)
206 partition_blocks = read_file("%s/size" % part_path, host)
216 mounts = read_file("/proc/mounts", host).splitlines()
288 block_size = int(read_file("%s/queue/physical_block_size" % spath,
290 is_removable = bool(int(read_file("%s/removable" % spath, host)))
/external/u-boot/test/py/tests/
Dtest_fit.py136 def read_file(fname): function
271 expected_data = read_file(expected_fname)
272 actual_data = read_file(actual_fname)
283 expected_data = read_file(expected_fname)
284 actual_data = read_file(actual_fname)
375 data = read_file(fit)
/external/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()
/external/autotest/client/site_tests/logging_UserCrash/
Dlogging_UserCrash.py27 output = utils.read_file(self._CORE_PATTERN).rstrip()
45 output = utils.read_file(self._CORE_PATTERN).rstrip()
159 old_core_pattern = utils.read_file(self._CORE_PATTERN)[:-1]
173 log_contents = utils.read_file(result['log'])
211 contents = utils.read_file(result['log'])
214 if not ('log=' + result['log']) in utils.read_file(result['meta']):
/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_image_op_test.py41 bmp0 = io_ops.read_file(path)
58 gif0 = io_ops.read_file(path)
88 jpeg0 = io_ops.read_file(path)
107 png0 = io_ops.read_file(path)
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dbitwriter.ml14 let read_file name = function
31 let temp_buf = read_file temp_name in
41 let file_buf = read_file Sys.argv.(1) in
/external/antlr/runtime/Perl5/t/lib/ANTLR/Runtime/
DTest.pm17 sub read_file { subroutine
127 my $err = read_file('err.tmp');
133 my $out = read_file('out.tmp');
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_ReadFile.pbtxt4 name: "io.read_file"
7 name: "read_file"
/external/llvm/test/Bindings/OCaml/
Dbitwriter.ml17 let read_file name = function
34 let temp_buf = read_file temp_name in
44 let file_buf = read_file Sys.argv.(1) in
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/OCaml/
Dbitwriter.ml17 let read_file name = function
34 let temp_buf = read_file temp_name in
44 let file_buf = read_file Sys.argv.(1) in
/external/autotest/client/site_tests/kernel_CrosECSysfsAccel/
Dkernel_CrosECSysfsAccel.py44 content = utils.read_file(fullpath)
60 content = utils.read_file(namepath)
77 location = utils.read_file(locpath)
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_refactor.py184 old_contents = self.read_file(test_file)
190 self.assertEqual(old_contents, self.read_file(test_file))
195 new_contents = self.read_file(test_file)
207 def read_file(self, test_file): member in TestRefactoringTool
213 old_contents = self.read_file(test_file)
216 new_contents = self.read_file(test_file)
/external/libchrome/mojo/public/tools/bindings/
Dblink_bindings_configuration.gni21 _imported = read_file(typemap_import, "scope")
30 config = read_file(typemap, "scope")
/external/autotest/client/site_tests/kernel_VbootContextEC/
Dkernel_VbootContextEC.py25 media = utils.read_file(self.dts_node_path).strip('\n\x00')
46 vc_got = utils.read_file(sysfs_entry).strip('\n\x00')
/external/autotest/client/cros/faft/utils/
Dos_interface.py139 def read_file(self, path): member in OSInterface
141 return self.shell.read_file(path)
253 removable = int(self.read_file('/sys/block/%s/removable' % base_dev))
372 data = self.read_file(tmp_file)
Dshell_wrapper.py74 def read_file(self, path): member in LocalShell
162 def read_file(self, path): member in AdbShell
167 return self._host_shell.read_file(f.name)
/external/iw/
Dvendor.c16 static int read_file(FILE *file, char *buf, size_t size) in read_file() function
78 count = read_file(file, buf, sizeof(buf)); in handle_vendor()
/external/ltp/testcases/kernel/syscalls/open/
Dopen14.c114 static void read_file(int fd) in read_file() function
153 read_file(fd[i]); in test02()
199 read_file(fd[i]); in test03()
/external/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()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat03.c125 static void read_file(int fd) in read_file() function
164 read_file(fd[i]); in test02()
210 read_file(fd[i]); in test03()
/external/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
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util_unittest.py29 with open(self.read_only_path, 'w+') as read_file:
30 read_file.write('Read-only file')
44 with open(self.sub_read_only_path, 'w+') as read_file:
45 read_file.write('Read-only sub file')

123456