Home
last modified time | relevance | path

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

/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