Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DMemoryBuffer.cpp78 class MemoryBufferMem : public MemoryBuffer { class
80 MemoryBufferMem(StringRef InputData, bool RequiresNullTerminator) { in MemoryBufferMem() function in __anonb81da0770111::MemoryBufferMem
100 return GetNamedBuffer<MemoryBufferMem>(InputData, BufferName, in getMemBuffer()
125 RoundUpToAlignment(sizeof(MemoryBufferMem) + BufferName.size() + 1, in getNewUninitMemBuffer()
132 CopyStringRef(Mem + sizeof(MemoryBufferMem), BufferName); in getNewUninitMemBuffer()
138 return new (Mem) MemoryBufferMem(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
181 class MemoryBufferMMapFile : public MemoryBufferMem {
184 : MemoryBufferMem(Buffer, RequiresNullTerminator) { } in MemoryBufferMMapFile()