Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DVirtualFileSystem.cpp73 auto F = openFileForRead(Name); in getBufferForFile()
154 ErrorOr<std::unique_ptr<File>> openFileForRead(const Twine &Path) override;
169 RealFileSystem::openFileForRead(const Twine &Name) { in openFileForRead() function in RealFileSystem
171 if (std::error_code EC = sys::fs::openFileForRead(Name, FD)) in openFileForRead()
245 OverlayFileSystem::openFileForRead(const llvm::Twine &Path) { in openFileForRead() function in OverlayFileSystem
248 auto Result = (*I)->openFileForRead(Path); in openFileForRead()
511 ErrorOr<std::unique_ptr<File>> openFileForRead(const Twine &Path) override;
959 ErrorOr<std::unique_ptr<File>> VFSFromYAML::openFileForRead(const Twine &Path) { in openFileForRead() function in VFSFromYAML
968 auto Result = ExternalFS->openFileForRead(F->getExternalContentsPath()); in openFileForRead()
DFileSystemStatCache.cpp81 auto OwnedFile = FS.openFileForRead(Path); in get()
/external/llvm/lib/Support/
DDataStream.cpp70 return sys::fs::openFileForRead(Filename, Fd); in OpenFile()
DMemoryBuffer.cpp261 std::error_code EC = sys::fs::openFileForRead(Filename, FD); in getFileAux()
DPath.cpp813 if (std::error_code EC = openFileForRead(From, ReadFD)) in copy_file()
1050 if (std::error_code EC = openFileForRead(Path, FD)) in identify_magic()
DHost.cpp59 std::error_code EC = sys::fs::openFileForRead("/proc/cpuinfo", FD); in readCpuInfo()
/external/clang/include/clang/Basic/
DVirtualFileSystem.h190 openFileForRead(const Twine &Path) = 0;
231 openFileForRead(const Twine &Path) override;
/external/llvm/unittests/Support/
DMemoryBufferTest.cpp146 EXPECT_FALSE(sys::fs::openFileForRead(TestPath.c_str(), TestFD)); in testGetOpenFileSlice()
DProgramTest.cpp302 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST()
DPath.cpp718 EC = fs::openFileForRead(Twine(TempPath), FD); in TEST_F()
/external/llvm/include/llvm/Support/
DFileSystem.h610 std::error_code openFileForRead(const Twine &Name, int &ResultFD);
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp458 failIfError(sys::fs::openFileForRead(NewFilename, NewFD), NewFilename); in getFD()
/external/llvm/lib/Support/Unix/
DPath.inc504 std::error_code openFileForRead(const Twine &Name, int &ResultFD) {
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp43 openFileForRead(const Twine &Path) override { in openFileForRead() function in __anoncc6ad3950111::DummyFileSystem
/external/llvm/lib/Support/Windows/
DPath.inc644 std::error_code openFileForRead(const Twine &Name, int &ResultFD) {