Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/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()
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()
DMemoryBufferTest.cpp47 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/
DLineIteratorTest.cpp20 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()
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()
173 OwningBuffer MB(MemoryBuffer::getMemBuffer(data)); in TEST_F()
/external/llvm/lib/AsmParser/
DParser.cpp28 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/
DFrontendActionTest.cpp83 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()
DCodeGenActionTest.cpp46 MemoryBuffer::getMemBuffer("").release()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DParser.cpp31 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/
DVirtualFileSystemTest.cpp541 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 …]
DSourceManagerTest.cpp76 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/
DMemoryBuffer.h110 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/
Dloader.cc73 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/
DToolChainTest.cpp59 llvm::MemoryBuffer::getMemBuffer("\n")); in TEST()
98 llvm::MemoryBuffer::getMemBuffer("\n")); in TEST()
/external/clang/lib/Tooling/
DTooling.cpp146 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/
DMemoryBuffer.h95 getMemBuffer(StringRef InputData, StringRef BufferName = "",
99 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true);
/external/clang/unittests/Tooling/
DToolingTest.cpp167 "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/
DMemoryBuffer.h105 getMemBuffer(StringRef InputData, StringRef BufferName = "",
109 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true);
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp59 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/
DPPCallbacksTest.cpp138 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/
Dspecial-case-list-fuzzer.cpp16 std::unique_ptr<llvm::MemoryBuffer> Buf = llvm::MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput()
/external/llvm/lib/Support/
DMemoryBuffer.cpp109 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/
Dllvm-dwarfdump-fuzzer.cpp24 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/fuzzer/
Dllvm-dwarfdump-fuzzer.cpp24 std::unique_ptr<MemoryBuffer> Buff = MemoryBuffer::getMemBuffer( in LLVMFuzzerTestOneInput()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp109 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/
DClangFuzzer.cpp38 llvm::MemoryBuffer::getMemBuffer(s); in LLVMFuzzerTestOneInput()

1234