/external/swiftshader/third_party/llvm-7.0/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 | 47 OwningBuffer MB1(MemoryBuffer::getMemBuffer(data)); in TEST_F() 51 OwningBuffer MB2(MemoryBuffer::getMemBuffer(data, "one", false)); in TEST_F() 55 OwningBuffer MB3(MemoryBuffer::getMemBuffer(data, "two", true)); in TEST_F() 177 OwningBuffer MB(MemoryBuffer::getMemBuffer(data)); in TEST_F()
|
/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()
|
/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() 90 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); in parseType() 102 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); in parseTypeAtBeginning()
|
/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()
|
D | CodeGenActionTest.cpp | 46 MemoryBuffer::getMemBuffer("").release()); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/ |
D | Parser.cpp | 31 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(F); in parseAssemblyInto() 115 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(F); in parseSummaryIndexAssemblyInto() 151 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); in parseConstantValue() 168 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); in parseType() 180 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Asm); in parseTypeAtBeginning()
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 541 FS.addFile("c:/windows/system128/foo.cpp", 0, MemoryBuffer::getMemBuffer("")); in TEST_F() 548 FS.addFile("d:/windows/foo.cpp", 0, MemoryBuffer::getMemBuffer("")); in TEST_F() 554 FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F() 555 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F() 568 auto Buf = MemoryBuffer::getMemBuffer("a"); in TEST_F() 576 FS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F() 577 FS.addFile("././c", 0, MemoryBuffer::getMemBuffer("c")); in TEST_F() 578 FS.addFile("./d/../d", 0, MemoryBuffer::getMemBuffer("d")); in TEST_F() 579 NormalizedFS.addFile("/a", 0, MemoryBuffer::getMemBuffer("a")); in TEST_F() 580 NormalizedFS.addFile("././c", 0, MemoryBuffer::getMemBuffer("c")); in TEST_F() [all …]
|
D | SourceManagerTest.cpp | 76 llvm::MemoryBuffer::getMemBuffer(source); in TEST_F() 130 llvm::MemoryBuffer::getMemBuffer(Source); in TEST_F() 190 llvm::MemoryBuffer::getMemBuffer(header); in TEST_F() 192 llvm::MemoryBuffer::getMemBuffer(main); in TEST_F() 291 llvm::MemoryBuffer::getMemBuffer(header); in TEST_F() 293 llvm::MemoryBuffer::getMemBuffer(main); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 110 getMemBuffer(StringRef InputData, StringRef BufferName = "", 114 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true); 207 using MemoryBuffer::getMemBuffer; 255 using MemoryBuffer::getMemBuffer;
|
/external/bcc/src/cc/frontends/clang/ |
D | loader.cc | 73 remapped_headers_[f.first] = llvm::MemoryBuffer::getMemBuffer(f.second); in ClangLoader() 75 remapped_footers_[f.first] = llvm::MemoryBuffer::getMemBuffer(f.second); in ClangLoader() 142 main_buf = llvm::MemoryBuffer::getMemBuffer(file); in parse() 347 unique_ptr<llvm::MemoryBuffer> out_buf = llvm::MemoryBuffer::getMemBuffer(out_str); in do_compile() 379 unique_ptr<llvm::MemoryBuffer> out_buf1 = llvm::MemoryBuffer::getMemBuffer(out_str1); in do_compile()
|
/external/clang/unittests/Driver/ |
D | ToolChainTest.cpp | 59 llvm::MemoryBuffer::getMemBuffer("\n")); in TEST() 98 llvm::MemoryBuffer::getMemBuffer("\n")); in TEST()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 146 llvm::MemoryBuffer::getMemBuffer( in runToolOnCodeWithArgs() 152 llvm::MemoryBuffer::getMemBuffer(FilenameWithContent.second)); in runToolOnCodeWithArgs() 266 llvm::MemoryBuffer::getMemBuffer(It.getValue()); in run() 377 llvm::MemoryBuffer::getMemBuffer(MappedFile.second)); in run() 422 llvm::MemoryBuffer::getMemBuffer(MappedFile.second)); in run() 520 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()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MemoryBuffer.h | 105 getMemBuffer(StringRef InputData, StringRef BufferName = "", 109 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true);
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-special-case-list-fuzzer/ |
D | special-case-list-fuzzer.cpp | 16 std::unique_ptr<llvm::MemoryBuffer> Buf = llvm::MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 109 MemoryBuffer::getMemBuffer(StringRef InputData, StringRef BufferName, in getMemBuffer() function in MemoryBuffer 117 MemoryBuffer::getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator) { in getMemBuffer() function in MemoryBuffer 118 return std::unique_ptr<MemoryBuffer>(getMemBuffer( in getMemBuffer()
|
/external/llvm/tools/llvm-dwarfdump/fuzzer/ |
D | llvm-dwarfdump-fuzzer.cpp | 24 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/fuzzer/ |
D | llvm-dwarfdump-fuzzer.cpp | 24 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 109 MemoryBuffer::getMemBuffer(StringRef InputData, StringRef BufferName, in getMemBuffer() function in MemoryBuffer 117 MemoryBuffer::getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator) { in getMemBuffer() function in MemoryBuffer 118 return std::unique_ptr<MemoryBuffer>(getMemBuffer( in getMemBuffer()
|
/external/clang/tools/clang-fuzzer/ |
D | ClangFuzzer.cpp | 38 llvm::MemoryBuffer::getMemBuffer(s); in LLVMFuzzerTestOneInput()
|