Home
last modified time | relevance | path

Searched refs:getMemBuffer (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm/unittests/Support/
DLineIteratorTest.cpp20 std::unique_ptr<MemoryBuffer> Buffer(MemoryBuffer::getMemBuffer("line 1\n" in TEST()
45 MemoryBuffer::getMemBuffer("line 1\n" in TEST()
71 std::unique_ptr<MemoryBuffer> Buffer(MemoryBuffer::getMemBuffer("\n\n\n" in TEST()
94 std::unique_ptr<MemoryBuffer> Buffer(MemoryBuffer::getMemBuffer("")); in TEST()
98 Buffer.reset(MemoryBuffer::getMemBuffer("\n\n\n")); in TEST()
102 Buffer.reset(MemoryBuffer::getMemBuffer("# foo\n" in TEST()
108 Buffer.reset(MemoryBuffer::getMemBuffer("\n" in TEST()
DMemoryBufferTest.cpp45 OwningBuffer MB1(MemoryBuffer::getMemBuffer(data)); in TEST_F()
49 OwningBuffer MB2(MemoryBuffer::getMemBuffer(data, "one", false)); in TEST_F()
53 OwningBuffer MB3(MemoryBuffer::getMemBuffer(data, "two", true)); in TEST_F()
DSourceMgrTest.cpp26 MemoryBuffer *MainBuffer = MemoryBuffer::getMemBuffer(Text, BufferName); in setMainBuffer()
DSpecialCaseListTest.cpp21 std::unique_ptr<MemoryBuffer> MB(MemoryBuffer::getMemBuffer(List)); in makeSpecialCaseList()
DYAMLParserTest.cpp213 MemoryBuffer* Buffer = MemoryBuffer::getMemBuffer("[]", "buffername.yaml"); in TEST()
/external/llvm/include/llvm/ExecutionEngine/
DObjectBuffer.h41 MemoryBuffer *getMemBuffer() const { in getMemBuffer() function
42 return MemoryBuffer::getMemBuffer(Buffer->getBuffer(), in getMemBuffer()
71 Buffer.reset(MemoryBuffer::getMemBuffer(StringRef(SV.data(), SV.size()), in flush()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp77 MemoryBuffer *buf = MemoryBuffer::getMemBuffer(source); in TEST_F()
130 MemoryBuffer *Buf = MemoryBuffer::getMemBuffer(Source); in TEST_F()
189 MemoryBuffer *headerBuf = MemoryBuffer::getMemBuffer(header); in TEST_F()
190 MemoryBuffer *mainBuf = MemoryBuffer::getMemBuffer(main); in TEST_F()
288 MemoryBuffer *headerBuf = MemoryBuffer::getMemBuffer(header); in TEST_F()
289 MemoryBuffer *mainBuf = MemoryBuffer::getMemBuffer(main); in TEST_F()
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp68 "test.cc", MemoryBuffer::getMemBuffer("int main() { float x; }")); in TEST()
87 "test.cc", MemoryBuffer::getMemBuffer("int main() { float x; }")); in TEST()
/external/llvm/lib/Object/
DMachOUniversal.cpp77 MemoryBuffer::getMemBuffer(ObjectData, ObjectName, false)); in getAsObjectFile()
90 MemoryBuffer::getMemBuffer(ObjectData, ObjectName, false)); in getAsArchive()
DIRObjectFile.cpp77 std::unique_ptr<MemoryBuffer> Buffer(MemoryBuffer::getMemBuffer(InlineAsm)); in IRObjectFile()
/external/clang/unittests/AST/
DExternalASTSourceTest.cpp53 "test.cc", MemoryBuffer::getMemBuffer(FileContents)); in testExternalASTSource()
/external/clang/lib/Index/
DSimpleFormatContext.h50 llvm::MemoryBuffer *Source = llvm::MemoryBuffer::getMemBuffer(Content); in createInMemoryFile()
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp56 MemoryBuffer *Buffer = MemoryBuffer::getMemBuffer(Mem.str(), "test", false); in TEST()
/external/llvm/lib/AsmParser/
DParser.cpp58 MemoryBuffer::getMemBuffer(StringRef(AsmString), "<string>"); in ParseAssemblyString()
/external/llvm/include/llvm/Support/
DMemoryBuffer.h99 static MemoryBuffer *getMemBuffer(StringRef InputData,
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DObjectImageCommon.h51 std::unique_ptr<MemoryBuffer> Buf(Buffer->getMemBuffer()); in ObjectImageCommon()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp78 name, llvm::MemoryBuffer::getMemBuffer(source));
128 llvm::MemoryBuffer::getMemBuffer(source)); in compile()
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp78 name, llvm::MemoryBuffer::getMemBuffer(source));
128 llvm::MemoryBuffer::getMemBuffer(source)); in compile()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp163 MemoryBuffer *Buf = MemoryBuffer::getMemBuffer(SourceText); in InclusionDirectiveFilenameRange()
200 MemoryBuffer* sourceBuf = MemoryBuffer::getMemBuffer(SourceText, "test.cl"); in PragmaOpenCLExtensionCall()
DPPConditionalDirectiveRecordTest.cpp93 MemoryBuffer *buf = MemoryBuffer::getMemBuffer(source); in TEST_F()
/external/clang/unittests/Tooling/
DRewriterTestContext.h51 llvm::MemoryBuffer *Source = llvm::MemoryBuffer::getMemBuffer(Content); in createInMemoryFile()
/external/llvm/lib/IRReader/
DIRReader.cpp82 return ParseAssembly(MemoryBuffer::getMemBuffer( in ParseIR()
/external/clang/lib/Tooling/
DJSONCompilationDatabase.cpp164 llvm::MemoryBuffer::getMemBuffer(DatabaseString)); in loadFromBuffer()
/external/llvm/lib/Support/
DMemoryBuffer.cpp99 MemoryBuffer *MemoryBuffer::getMemBuffer(StringRef InputData, in getMemBuffer() function in MemoryBuffer
/external/clang/lib/Frontend/
DChainedIncludesSource.cpp179 bufs.push_back(llvm::MemoryBuffer::getMemBuffer(SB->getBuffer())); in createChainedIncludesSource()

12