Home
last modified time | relevance | path

Searched refs:NewRandomAccessFile (Results 1 – 25 of 82) sorted by relevance

1234

/external/tensorflow/tensorflow/core/lib/io/
Dbuffered_inputstream_test.cc70 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
88 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
113 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
139 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
169 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
198 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
262 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
300 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
336 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
372 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
[all …]
Dinputbuffer_test.cc46 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
62 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
85 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
109 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
137 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
165 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
195 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
238 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
274 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
329 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
[all …]
Drandom_inputstream_test.cc32 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
62 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
94 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
125 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); in TEST()
Dzlib_buffers_test.cc87 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestAllCombinations()
142 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWrites()
190 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TEST()
232 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestTell()
277 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestSkipNBytes()
318 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestSoftErrorOnDecompress()
330 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestSoftErrorOnDecompress()
Drecord_reader_writer_test.cc70 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); in VerifyFlush()
140 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); in TEST()
182 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); in TEST()
218 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); in TEST()
255 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); in TEST()
293 TF_CHECK_OK(env->NewRandomAccessFile(fname, &read_file)); in TEST()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dround_trip_packed_literal_test.cc60 TF_CHECK_OK(tensorflow::Env::Default()->NewRandomAccessFile(fname, &f)); in TEST_F()
88 TF_CHECK_OK(tensorflow::Env::Default()->NewRandomAccessFile(fname, &f)); in TEST_F()
121 TF_CHECK_OK(tensorflow::Env::Default()->NewRandomAccessFile(fname, &f)); in TEST_F()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system_test.cc90 fs.NewRandomAccessFile("gs://bucket/random_access.txt", nullptr, &file)); in TEST()
138 fs.NewRandomAccessFile("gs://bucket/random_access.txt", nullptr, &file)); in TEST()
187 fs.NewRandomAccessFile("gs://bucket/random_access.txt", nullptr, &file)); in TEST()
235 fs.NewRandomAccessFile("gs://bucket/random_access.txt", nullptr, &file)); in TEST()
277 fs.NewRandomAccessFile("gs://bucket/random_access.txt", nullptr, &file)); in TEST()
329 fs.NewRandomAccessFile("gs://bucket/random_access.txt", nullptr, &file)); in TEST()
371 fs.NewRandomAccessFile("gs://bucket/random_access.txt", nullptr, &file)); in TEST()
419 fs.NewRandomAccessFile("gs://bucket/random_access.txt", nullptr, &file)); in TEST()
462 fs.NewRandomAccessFile("gs://bucket/random_access.txt", nullptr, &file)); in TEST()
508 TF_EXPECT_OK(fs.NewRandomAccessFile(bucket, nullptr, &file)); in TEST()
[all …]
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_test.cc92 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWritesWriteFile()
139 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWrites()
177 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file_reader)); in TestMultipleWritesInputStream()
233 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestTell()
270 TF_CHECK_OK(env->NewRandomAccessFile(fname, &file_reader)); in TestTellInputStream()
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc52 TF_RETURN_IF_ERROR(s3fs.NewRandomAccessFile(fname, &reader)); in ReadAll()
71 TF_RETURN_IF_ERROR(s3fs.NewRandomAccessFile(fname, nullptr, &reader, in ReadAllInChunks()
160 TEST_F(S3FileSystemTest, NewRandomAccessFile) { in TEST_F() argument
167 TF_EXPECT_OK(s3fs.NewRandomAccessFile(fname, &reader)); in TEST_F()
Ds3_file_system.h54 Status NewRandomAccessFile(
58 Status NewRandomAccessFile(const string& fname, TransactionToken* token,
/external/tensorflow/tensorflow/core/platform/
Denv.cc155 Status Env::NewRandomAccessFile(const string& fname, in NewRandomAccessFile() function in tensorflow::Env
159 return fs->NewRandomAccessFile(fname, result); in NewRandomAccessFile()
430 s = env->NewRandomAccessFile(fname, &file); in ReadFileToString()
469 TF_RETURN_IF_ERROR(src_fs->NewRandomAccessFile(src, &src_file)); in FileSystemCopyFile()
545 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file)); in ReadBinaryProto()
568 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(fname, &file)); in ReadTextProto()
Dfile_system.h70 virtual tensorflow::Status NewRandomAccessFile( in NewRandomAccessFile() function
72 return NewRandomAccessFile(fname, nullptr, result); in NewRandomAccessFile()
75 virtual tensorflow::Status NewRandomAccessFile( in NewRandomAccessFile() function
530 using FileSystem::NewRandomAccessFile; \
560 tensorflow::Status NewRandomAccessFile( in NewRandomAccessFile() function
563 return fs_->NewRandomAccessFile(fname, (token ? token : token_), result); in NewRandomAccessFile()
Dretrying_file_system.h43 Status NewRandomAccessFile(
241 Status RetryingFileSystem<Underlying>::NewRandomAccessFile( in NewRandomAccessFile() function
247 return base_file_system_->NewRandomAccessFile(filename, token, in NewRandomAccessFile()
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc51 TF_RETURN_IF_ERROR(hdfs.NewRandomAccessFile(fname, &reader)); in ReadAll()
75 TF_EXPECT_OK(hdfs.NewRandomAccessFile(fname, &reader)); in TEST_F()
219 TF_EXPECT_OK(hdfs.NewRandomAccessFile(fname, &reader)); in TEST_F()
252 TF_EXPECT_OK(hdfs.NewRandomAccessFile(fname, &reader)); in TEST_F()
Dhadoop_file_system.h40 Status NewRandomAccessFile(
/external/tensorflow/tensorflow/core/util/
Dmemmapped_file_system_test.cc123 memmapped_env.NewRandomAccessFile(kProtoFileName, &file).code()); in TEST()
163 memmapped_env.NewRandomAccessFile(filename, &random_access_file)); in TEST()
/external/tensorflow/tensorflow/python/framework/
Dtest_file_system.cc41 Status NewRandomAccessFile( in NewRandomAccessFile() function in tensorflow::TestFileSystem
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dgcs_filesystem_test.cc139 tf_gcs_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), in ReadAll()
264 tf_gcs_filesystem::NewRandomAccessFile(filesystem_, filepath.c_str(), file, in TEST_F()
545 tf_gcs_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), file, in TEST_F()
573 tf_gcs_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), file, in TEST_F()
601 tf_gcs_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), file, in TEST_F()
631 tf_gcs_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), file, in TEST_F()
/external/tensorflow/tensorflow/core/data/service/
Dutils.cc42 TF_RETURN_IF_ERROR(Env::Default()->NewRandomAccessFile(path, &file)); in ReadDatasetDef()
/external/tensorflow/tensorflow/python/lib/io/
Dpy_record_reader.cc39 Status s = Env::Default()->NewRandomAccessFile(filename, &file); in New()
/external/tensorflow/tensorflow/core/kernels/data/
Dfixed_length_record_dataset_op.cc189 TF_RETURN_IF_ERROR(ctx->env()->NewRandomAccessFile( in GetNextInternal()
232 TF_RETURN_IF_ERROR(ctx->env()->NewRandomAccessFile( in RestoreInternal()
351 TF_RETURN_IF_ERROR(ctx->env()->NewRandomAccessFile( in GetNextInternal()
414 TF_RETURN_IF_ERROR(ctx->env()->NewRandomAccessFile( in RestoreInternal()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/
Dhadoop_filesystem_test.cc93 tf_hadoop_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), in ReadAll()
129 tf_hadoop_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), in TEST_F()
325 tf_hadoop_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), in TEST_F()
367 tf_hadoop_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhex_floats_to_packed_literal.cc57 tensorflow::Env::Default()->NewRandomAccessFile(input_file, &file)); in main()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Ds3_filesystem_test.cc162 tf_s3_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), in ReadAll()
194 tf_s3_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), in ReadAllInChunks()
251 TEST_F(S3FilesystemTest, NewRandomAccessFile) { in TEST_F() argument
259 tf_s3_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), reader.get(), in TEST_F()
/external/tensorflow/tensorflow/core/kernels/
Dtf_record_reader_op.cc39 TF_RETURN_IF_ERROR(env_->NewRandomAccessFile(current_work(), &file_)); in OnWorkStartedLocked()

1234