Home
last modified time | relevance | path

Searched defs:WritableFileRawStream (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Ddump_graph.cc41 struct WritableFileRawStream : public llvm::raw_ostream { struct
42 explicit WritableFileRawStream(WritableFile* file) : file(file) { in WritableFileRawStream() argument
46 uint64_t current_pos() const override { return 0; } in current_pos()
48 void write_impl(const char* ptr, size_t size) override { in write_impl()
60 WritableFile* file;
Ddump_mlir_util.cc81 struct WritableFileRawStream : public llvm::raw_ostream { struct
82 explicit WritableFileRawStream(std::unique_ptr<WritableFile> file) in WritableFileRawStream() argument
87 uint64_t current_pos() const override { return 0; } in current_pos()
89 void write_impl(const char* ptr, size_t size) override { in write_impl()
98 std::unique_ptr<WritableFile> file;