Home
last modified time | relevance | path

Searched refs:WritableFile (Results 1 – 25 of 92) sorted by relevance

1234

/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem_test.cc225 std::unique_ptr<WritableFile> new_file; in TEST_P()
232 std::unique_ptr<WritableFile> new_file; in TEST_P()
242 std::unique_ptr<WritableFile> new_file; in TEST_P()
249 std::unique_ptr<WritableFile> file; in TEST_P()
254 std::unique_ptr<WritableFile> new_file; in TEST_P()
261 std::unique_ptr<WritableFile> new_file; in TEST_P()
268 std::unique_ptr<WritableFile> new_file; in TEST_P()
278 std::unique_ptr<WritableFile> new_file; in TEST_P()
285 std::unique_ptr<WritableFile> new_file; in TEST_P()
290 std::unique_ptr<WritableFile> same_file; in TEST_P()
[all …]
/external/tensorflow/tensorflow/core/util/
Ddump_graph.cc77 WritableFile*)>
95 class StderrWritableFile : public WritableFile {
125 std::unique_ptr<WritableFile>* file) { in CreateWritableFile()
163 WritableFile* file) { in WriteTextProtoToUniqueFile()
173 const tensorflow::protobuf::MessageLite& proto, WritableFile* file) { in WriteTextProtoToUniqueFile()
187 WritableFile*)> in SetGraphDumper()
199 std::unique_ptr<WritableFile> file; in DumpGraphDefToFile()
218 std::unique_ptr<WritableFile> file; in DumpCostGraphDefToFile()
246 std::unique_ptr<WritableFile> file; in DumpGraphToFile()
274 std::unique_ptr<WritableFile> file; in DumpFunctionDefToFile()
Dtensor_slice_writer.cc38 TableBuilder(const string& name, WritableFile* f) : name_(name), file_(f) { in TableBuilder()
66 std::unique_ptr<WritableFile> file_;
74 std::unique_ptr<WritableFile> f; in CreateTableTensorSliceBuilder()
Dmemmapped_file_system_test.cc143 std::unique_ptr<WritableFile> writable_file_temp; in TEST()
146 const auto adh = [&memmapped_env, &filename](WritableFile* f) { in TEST()
150 std::unique_ptr<WritableFile, decltype(adh)> writable_file( in TEST()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Ddump_graph.cc42 explicit WritableFileRawStream(WritableFile* file) : file(file) { in WritableFileRawStream()
60 WritableFile* file;
66 WritableFile* file) { in DumpTextualIRToFile()
99 WritableFile* file) -> Status { in UseMlirForGraphDump()
Ddump_mlir_util.cc82 explicit WritableFileRawStream(std::unique_ptr<WritableFile> file) in WritableFileRawStream()
98 std::unique_ptr<WritableFile> file;
103 std::unique_ptr<WritableFile> file) in CrashReproducerStream()
146 std::unique_ptr<WritableFile> file; in CreateFileForDumping()
248 std::unique_ptr<WritableFile> file; in SetCrashReproducer()
/external/tensorflow/tensorflow/core/platform/
Dretrying_file_system.h48 std::unique_ptr<WritableFile>* result) override;
51 std::unique_ptr<WritableFile>* result) override;
197 class RetryingWritableFile : public WritableFile {
199 RetryingWritableFile(std::unique_ptr<WritableFile> base_file, in RetryingWritableFile()
234 std::unique_ptr<WritableFile> base_file_;
259 std::unique_ptr<WritableFile>* result) { in NewWritableFile()
260 std::unique_ptr<WritableFile> base_file; in NewWritableFile()
274 std::unique_ptr<WritableFile>* result) { in NewAppendableFile()
275 std::unique_ptr<WritableFile> base_file; in NewAppendableFile()
Dretrying_file_system_test.cc77 class MockWritableFile : public WritableFile {
112 std::unique_ptr<WritableFile>* result) override { in NewWritableFile()
118 std::unique_ptr<WritableFile>* result) override { in NewAppendableFile()
186 std::unique_ptr<WritableFile> writable_file_to_return;
316 std::unique_ptr<WritableFile> base_file( in TEST()
329 std::unique_ptr<WritableFile> writable_file; in TEST()
347 std::unique_ptr<WritableFile> base_file( in TEST()
360 std::unique_ptr<WritableFile> writable_file; in TEST()
374 std::unique_ptr<WritableFile> base_file( in TEST()
387 std::unique_ptr<WritableFile> writable_file; in TEST()
[all …]
Dfile_system.h45 class WritableFile; variable
96 const std::string& fname, std::unique_ptr<WritableFile>* result) { in NewWritableFile()
102 std::unique_ptr<WritableFile>* result) { in NewWritableFile()
118 const std::string& fname, std::unique_ptr<WritableFile>* result) { in NewAppendableFile()
124 std::unique_ptr<WritableFile>* result) { in NewAppendableFile()
568 std::unique_ptr<WritableFile>* result) override { in NewWritableFile()
574 std::unique_ptr<WritableFile>* result) override { in NewAppendableFile()
772 class WritableFile {
774 WritableFile() {} in WritableFile() function
775 virtual ~WritableFile() = default;
[all …]
Dram_file_system.h45 class RamRandomAccessFile : public RandomAccessFile, public WritableFile {
121 std::unique_ptr<WritableFile>* result) override { in NewWritableFile()
126 *result = std::unique_ptr<WritableFile>( in NewWritableFile()
131 std::unique_ptr<WritableFile>* result) override { in NewAppendableFile()
136 *result = std::unique_ptr<WritableFile>( in NewAppendableFile()
Dnull_file_system.h48 std::unique_ptr<WritableFile>* result) override { in NewWritableFile()
53 std::unique_ptr<WritableFile>* result) override { in NewAppendableFile()
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_outputbuffer.h48 class SnappyOutputBuffer : public WritableFile {
55 SnappyOutputBuffer(WritableFile* file, int32 input_buffer_bytes,
134 WritableFile* file_; // Not owned
/external/tensorflow/tensorflow/core/lib/io/
Dzlib_outputbuffer.h38 class ZlibOutputBuffer : public WritableFile {
47 WritableFile* file,
96 WritableFile* file_; // Not owned
Drecord_reader_writer_test.cc65 std::unique_ptr<WritableFile> file; in VerifyFlush()
126 std::unique_ptr<WritableFile> file; in TEST()
167 std::unique_ptr<WritableFile> file; in TEST()
204 std::unique_ptr<WritableFile> file; in TEST()
240 std::unique_ptr<WritableFile> file; in TEST()
278 std::unique_ptr<WritableFile> file; in TEST()
313 std::unique_ptr<WritableFile> file; in TEST()
Drecord_writer.h35 class WritableFile; variable
71 explicit RecordWriter(WritableFile* dest, const RecordWriterOptions& options =
112 WritableFile* dest_;
Dtable_builder.h32 class WritableFile; variable
43 TableBuilder(const Options& options, WritableFile* file);
Dzlib_buffers_test.cc73 std::unique_ptr<WritableFile> file_writer; in TestAllCombinations()
121 std::unique_ptr<WritableFile> file_writer; in TestMultipleWrites()
177 std::unique_ptr<WritableFile> file_writer; in TEST()
204 std::unique_ptr<WritableFile> file_writer; in WriteCompressedFile()
309 std::unique_ptr<WritableFile> file_writer; in TestSoftErrorOnDecompress()
/external/tensorflow/tensorflow/c/
Denv.cc69 std::unique_ptr<::tensorflow::WritableFile> f; in TF_NewWritableFile()
81 auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); in TF_CloseWritableFile()
88 auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); in TF_SyncWritableFile()
94 auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); in TF_FlushWritableFile()
101 auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); in TF_AppendWritableFile()
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_wrapper.cc235 using tensorflow::WritableFile; in PYBIND11_MODULE()
236 py::class_<WritableFile>(m, "WritableFile") in PYBIND11_MODULE()
241 std::unique_ptr<WritableFile> self; in PYBIND11_MODULE()
252 [](WritableFile* self, tensorflow::StringPiece data) { in PYBIND11_MODULE()
259 [](WritableFile* self) { in PYBIND11_MODULE()
267 [](WritableFile* self) { in PYBIND11_MODULE()
271 .def("close", [](WritableFile* self) { in PYBIND11_MODULE()
/external/tensorflow/tensorflow/compiler/xla/
Dtext_literal_writer.cc34 std::unique_ptr<tensorflow::WritableFile> f; in WriteToPath()
46 tensorflow::WritableFile* f_ptr = f.get(); in WriteToPath()
/external/tensorflow/tensorflow/core/kernels/
Dspectrogram_test_utils.cc178 std::unique_ptr<WritableFile> file; in WriteDoubleVectorToFile()
200 std::unique_ptr<WritableFile> file; in WriteFloatVectorToFile()
222 std::unique_ptr<WritableFile> file; in WriteDoubleArrayToFile()
244 std::unique_ptr<WritableFile> file; in WriteFloatArrayToFile()
267 std::unique_ptr<WritableFile> file; in WriteComplexVectorToRawFloatFile()
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc544 void WriteClassDecl(WritableFile* h) const;
547 void WriteClassDef(WritableFile* cc) const;
809 void OpInfo::WriteClassDecl(WritableFile* h) const { in WriteClassDecl()
1000 void OpInfo::WriteClassDef(WritableFile* cc) const { in WriteClassDef()
1027 const std::vector<string>& aliases, WritableFile* h, in WriteCCOp()
1028 WritableFile* cc) { in WriteCCOp()
1035 void StartFiles(bool internal, const string& dot_h_fname, WritableFile* h, in StartFiles()
1036 WritableFile* cc, string* op_header_guard) { in StartFiles()
1090 void FinishFiles(bool internal, WritableFile* h, WritableFile* cc, in FinishFiles()
1129 std::unique_ptr<WritableFile> h = nullptr; in WriteCCOps()
[all …]
/external/tensorflow/tensorflow/tools/android/inference_interface/
Dasset_manager_filesystem.h66 std::unique_ptr<WritableFile>* result) override;
68 std::unique_ptr<WritableFile>* result) override;
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system.h45 std::unique_ptr<WritableFile>* result) override;
48 std::unique_ptr<WritableFile>* result) override;
/external/tensorflow/tensorflow/core/platform/default/
Dposix_file_system.h37 std::unique_ptr<WritableFile>* result) override;
40 std::unique_ptr<WritableFile>* result) override;

1234