Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem_test.cc223 std::unique_ptr<WritableFile> new_file; in TEST_P()
230 std::unique_ptr<WritableFile> new_file; in TEST_P()
240 std::unique_ptr<WritableFile> new_file; in TEST_P()
247 std::unique_ptr<WritableFile> file; in TEST_P()
252 std::unique_ptr<WritableFile> new_file; in TEST_P()
259 std::unique_ptr<WritableFile> new_file; in TEST_P()
266 std::unique_ptr<WritableFile> new_file; in TEST_P()
276 std::unique_ptr<WritableFile> new_file; in TEST_P()
283 std::unique_ptr<WritableFile> new_file; in TEST_P()
288 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()
177 const tensorflow::protobuf::MessageLite& proto, WritableFile* file) { in WriteTextProtoToUniqueFile()
192 std::function<Status(WritableFile*)> dumper) { in DumpToFile()
194 std::unique_ptr<WritableFile> file; in DumpToFile()
215 WritableFile*)> in SetGraphDumper()
226 return DumpToFile(name, dirname, ".pbtxt", "Graph", [&](WritableFile* file) { in DumpGraphDefToFile()
233 return DumpToFile(name, dirname, ".pbtxt", "Graph", [&](WritableFile* file) { in DumpCostGraphDefToFile()
[all …]
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.cc147 std::unique_ptr<WritableFile> writable_file_temp; in TEST()
150 const auto adh = [&memmapped_env, &filename](WritableFile* f) { in TEST()
154 std::unique_ptr<WritableFile, decltype(adh)> writable_file( in TEST()
/external/leveldb/include/leveldb/
Denv.h49 class WritableFile; variable
96 WritableFile** result) = 0;
111 WritableFile** result);
277 class LEVELDB_EXPORT WritableFile {
279 WritableFile() = default;
281 WritableFile(const WritableFile&) = delete;
282 WritableFile& operator=(const WritableFile&) = delete;
284 virtual ~WritableFile();
352 Status NewWritableFile(const std::string& f, WritableFile** r) override { in NewWritableFile()
355 Status NewAppendableFile(const std::string& f, WritableFile** r) override { in NewAppendableFile()
Dtable_builder.h26 class WritableFile; variable
33 TableBuilder(const Options& options, WritableFile* file);
/external/leveldb/db/
Ddumpfile.cc50 WritableFile* dst_;
55 void (*func)(uint64_t, Slice, WritableFile*), in PrintLogContents() argument
56 WritableFile* dst) { in PrintLogContents()
92 WritableFile* dst_;
97 static void WriteBatchPrinter(uint64_t pos, Slice record, WritableFile* dst) { in WriteBatchPrinter()
122 Status DumpLog(Env* env, const std::string& fname, WritableFile* dst) { in DumpLog()
128 static void VersionEditPrinter(uint64_t pos, Slice record, WritableFile* dst) { in VersionEditPrinter()
143 Status DumpDescriptor(Env* env, const std::string& fname, WritableFile* dst) { in DumpDescriptor()
147 Status DumpTable(Env* env, const std::string& fname, WritableFile* dst) { in DumpTable()
214 Status DumpFile(Env* env, const std::string& fname, WritableFile* dst) { in DumpFile()
Dlog_writer.h16 class WritableFile; variable
25 explicit Writer(WritableFile* dest);
30 Writer(WritableFile* dest, uint64_t dest_length);
42 WritableFile* dest_;
Dfault_injection_test.cc67 WritableFile* tmp_file; in Truncate()
108 class TestWritableFile : public WritableFile {
110 TestWritableFile(const FileState& state, WritableFile* f,
120 WritableFile* target_;
133 WritableFile** result) override;
135 WritableFile** result) override;
166 TestWritableFile::TestWritableFile(const FileState& state, WritableFile* f, in TestWritableFile()
231 WritableFile** result) { in NewWritableFile()
232 WritableFile* actual_writable_file; in NewWritableFile()
249 WritableFile** result) { in NewAppendableFile()
[all …]
/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()
101 WritableFile* file) -> Status { in UseMlirForGraphDump()
/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()
591 std::unique_ptr<WritableFile>* result) override { in NewWritableFile()
597 std::unique_ptr<WritableFile>* result) override { in NewAppendableFile()
795 class WritableFile {
797 WritableFile() {} in WritableFile() function
798 virtual ~WritableFile() = default;
[all …]
/external/leveldb/util/
Denv.cc21 Status Env::NewAppendableFile(const std::string& fname, WritableFile** result) { in NewAppendableFile()
35 WritableFile::~WritableFile() = default;
52 WritableFile* file; in DoWriteStringToFile()
Dtestutil.h59 WritableFile** result) override { in NewWritableFile()
69 WritableFile** result) override { in NewAppendableFile()
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_outputbuffer.h48 class SnappyOutputBuffer : public WritableFile {
55 SnappyOutputBuffer(WritableFile* file, int32_t 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 =
114 WritableFile* dest_;
Dtable_builder.h32 class WritableFile; variable
43 TableBuilder(const Options& options, WritableFile* file);
/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.cc245 using tensorflow::WritableFile; in PYBIND11_MODULE()
246 py::class_<WritableFile>(m, "WritableFile") in PYBIND11_MODULE()
251 std::unique_ptr<WritableFile> self; in PYBIND11_MODULE()
262 [](WritableFile* self, tensorflow::StringPiece data) { in PYBIND11_MODULE()
269 [](WritableFile* self) { in PYBIND11_MODULE()
277 [](WritableFile* self) { in PYBIND11_MODULE()
281 .def("close", [](WritableFile* self) { in PYBIND11_MODULE()
/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/compiler/xla/
Dtext_literal_writer.cc33 std::unique_ptr<tensorflow::WritableFile> f; in WriteToPath()
45 tensorflow::WritableFile* f_ptr = f.get(); in WriteToPath()

12345