/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | ReplaceFileTest.cpp | 63 auto EC = fs::openFileForRead(File, FD); in FileHasContent() 89 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST() 148 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, TargetFD)); in TEST() 162 fs::openFileForRead(TargetTmp1FileName, Tmp1FD)); in TEST()
|
D | raw_pwrite_stream_test.cpp | 63 ASSERT_NO_ERROR(sys::fs::openFileForRead(Path, FD)); in TEST()
|
D | Host.cpp | 197 ASSERT_NO_ERROR(fs::openFileForRead(OutputPath, FD)); in TEST_F()
|
D | MemoryBufferTest.cpp | 150 EXPECT_FALSE(sys::fs::openFileForRead(TestPath.c_str(), TestFD)); in testGetOpenFileSlice()
|
D | ProgramTest.cpp | 319 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST()
|
D | Path.cpp | 1087 EC = fs::openFileForRead(Twine(TempPath), FD); in TEST_F() 1243 ASSERT_NO_ERROR(fs::openFileForRead(Twine(TempPath), FileDescriptor2, in TEST_F() 1273 ASSERT_NO_ERROR(fs::openFileForRead(Twine(TempPath), FileDescriptor, in TEST_F() 1461 ASSERT_NO_ERROR(fs::openFileForRead(NonExistantFile, FD)); in TEST_F()
|
/external/llvm/unittests/Support/ |
D | ReplaceFileTest.cpp | 74 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST() 94 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST()
|
D | MemoryBufferTest.cpp | 146 EXPECT_FALSE(sys::fs::openFileForRead(TestPath.c_str(), TestFD)); in testGetOpenFileSlice()
|
D | ProgramTest.cpp | 334 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST()
|
D | Path.cpp | 880 EC = fs::openFileForRead(Twine(TempPath), FD); in TEST_F() 1100 fs::openFileForRead(Twine(TempPath), FileDescriptor2, &ResultPath)) in TEST_F()
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 58 openFileForRead(const Twine &Path) override { in openFileForRead() function in __anon73ed79de0111::DummyFileSystem 582 auto File = FS.openFileForRead("/a"); in TEST_F() 584 File = FS.openFileForRead("/a"); // Open again. in TEST_F() 586 File = NormalizedFS.openFileForRead("/././a"); // Open again. in TEST_F() 588 File = FS.openFileForRead("/"); in TEST_F() 590 File = FS.openFileForRead("/b"); in TEST_F() 592 File = FS.openFileForRead("./c"); in TEST_F() 594 File = FS.openFileForRead("e/../d"); in TEST_F() 596 File = NormalizedFS.openFileForRead("./c"); in TEST_F() 598 File = NormalizedFS.openFileForRead("e/../d"); in TEST_F() [all …]
|
/external/clang/include/clang/Basic/ |
D | VirtualFileSystem.h | 204 openFileForRead(const Twine &Path) = 0; 267 openFileForRead(const Twine &Path) override; 311 openFileForRead(const Twine &Path) override;
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | DataStream.cpp | 71 return sys::fs::openFileForRead(Filename, Fd); in OpenFile()
|
/external/llvm/lib/Support/ |
D | DataStream.cpp | 71 return sys::fs::openFileForRead(Filename, Fd); in OpenFile()
|
D | MemoryBuffer.cpp | 271 std::error_code EC = sys::fs::openFileForRead(Filename, FD); in getFileAux()
|
D | Path.cpp | 896 if (std::error_code EC = openFileForRead(From, ReadFD)) in copy_file() 1145 if (std::error_code EC = openFileForRead(Path, FD)) in identify_magic()
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 97 auto F = openFileForRead(Name); in getBufferForFile() 199 ErrorOr<std::unique_ptr<File>> openFileForRead(const Twine &Path) override; 215 RealFileSystem::openFileForRead(const Twine &Name) { in openFileForRead() function in RealFileSystem 218 if (std::error_code EC = sys::fs::openFileForRead(Name, FD, &RealName)) in openFileForRead() 312 OverlayFileSystem::openFileForRead(const llvm::Twine &Path) { in openFileForRead() function in OverlayFileSystem 315 auto Result = (*I)->openFileForRead(Path); in openFileForRead() 626 InMemoryFileSystem::openFileForRead(const Twine &Path) { in openFileForRead() function in clang::vfs::InMemoryFileSystem 901 ErrorOr<std::unique_ptr<File>> openFileForRead(const Twine &Path) override; 1556 RedirectingFileSystem::openFileForRead(const Twine &Path) { in openFileForRead() function in RedirectingFileSystem 1565 auto Result = ExternalFS->openFileForRead(F->getExternalContentsPath()); in openFileForRead()
|
D | FileSystemStatCache.cpp | 70 auto OwnedFile = FS.openFileForRead(Path); in get()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 271 std::error_code EC = sys::fs::openFileForRead(Filename, FD); in getFileAux() 444 std::error_code EC = sys::fs::openFileForRead(Filename, FD); in getFileAsStream()
|
D | Path.cpp | 898 if (std::error_code EC = openFileForRead(From, ReadFD)) in copy_file() 1142 if (std::error_code EC = openFileForRead(Path, FD)) in identify_magic()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | Caching.cpp | 44 std::error_code EC = sys::fs::openFileForRead( in localCache()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 247 std::error_code EC = sys::fs::openFileForRead(Filename, FD, sys::fs::OF_None); in getFileAux() 521 std::error_code EC = sys::fs::openFileForRead(Filename, FD, sys::fs::OF_None); in getFileAsStream()
|
D | Path.cpp | 956 if (std::error_code EC = openFileForRead(From, ReadFD, OF_None)) in copy_file() 974 if (std::error_code EC = openFileForRead(From, ReadFD, OF_None)) in copy_file() 1006 if (auto EC = openFileForRead(Path, FD, OF_None)) in md5_contents()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/XRay/ |
D | InstrumentationMap.cpp | 177 if (sys::fs::openFileForRead(Filename, Fd)) in loadInstrumentationMap()
|
/external/llvm/lib/Object/ |
D | ArchiveWriter.cpp | 62 if (auto EC = sys::fs::openFileForRead(FileName, FD)) in getFile()
|