/external/llvm/unittests/Support/ |
D | LineIteratorTest.cpp | 20 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("line 1\n" in TEST() 45 MemoryBuffer::getMemBuffer("line 1\n" in TEST() 74 MemoryBuffer::getMemBuffer("line 1\n" in TEST() 110 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("\n\n\n" in TEST() 133 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("\n\n" in TEST() 170 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer(""); in TEST() 176 Buffer = MemoryBuffer::getMemBuffer("\n\n\n"); in TEST() 180 Buffer = MemoryBuffer::getMemBuffer("# foo\n" in TEST() 186 Buffer = MemoryBuffer::getMemBuffer("\n" in TEST()
|
D | MemoryBufferTest.cpp | 45 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() 173 OwningBuffer MB(MemoryBuffer::getMemBuffer(data)); in TEST_F()
|
D | SourceMgrTest.cpp | 27 MemoryBuffer::getMemBuffer(Text, BufferName); in setMainBuffer()
|
D | SpecialCaseListTest.cpp | 23 std::unique_ptr<MemoryBuffer> MB = MemoryBuffer::getMemBuffer(List); in makeSpecialCaseList()
|
D | YAMLParserTest.cpp | 257 MemoryBuffer::getMemBuffer("[]", "buffername.yaml"); in TEST()
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 558 FS.addFile("c:/windows/system128/foo.cpp", 0, MemoryBuffer::getMemBuffer("")); in TEST_F() 565 FS.addFile("d:/windows/foo.cpp", 0, MemoryBuffer::getMemBuffer("")); in TEST_F() 571 FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F() 572 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F() 585 auto Buf = MemoryBuffer::getMemBuffer("a"); in TEST_F() 593 FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F() 594 FS.addFile("././c", 0, MemoryBuffer::getMemBuffer("c")); in TEST_F() 595 FS.addFile("./d/../d", 0, MemoryBuffer::getMemBuffer("d")); in TEST_F() 596 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F() 597 NormalizedFS.addFile("././c", 0, MemoryBuffer::getMemBuffer("c")); in TEST_F() [all …]
|
D | SourceManagerTest.cpp | 76 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(source); in TEST_F() 129 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Source); in TEST_F() 188 std::unique_ptr<MemoryBuffer> HeaderBuf = MemoryBuffer::getMemBuffer(header); in TEST_F() 189 std::unique_ptr<MemoryBuffer> MainBuf = MemoryBuffer::getMemBuffer(main); in TEST_F() 287 std::unique_ptr<MemoryBuffer> HeaderBuf = MemoryBuffer::getMemBuffer(header); in TEST_F() 288 std::unique_ptr<MemoryBuffer> MainBuf = MemoryBuffer::getMemBuffer(main); in TEST_F()
|
/external/clang/unittests/Frontend/ |
D | FrontendActionTest.cpp | 83 MemoryBuffer::getMemBuffer("int main() { float x; }").release()); in TEST() 103 MemoryBuffer::getMemBuffer("int main() { float x; }").release()); in TEST() 124 "test.cc", MemoryBuffer::getMemBuffer( in TEST() 176 MemoryBuffer::getMemBuffer("int main() { float x; }").release()); in TEST()
|
/external/clang/unittests/Driver/ |
D | ToolChainTest.cpp | 59 llvm::MemoryBuffer::getMemBuffer("\n")); in TEST() 98 llvm::MemoryBuffer::getMemBuffer("\n")); in TEST()
|
/external/llvm/lib/AsmParser/ |
D | Parser.cpp | 28 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(F); in parseAssemblyInto() 73 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); in parseConstantValue()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 140 llvm::MemoryBuffer::getMemBuffer( in runToolOnCodeWithArgs() 146 llvm::MemoryBuffer::getMemBuffer(FilenameWithContent.second)); in runToolOnCodeWithArgs() 258 llvm::MemoryBuffer::getMemBuffer(It.getValue()); in run() 363 llvm::MemoryBuffer::getMemBuffer(MappedFile.second)); in run() 408 llvm::MemoryBuffer::getMemBuffer(MappedFile.second)); in run() 497 llvm::MemoryBuffer::getMemBuffer( in buildASTFromCodeWithArgs()
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 95 getMemBuffer(StringRef InputData, StringRef BufferName = "", 99 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true);
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 167 "test.cpp", 0, llvm::MemoryBuffer::getMemBuffer("#include <abc>\n")); in TEST() 169 llvm::MemoryBuffer::getMemBuffer("\n")); in TEST() 193 "test.cpp", 0, llvm::MemoryBuffer::getMemBuffer("#include <abc>\n")); in TEST() 195 llvm::MemoryBuffer::getMemBuffer("\n")); in TEST() 199 llvm::MemoryBuffer::getMemBuffer("\n")); in TEST()
|
D | RewriterTestContext.h | 57 llvm::MemoryBuffer::getMemBuffer(Content); in createInMemoryFile()
|
/external/llvm/unittests/Bitcode/ |
D | BitReaderTest.cpp | 59 MemoryBuffer::getMemBuffer(Mem.str(), "test", false); in getLazyModuleFromAssembly() 87 MemoryBuffer::getMemBuffer(Mem.str(), "test", false); in getStreamedModuleFromAssembly() 109 auto MemoryBuf = MemoryBuffer::getMemBuffer(Input); in TEST()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 138 llvm::MemoryBuffer::getMemBuffer("\n")); in AddFakeHeader() 160 llvm::MemoryBuffer::getMemBuffer(SourceText); in InclusionDirectiveFilenameRange() 198 llvm::MemoryBuffer::getMemBuffer(SourceText, "test.cl"); in PragmaOpenCLExtensionCall()
|
D | PPConditionalDirectiveRecordTest.cpp | 92 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(source); in TEST_F()
|
/external/llvm/tools/llvm-dwarfdump/fuzzer/ |
D | llvm-dwarfdump-fuzzer.cpp | 24 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 105 MemoryBuffer::getMemBuffer(StringRef InputData, StringRef BufferName, in getMemBuffer() function in MemoryBuffer 113 MemoryBuffer::getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator) { in getMemBuffer() function in MemoryBuffer 114 return std::unique_ptr<MemoryBuffer>(getMemBuffer( in getMemBuffer()
|
/external/clang/tools/clang-fuzzer/ |
D | ClangFuzzer.cpp | 38 llvm::MemoryBuffer::getMemBuffer(s); in LLVMFuzzerTestOneInput()
|
/external/clang/unittests/CodeGen/ |
D | BufferSourceTest.cpp | 74 llvm::MemoryBuffer::getMemBuffer(TestProgram), clang::SrcMgr::C_User)); in TEST()
|
/external/clang/lib/Index/ |
D | SimpleFormatContext.h | 50 llvm::MemoryBuffer::getMemBuffer(Content)); in createInMemoryFile()
|
/external/clang/unittests/AST/ |
D | ExternalASTSourceTest.cpp | 53 "test.cc", MemoryBuffer::getMemBuffer(FileContents).release()); in testExternalASTSource()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/ |
D | invocation.cpp | 78 name, llvm::MemoryBuffer::getMemBuffer(source)); 128 llvm::MemoryBuffer::getMemBuffer(source)); in compile()
|
/external/llvm/lib/Object/ |
D | IRObjectFile.cpp | 75 std::unique_ptr<MemoryBuffer> Buffer(MemoryBuffer::getMemBuffer(InlineAsm)); in IRObjectFile() 309 MemoryBuffer::getMemBuffer(BCOrErr.get(), false)); in create()
|