Home
last modified time | relevance | path

Searched refs:FileOutputBuffer (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DFileOutputBufferTest.cpp34 TEST(FileOutputBuffer, Test) { in TEST() argument
46 Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST()
47 FileOutputBuffer::create(File1, 8192); in TEST()
49 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST()
68 Expected<std::unique_ptr<FileOutputBuffer>> Buffer2OrErr = in TEST()
69 FileOutputBuffer::create(File2, 8192); in TEST()
71 std::unique_ptr<FileOutputBuffer> &Buffer2 = *Buffer2OrErr; in TEST()
85 Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST()
86 FileOutputBuffer::create(File3, 8192000); in TEST()
88 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST()
[all …]
/external/llvm/unittests/Support/
DFileOutputBufferTest.cpp30 TEST(FileOutputBuffer, Test) { in TEST() argument
42 ErrorOr<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST()
43 FileOutputBuffer::create(File1, 8192); in TEST()
45 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST()
64 ErrorOr<std::unique_ptr<FileOutputBuffer>> Buffer2OrErr = in TEST()
65 FileOutputBuffer::create(File2, 8192); in TEST()
67 std::unique_ptr<FileOutputBuffer> &Buffer2 = *Buffer2OrErr; in TEST()
81 ErrorOr<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST()
82 FileOutputBuffer::create(File3, 8192000); in TEST()
84 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST()
[all …]
/external/llvm/include/llvm/Support/
DFileOutputBuffer.h31 class FileOutputBuffer {
41 static ErrorOr<std::unique_ptr<FileOutputBuffer>>
74 ~FileOutputBuffer();
77 FileOutputBuffer(const FileOutputBuffer &) = delete;
78 FileOutputBuffer &operator=(const FileOutputBuffer &) = delete;
80 FileOutputBuffer(std::unique_ptr<llvm::sys::fs::mapped_file_region> R,
/external/llvm/lib/Support/
DFileOutputBuffer.cpp30 FileOutputBuffer::FileOutputBuffer(std::unique_ptr<mapped_file_region> R, in FileOutputBuffer() function in llvm::FileOutputBuffer
34 FileOutputBuffer::~FileOutputBuffer() { in ~FileOutputBuffer()
38 ErrorOr<std::unique_ptr<FileOutputBuffer>>
39 FileOutputBuffer::create(StringRef FilePath, size_t Size, unsigned Flags) { in create()
99 std::unique_ptr<FileOutputBuffer> Buf( in create()
100 new FileOutputBuffer(std::move(MappedFile), FilePath, TempFilePath)); in create()
104 std::error_code FileOutputBuffer::commit() { in commit()
DCMakeLists.txt55 FileOutputBuffer.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFileOutputBuffer.h31 class FileOutputBuffer {
52 static Expected<std::unique_ptr<FileOutputBuffer>>
77 virtual ~FileOutputBuffer() {} in ~FileOutputBuffer()
80 FileOutputBuffer(StringRef Path) : FinalPath(Path) {} in FileOutputBuffer() function
DBinaryByteStream.h210 StreamImpl(std::unique_ptr<FileOutputBuffer> Buffer, in StreamImpl()
232 std::unique_ptr<FileOutputBuffer> FileBuffer;
236 FileBufferByteStream(std::unique_ptr<FileOutputBuffer> Buffer, in FileBufferByteStream()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DFileOutputBuffer.cpp35 class OnDiskBuffer : public FileOutputBuffer {
39 : FileOutputBuffer(Path), Buffer(std::move(Buf)), Temp(std::move(Temp)) {} in OnDiskBuffer()
71 class InMemoryBuffer : public FileOutputBuffer {
74 : FileOutputBuffer(Path), Buffer(Buf), Mode(Mode) {} in InMemoryBuffer()
151 Expected<std::unique_ptr<FileOutputBuffer>>
152 FileOutputBuffer::create(StringRef Path, size_t Size, unsigned Flags) { in create()
DCMakeLists.txt75 FileOutputBuffer.cpp
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle.h86 class FileOutputBuffer; variable
154 std::unique_ptr<FileOutputBuffer> out_;
311 class FileOutputBuffer {
313 FileOutputBuffer(WritableFile* file, size_t buffer_size) in FileOutputBuffer() function
318 ~FileOutputBuffer();
Dtensor_bundle.cc212 Status WriteTensor(const Tensor& val, FileOutputBuffer* out, in WriteTensor()
227 Status WriteStringTensor(const Tensor& val, FileOutputBuffer* out, in WriteStringTensor()
279 Status WriteVariantTensor(const Tensor& val, FileOutputBuffer* out, in WriteVariantTensor()
373 Status PadAlignment(FileOutputBuffer* out, int alignment, int64* size) { in PadAlignment()
406 out_ = std::unique_ptr<FileOutputBuffer>( in BundleWriter()
407 new FileOutputBuffer(wrapper.release(), 8 << 20 /* 8MB write buffer */)); in BundleWriter()
1081 FileOutputBuffer::~FileOutputBuffer() { delete file_; } in ~FileOutputBuffer()
1083 Status FileOutputBuffer::Append(StringPiece data) { in Append()
1113 Status FileOutputBuffer::Close() { in Close()
1118 Status FileOutputBuffer::FlushBuffer() { in FlushBuffer()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mt/
Dllvm-mt.cpp151 Expected<std::unique_ptr<FileOutputBuffer>> FileOrErr = in main()
152 FileOutputBuffer::create(OutputFile, OutputBuffer->getBufferSize()); in main()
155 std::unique_ptr<FileOutputBuffer> FileBuffer = std::move(*FileOrErr); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cvtres/
Dllvm-cvtres.cpp196 FileOutputBuffer::create(OutputFile, OutputBuffer->getBufferSize()); in main()
199 std::unique_ptr<FileOutputBuffer> FileBuffer = std::move(*FileOrErr); in main()
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.cpp75 FileBufferByteStream(std::unique_ptr<FileOutputBuffer> Buffer) in FileBufferByteStream()
87 std::unique_ptr<FileOutputBuffer> FileBuffer;
317 auto OutFileOrError = FileOutputBuffer::create( in yamlToPdb()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
DObject.cpp37 Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in allocate()
38 FileOutputBuffer::create(getName(), Size, FileOutputBuffer::F_executable); in allocate()
DObject.h155 std::unique_ptr<FileOutputBuffer> Buf;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMSFBuilder.cpp348 auto OutFileOrError = FileOutputBuffer::create(Path, FileSize); in commit()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
Dllvm-pdbutil.cpp1262 FileOutputBuffer::create(OutFileName, SourceStream->getLength())); in exportStream()
/external/swiftshader/third_party/llvm-7.0/
DAndroid.mk593 llvm/lib/Support/FileOutputBuffer.cpp \
DBUILD.gn1014 "llvm/lib/Support/FileOutputBuffer.cpp",
/external/swiftshader/
DCMakeLists.txt1259 ${LLVM_DIR}/lib/Support/FileOutputBuffer.cpp