/external/llvm/unittests/Support/ |
H A D | LineIteratorTest.cpp | 20 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 D | MemoryBufferTest.cpp | 45 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 D | llvm-dwarfdump-fuzzer.cpp | 24 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer(
|
/external/clang/unittests/Frontend/ |
H A D | CodeGenActionTest.cpp | 46 MemoryBuffer::getMemBuffer("").release());
|
H A D | FrontendActionTest.cpp | 83 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 D | Parser.cpp | 28 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 D | ToolChainTest.cpp | 59 llvm::MemoryBuffer::getMemBuffer("\n")); 98 llvm::MemoryBuffer::getMemBuffer("\n"));
|
/external/llvm/include/llvm/Support/ |
H A D | MemoryBuffer.h | 95 getMemBuffer(StringRef InputData, StringRef BufferName = "", 99 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true);
|
/external/clang/lib/Index/ |
H A D | SimpleFormatContext.h | 50 llvm::MemoryBuffer::getMemBuffer(Content));
|
/external/clang/tools/clang-fuzzer/ |
H A D | ClangFuzzer.cpp | 38 llvm::MemoryBuffer::getMemBuffer(s);
|
/external/clang/unittests/AST/ |
H A D | ExternalASTSourceTest.cpp | 53 "test.cc", MemoryBuffer::getMemBuffer(FileContents).release());
|
/external/clang/unittests/CodeGen/ |
H A D | BufferSourceTest.cpp | 75 llvm::MemoryBuffer::getMemBuffer(TestProgram), clang::SrcMgr::C_User));
|
/external/swiftshader/third_party/LLVM/lib/AsmParser/ |
H A D | Parser.cpp | 58 MemoryBuffer::getMemBuffer(StringRef(AsmString, strlen(AsmString)),
|
/external/clang/unittests/Basic/ |
H A D | VirtualFileSystemTest.cpp | 541 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 D | SourceManagerTest.cpp | 76 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 D | llvm-pdbdump-fuzzer.cpp | 46 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer(
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | MemoryBuffer.h | 83 /// getMemBuffer - Open the specified memory range as a MemoryBuffer. Note 85 static MemoryBuffer *getMemBuffer(StringRef InputData,
|
/external/llvm/unittests/Bitcode/ |
H A D | BitReaderTest.cpp | 59 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 D | Tooling.cpp | 146 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 D | PPCallbacksTest.cpp | 138 llvm::MemoryBuffer::getMemBuffer("\n")); 160 llvm::MemoryBuffer::getMemBuffer(SourceText); 198 llvm::MemoryBuffer::getMemBuffer(SourceText, "test.cl");
|
H A D | PPConditionalDirectiveRecordTest.cpp | 92 llvm::MemoryBuffer::getMemBuffer(source);
|
/external/llvm/lib/LTO/ |
H A D | LTO.cpp | 29 getLazyBitcodeModule(MemoryBuffer::getMemBuffer(Buffer, false), Context,
|
/external/clang/unittests/Tooling/ |
H A D | ToolingTest.cpp | 167 "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 D | MemoryBuffer.cpp | 109 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 D | TokenAnalyzer.cpp | 60 FileName, 0, llvm::MemoryBuffer::getMemBuffer(
|