Home
last modified time | relevance | path

Searched refs:NewWritableFile (Results 1 – 25 of 77) sorted by relevance

1234

/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem_test.cc226 Status status = env_->NewWritableFile(filepath, &new_file); in TEST_P()
233 Status status = env_->NewWritableFile(filepath, &new_file); in TEST_P()
243 status = env_->NewWritableFile(filepath, &new_file); in TEST_P()
250 Status status = env_->NewWritableFile(filepath, &file); in TEST_P()
255 status = env_->NewWritableFile(new_path, &new_file); in TEST_P()
286 Status status = env_->NewWritableFile(filepath, &new_file); in TEST_P()
298 Status status = env_->NewWritableFile(filepath, &file); in TEST_P()
335 Status status = env_->NewWritableFile(filepath, &new_file); in TEST_P()
347 Status status = env_->NewWritableFile(filepath, &file); in TEST_P()
384 Status status = env_->NewWritableFile(filepath, &new_file); in TEST_P()
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Drecord_reader_writer_test.cc66 TF_CHECK_OK(env->NewWritableFile(fname, &file)); in VerifyFlush()
127 TF_CHECK_OK(env->NewWritableFile(fname, &file)); in TEST()
168 TF_CHECK_OK(env->NewWritableFile(fname, &file)); in TEST()
205 TF_CHECK_OK(env->NewWritableFile(fname, &file)); in TEST()
241 TF_CHECK_OK(env->NewWritableFile(fname, &file)); in TEST()
279 TF_CHECK_OK(env->NewWritableFile(fname, &file)); in TEST()
314 TF_CHECK_OK(env->NewWritableFile(fname, &file)); in TEST()
Dzlib_buffers_test.cc74 TF_ASSERT_OK(env->NewWritableFile(fname, &file_writer)); in TestAllCombinations()
125 TF_ASSERT_OK(env->NewWritableFile(fname, &file_writer)); in TestMultipleWrites()
178 TF_ASSERT_OK(env->NewWritableFile(fname, &file_writer)); in TEST()
205 TF_ASSERT_OK(env->NewWritableFile(fname, &file_writer)); in WriteCompressedFile()
310 TF_ASSERT_OK(env->NewWritableFile(fname, &file_writer)); in TestSoftErrorOnDecompress()
/external/tensorflow/tensorflow/core/kernels/
Dspectrogram_test_utils.cc179 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteDoubleVectorToFile()
201 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteFloatVectorToFile()
223 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteDoubleArrayToFile()
245 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteFloatArrayToFile()
268 if (!Env::Default()->NewWritableFile(file_name, &file).ok()) { in WriteComplexVectorToRawFloatFile()
/external/tensorflow/tensorflow/core/platform/
Dfile_system.h95 virtual tensorflow::Status NewWritableFile( in NewWritableFile() function
97 return NewWritableFile(fname, nullptr, result); in NewWritableFile()
100 virtual tensorflow::Status NewWritableFile( in NewWritableFile() function
531 using FileSystem::NewWritableFile; \
566 tensorflow::Status NewWritableFile( in NewWritableFile() function
569 return fs_->NewWritableFile(fname, (token ? token : token_), result); in NewWritableFile()
Dretrying_file_system.h47 Status NewWritableFile(const string& filename, TransactionToken* token,
257 Status RetryingFileSystem<Underlying>::NewWritableFile( in NewWritableFile() function
263 return base_file_system_->NewWritableFile(filename, token, &base_file); in NewWritableFile()
Denv.cc169 Status Env::NewWritableFile(const string& fname, in NewWritableFile() function in tensorflow::Env
173 return fs->NewWritableFile(fname, result); in NewWritableFile()
455 Status s = env->NewWritableFile(fname, &file); in WriteStringToFile()
480 TF_RETURN_IF_ERROR(target_fs->NewWritableFile(target_name, &target_file)); in FileSystemCopyFile()
Dnull_file_system.h47 Status NewWritableFile(const string& fname, TransactionToken* token, in NewWritableFile() function
Dretrying_file_system_test.cc111 Status NewWritableFile(const string& fname, TransactionToken* token, in NewWritableFile() function in tensorflow::__anon4b079d520111::MockFileSystem
330 TF_EXPECT_OK(fs.NewWritableFile("filename.txt", nullptr, &writable_file)); in TEST()
361 TF_EXPECT_OK(fs.NewWritableFile("filename.txt", nullptr, &writable_file)); in TEST()
388 TF_EXPECT_OK(fs.NewWritableFile("filename.txt", nullptr, &writable_file)); in TEST()
438 TF_EXPECT_OK(fs.NewWritableFile("filename.txt", nullptr, &writable_file)); in TEST()
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc44 TF_RETURN_IF_ERROR(s3fs.NewWritableFile(fname, &writer)); in WriteString()
183 TEST_F(S3FileSystemTest, NewWritableFile) { in TEST_F() argument
186 TF_EXPECT_OK(s3fs.NewWritableFile(fname, &writer)); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/
Dtext_literal_writer.cc35 auto s = tensorflow::Env::Default()->NewWritableFile(string(path), &f); in WriteToPath()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfreeze_requantization_ranges_test.cc108 Env::Default()->NewWritableFile(min_max_log_file_name, &file)); in TestFreezeRequantizationRanges()
162 Env::Default()->NewWritableFile(min_max_log_file_name, &file)); in TestExtractMinMaxRecords()
/external/tensorflow/tensorflow/core/data/service/
Dutils.cc30 TF_RETURN_IF_ERROR(Env::Default()->NewWritableFile(path, &file)); in WriteDatasetDef()
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_test.cc70 TF_RETURN_IF_ERROR(env->NewWritableFile(fname, &file_writer)); in TestMultipleWritesWriteFile()
89 env->NewWritableFile(corrupt_fname, &corrupt_file_writer)); in TestMultipleWritesWriteFile()
210 TF_CHECK_OK(env->NewWritableFile(fname, &file_writer)); in TestTellWriteFile()
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc43 TF_RETURN_IF_ERROR(hdfs.NewWritableFile(fname, &writer)); in WriteString()
97 TF_EXPECT_OK(hdfs.NewWritableFile(fname, &writer)); in TEST_F()
212 TF_EXPECT_OK(hdfs.NewWritableFile(fname, &writer)); in TEST_F()
Dhadoop_file_system.h44 Status NewWritableFile(const string& fname, TransactionToken* token,
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Ddump_mlir_util.cc147 status = env->NewWritableFile(*filepath, &file); in CreateFileForDumping()
249 Status status = tensorflow::Env::Default()->NewWritableFile(path, &file); in SetCrashReproducer()
/external/tensorflow/tensorflow/tools/android/inference_interface/
Dasset_manager_filesystem.h65 Status NewWritableFile(const string& fname, TransactionToken* token,
/external/tensorflow/tensorflow/core/platform/default/
Dposix_file_system.h36 Status NewWritableFile(const string& fname, TransactionToken* token,
/external/tensorflow/tensorflow/core/platform/windows/
Dwindows_file_system.h41 Status NewWritableFile(const string& fname, TransactionToken* token,
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/
Dhadoop_filesystem.h61 void NewWritableFile(const TF_Filesystem* filesystem, const char* path,
Dhadoop_filesystem_test.cc81 tf_hadoop_filesystem::NewWritableFile(filesystem_, path.c_str(), in WriteString()
154 tf_hadoop_filesystem::NewWritableFile(filesystem_, path.c_str(), writer.get(), in TEST_F()
313 tf_hadoop_filesystem::NewWritableFile(filesystem_, path.c_str(), writer.get(), in TEST_F()
/external/tensorflow/tensorflow/core/util/
Dreporter.cc49 TF_RETURN_IF_ERROR(env->NewWritableFile(mangled_fname, &log_file_)); in Initialize()
Devents_writer.cc77 env_->NewWritableFile(filename_, &recordio_file_), in InitIfNeeded()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dto_tf_record_op.cc69 TF_RETURN_IF_ERROR(ctx->env()->NewWritableFile(filename, &file)); in DoCompute()

1234