/external/llvm-project/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 125 static ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 127 auto Buf = WritableMemoryBuffer::getNewUninitMemBuffer(InputData.size(), BufferName); in getMemBufferCopyImpl() 173 constexpr sys::fs::mapped_file_region::mapmode Mapmode<WritableMemoryBuffer> = 224 static ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 272 ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 273 WritableMemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() 275 return getFileAux<WritableMemoryBuffer>(Filename, FileSize, FileSize, 0, in getFile() 280 ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 281 WritableMemoryBuffer::getFileSlice(const Twine &Filename, uint64_t MapSize, in getFileSlice() 283 return getFileAux<WritableMemoryBuffer>(Filename, -1, MapSize, Offset, false, in getFileSlice() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 125 static ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 127 auto Buf = WritableMemoryBuffer::getNewUninitMemBuffer(InputData.size(), BufferName); in getMemBufferCopyImpl() 210 static ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 258 ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 259 WritableMemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() 261 return getFileAux<WritableMemoryBuffer>(Filename, FileSize, FileSize, 0, in getFile() 266 ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 267 WritableMemoryBuffer::getFileSlice(const Twine &Filename, uint64_t MapSize, in getFileSlice() 269 return getFileAux<WritableMemoryBuffer>(Filename, -1, MapSize, Offset, false, in getFileSlice() 273 std::unique_ptr<WritableMemoryBuffer> [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 161 class WritableMemoryBuffer : public MemoryBuffer { 163 WritableMemoryBuffer() = default; 182 static ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 187 static ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 194 static std::unique_ptr<WritableMemoryBuffer> 200 static std::unique_ptr<WritableMemoryBuffer>
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | DataBufferLLVM.h | 19 class WritableMemoryBuffer; variable 40 explicit DataBufferLLVM(std::unique_ptr<llvm::WritableMemoryBuffer> Buffer); 42 std::unique_ptr<llvm::WritableMemoryBuffer> Buffer;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 155 class WritableMemoryBuffer : public MemoryBuffer { 157 WritableMemoryBuffer() = default; 179 static ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 184 static ErrorOr<std::unique_ptr<WritableMemoryBuffer>> 191 static std::unique_ptr<WritableMemoryBuffer> 197 static std::unique_ptr<WritableMemoryBuffer>
|
/external/llvm-project/llvm/unittests/Support/ |
D | MemoryBufferTest.cpp | 199 OwningBuffer Zero(WritableMemoryBuffer::getNewUninitMemBuffer(0)); in TEST_F() 203 OwningBuffer One(WritableMemoryBuffer::getNewUninitMemBuffer(321)); in TEST_F() 207 OwningBuffer Two(WritableMemoryBuffer::getNewUninitMemBuffer(123, "bla")); in TEST_F() 211 OwningBuffer Three(WritableMemoryBuffer::getNewMemBuffer(321, data)); in TEST_F() 217 OwningBuffer Four(WritableMemoryBuffer::getNewMemBuffer(123, "zeros")); in TEST_F() 329 WritableMemoryBuffer::getFileSlice(TestPath.str(), 0x6000, 0x2000); in TEST_F() 333 WritableMemoryBuffer &MB = **MBOrError; in TEST_F()
|
/external/llvm-project/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 76 std::unique_ptr<llvm::WritableMemoryBuffer> OwnBuf = in AllocScratchBuffer() 77 llvm::WritableMemoryBuffer::getNewMemBuffer(RequestLen, in AllocScratchBuffer()
|
D | Preprocessor.cpp | 436 auto NewBuffer = llvm::WritableMemoryBuffer::getNewUninitMemBuffer( in SetCodeCompletionPoint()
|
/external/llvm-project/llvm/tools/llvm-objcopy/ |
D | Buffer.h | 53 std::unique_ptr<WritableMemoryBuffer> Buf; 62 std::unique_ptr<WritableMemoryBuffer> releaseMemoryBuffer();
|
D | Buffer.cpp | 64 Buf = WritableMemoryBuffer::getNewMemBuffer(Size, getName()); in allocate() 74 std::unique_ptr<WritableMemoryBuffer> MemBuffer::releaseMemoryBuffer() { in releaseMemoryBuffer()
|
/external/llvm-project/flang/lib/Parser/ |
D | source.cpp | 112 auto bufOr{llvm::WritableMemoryBuffer::getFile(path)}; in Open() 135 llvm::WritableMemoryBuffer::getNewUninitMemBuffer(inbuf->getBufferSize()); in ReadStandardInput() 146 auto tmp_buf{llvm::WritableMemoryBuffer::getNewUninitMemBuffer( in ReadFile()
|
/external/llvm-project/lldb/source/Utility/ |
D | DataBufferLLVM.cpp | 18 std::unique_ptr<llvm::WritableMemoryBuffer> MemBuffer) in DataBufferLLVM()
|
/external/llvm-project/flang/include/flang/Parser/ |
D | source.h | 67 std::unique_ptr<llvm::WritableMemoryBuffer> buf_;
|
/external/llvm-project/lldb/source/Host/common/ |
D | FileSystem.cpp | 307 std::unique_ptr<llvm::WritableMemoryBuffer> buffer; in CreateDataBuffer() 310 llvm::WritableMemoryBuffer::getFile(*external_path, -1, is_volatile); in CreateDataBuffer() 315 auto buffer_or_error = llvm::WritableMemoryBuffer::getFileSlice( in CreateDataBuffer()
|
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/ |
D | NativeProcessFreeBSD.cpp | 564 std::unique_ptr<WritableMemoryBuffer> buf = in PopulateMemoryRegionCache() 565 llvm::WritableMemoryBuffer::getNewMemBuffer(len); in PopulateMemoryRegionCache() 838 std::unique_ptr<WritableMemoryBuffer> buf = in GetAuxvData() 839 llvm::WritableMemoryBuffer::getNewMemBuffer(auxv_size); in GetAuxvData()
|
/external/llvm-project/lld/COFF/ |
D | DriverUtils.cpp | 455 static std::unique_ptr<WritableMemoryBuffer> 462 return WritableMemoryBuffer::getNewMemBuffer(resSize, config->outputFile + in createMemoryBufferForManifestRes() 502 std::unique_ptr<WritableMemoryBuffer> res = in createManifestRes()
|
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
D | NativeProcessNetBSD.cpp | 891 ErrorOr<std::unique_ptr<WritableMemoryBuffer>> buf = in GetAuxvData() 892 llvm::WritableMemoryBuffer::getNewMemBuffer(auxv_size); in GetAuxvData()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | WindowsResource.cpp | 621 std::unique_ptr<WritableMemoryBuffer> OutputBuffer; 647 OutputBuffer = WritableMemoryBuffer::getNewMemBuffer( in WindowsResourceCOFFWriter()
|
/external/llvm-project/llvm/lib/Object/ |
D | WindowsResource.cpp | 621 std::unique_ptr<WritableMemoryBuffer> OutputBuffer; 647 OutputBuffer = WritableMemoryBuffer::getNewMemBuffer( in WindowsResourceCOFFWriter()
|
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
D | MachOObjcopy.cpp | 466 std::unique_ptr<WritableMemoryBuffer> OutputBuffer = in executeObjcopyOnMachOUniversalBinary()
|
/external/llvm-project/llvm/unittests/ProfileData/ |
D | InstrProfTest.cpp | 1051 auto RawProfile = WritableMemoryBuffer::getNewUninitMemBuffer(LargeSize); in TEST() 1058 auto IndexedProfile = WritableMemoryBuffer::getNewUninitMemBuffer(LargeSize); in TEST()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | JitManager.cpp | 798 pBuf = llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t(header.GetObjectSize())); in getObject()
|