Searched refs:getMemBuffer (Results 1 - 25 of 60) sorted by relevance

123

/external/llvm/unittests/Support/
H A DLineIteratorTest.cpp20 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("line 1\n"
45 MemoryBuffer::getMemBuffer("line 1\n"
74 MemoryBuffer::getMemBuffer("line 1\n"
110 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("\n\n\n"
133 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("\n\n"
170 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("");
176 Buffer = MemoryBuffer::getMemBuffer("\n\n\n");
180 Buffer = MemoryBuffer::getMemBuffer("# foo\n"
186 Buffer = MemoryBuffer::getMemBuffer("\n"
H A DMemoryBufferTest.cpp45 OwningBuffer MB1(MemoryBuffer::getMemBuffer(data));
49 OwningBuffer MB2(MemoryBuffer::getMemBuffer(data, "one", false));
53 OwningBuffer MB3(MemoryBuffer::getMemBuffer(data, "two", true));
173 OwningBuffer MB(MemoryBuffer::getMemBuffer(data));
/external/llvm/tools/llvm-dwarfdump/fuzzer/
H A Dllvm-dwarfdump-fuzzer.cpp24 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer(
/external/clang/unittests/Frontend/
H A DCodeGenActionTest.cpp46 MemoryBuffer::getMemBuffer("").release());
H A DFrontendActionTest.cpp83 MemoryBuffer::getMemBuffer("int main() { float x; }").release());
103 MemoryBuffer::getMemBuffer("int main() { float x; }").release());
124 "test.cc", MemoryBuffer::getMemBuffer(
176 MemoryBuffer::getMemBuffer("int main() { float x; }").release());
/external/llvm/lib/AsmParser/
H A DParser.cpp28 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(F);
73 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm);
90 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm);
102 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm);
/external/clang/unittests/Driver/
H A DToolChainTest.cpp59 llvm::MemoryBuffer::getMemBuffer("\n"));
98 llvm::MemoryBuffer::getMemBuffer("\n"));
/external/llvm/include/llvm/Support/
H A DMemoryBuffer.h95 getMemBuffer(StringRef InputData, StringRef BufferName = "",
99 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true);
/external/clang/lib/Index/
H A DSimpleFormatContext.h50 llvm::MemoryBuffer::getMemBuffer(Content));
/external/clang/tools/clang-fuzzer/
H A DClangFuzzer.cpp38 llvm::MemoryBuffer::getMemBuffer(s);
/external/clang/unittests/AST/
H A DExternalASTSourceTest.cpp53 "test.cc", MemoryBuffer::getMemBuffer(FileContents).release());
/external/clang/unittests/CodeGen/
H A DBufferSourceTest.cpp75 llvm::MemoryBuffer::getMemBuffer(TestProgram), clang::SrcMgr::C_User));
/external/swiftshader/third_party/LLVM/lib/AsmParser/
H A DParser.cpp58 MemoryBuffer::getMemBuffer(StringRef(AsmString, strlen(AsmString)),
/external/clang/unittests/Basic/
H A DVirtualFileSystemTest.cpp541 FS.addFile("c:/windows/system128/foo.cpp", 0, MemoryBuffer::getMemBuffer(""));
548 FS.addFile("d:/windows/foo.cpp", 0, MemoryBuffer::getMemBuffer(""));
554 FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a"));
555 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a"));
568 auto Buf = MemoryBuffer::getMemBuffer("a");
576 FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a"));
577 FS.addFile("././c", 0, MemoryBuffer::getMemBuffer("c"));
578 FS.addFile("./d/../d", 0, MemoryBuffer::getMemBuffer("d"));
579 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a"));
580 NormalizedFS.addFile("././c", 0, MemoryBuffer::getMemBuffer("
[all...]
H A DSourceManagerTest.cpp76 llvm::MemoryBuffer::getMemBuffer(source);
130 llvm::MemoryBuffer::getMemBuffer(Source);
190 llvm::MemoryBuffer::getMemBuffer(header);
192 llvm::MemoryBuffer::getMemBuffer(main);
291 llvm::MemoryBuffer::getMemBuffer(header);
293 llvm::MemoryBuffer::getMemBuffer(main);
/external/llvm/tools/llvm-pdbdump/fuzzer/
H A Dllvm-pdbdump-fuzzer.cpp46 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer(
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DMemoryBuffer.h83 /// getMemBuffer - Open the specified memory range as a MemoryBuffer. Note
85 static MemoryBuffer *getMemBuffer(StringRef InputData,
/external/llvm/unittests/Bitcode/
H A DBitReaderTest.cpp59 MemoryBuffer::getMemBuffer(Mem.str(), "test", false);
87 MemoryBuffer::getMemBuffer(Mem.str(), "test", false);
109 auto MemoryBuf = MemoryBuffer::getMemBuffer(Input);
/external/clang/lib/Tooling/
H A DTooling.cpp146 llvm::MemoryBuffer::getMemBuffer(
152 llvm::MemoryBuffer::getMemBuffer(FilenameWithContent.second));
266 llvm::MemoryBuffer::getMemBuffer(It.getValue());
377 llvm::MemoryBuffer::getMemBuffer(MappedFile.second));
422 llvm::MemoryBuffer::getMemBuffer(MappedFile.second));
520 llvm::MemoryBuffer::getMemBuffer(
/external/clang/unittests/Lex/
H A DPPCallbacksTest.cpp138 llvm::MemoryBuffer::getMemBuffer("\n"));
160 llvm::MemoryBuffer::getMemBuffer(SourceText);
198 llvm::MemoryBuffer::getMemBuffer(SourceText, "test.cl");
H A DPPConditionalDirectiveRecordTest.cpp92 llvm::MemoryBuffer::getMemBuffer(source);
/external/llvm/lib/LTO/
H A DLTO.cpp29 getLazyBitcodeModule(MemoryBuffer::getMemBuffer(Buffer, false), Context,
/external/clang/unittests/Tooling/
H A DToolingTest.cpp167 "test.cpp", 0, llvm::MemoryBuffer::getMemBuffer("#include <abc>\n"));
169 llvm::MemoryBuffer::getMemBuffer("\n"));
193 "test.cpp", 0, llvm::MemoryBuffer::getMemBuffer("#include <abc>\n"));
195 llvm::MemoryBuffer::getMemBuffer("\n"));
199 llvm::MemoryBuffer::getMemBuffer("\n"));
/external/llvm/lib/Support/
H A DMemoryBuffer.cpp109 MemoryBuffer::getMemBuffer(StringRef InputData, StringRef BufferName, function in class:MemoryBuffer
117 MemoryBuffer::getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator) { function in class:MemoryBuffer
118 return std::unique_ptr<MemoryBuffer>(getMemBuffer(
/external/clang/lib/Format/
H A DTokenAnalyzer.cpp60 FileName, 0, llvm::MemoryBuffer::getMemBuffer(

Completed in 1727 milliseconds

123