Home
last modified time | relevance | path

Searched refs:openFileForRead (Results 1 – 25 of 39) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DReplaceFileTest.cpp63 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()
Draw_pwrite_stream_test.cpp63 ASSERT_NO_ERROR(sys::fs::openFileForRead(Path, FD)); in TEST()
DHost.cpp197 ASSERT_NO_ERROR(fs::openFileForRead(OutputPath, FD)); in TEST_F()
DMemoryBufferTest.cpp150 EXPECT_FALSE(sys::fs::openFileForRead(TestPath.c_str(), TestFD)); in testGetOpenFileSlice()
DProgramTest.cpp319 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST()
DPath.cpp1087 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/
DReplaceFileTest.cpp74 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST()
94 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST()
DMemoryBufferTest.cpp146 EXPECT_FALSE(sys::fs::openFileForRead(TestPath.c_str(), TestFD)); in testGetOpenFileSlice()
DProgramTest.cpp334 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST()
DPath.cpp880 EC = fs::openFileForRead(Twine(TempPath), FD); in TEST_F()
1100 fs::openFileForRead(Twine(TempPath), FileDescriptor2, &ResultPath)) in TEST_F()
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp58 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/
DVirtualFileSystem.h204 openFileForRead(const Twine &Path) = 0;
267 openFileForRead(const Twine &Path) override;
311 openFileForRead(const Twine &Path) override;
/external/swiftshader/third_party/subzero/pnacl-llvm/
DDataStream.cpp71 return sys::fs::openFileForRead(Filename, Fd); in OpenFile()
/external/llvm/lib/Support/
DDataStream.cpp71 return sys::fs::openFileForRead(Filename, Fd); in OpenFile()
DMemoryBuffer.cpp271 std::error_code EC = sys::fs::openFileForRead(Filename, FD); in getFileAux()
DPath.cpp896 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/
DVirtualFileSystem.cpp97 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()
DFileSystemStatCache.cpp70 auto OwnedFile = FS.openFileForRead(Path); in get()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp271 std::error_code EC = sys::fs::openFileForRead(Filename, FD); in getFileAux()
444 std::error_code EC = sys::fs::openFileForRead(Filename, FD); in getFileAsStream()
DPath.cpp898 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/
DCaching.cpp44 std::error_code EC = sys::fs::openFileForRead( in localCache()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DMemoryBuffer.cpp247 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()
DPath.cpp956 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/
DInstrumentationMap.cpp177 if (sys::fs::openFileForRead(Filename, Fd)) in loadInstrumentationMap()
/external/llvm/lib/Object/
DArchiveWriter.cpp62 if (auto EC = sys::fs::openFileForRead(FileName, FD)) in getFile()

12