Searched refs:getNewMemBuffer (Results 1 – 5 of 5) sorted by relevance
95 OwningBuffer Three(MemoryBuffer::getNewMemBuffer(321, data)); in TEST_F()101 OwningBuffer Four(MemoryBuffer::getNewMemBuffer(123, "zeros")); in TEST_F()
67 llvm::MemoryBuffer::getNewMemBuffer(RequestLen, "<scratch space>"); in AllocScratchBuffer()
107 static MemoryBuffer *getNewMemBuffer(size_t Size, StringRef BufferName = "");
155 MemoryBuffer *MemoryBuffer::getNewMemBuffer(size_t Size, StringRef BufferName) { in getNewMemBuffer() function in MemoryBuffer
117 Buffer.setPointer(MemoryBuffer::getNewMemBuffer(ContentsEntry->getSize(), in getBuffer()