/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 108 vfs::directory_iterator dir_begin(const Twine &Dir, in dir_begin() function in __anon1373c97c0111::DummyFileSystem 313 vfs::directory_iterator I = FS->dir_begin(Twine(TestDirectory), EC); in TEST() 322 I = FS->dir_begin(Twine(TestDirectory), EC); in TEST() 402 checkContents(O->dir_begin("/", EC), ArrayRef<StringRef>()); in TEST() 405 checkContents(O->dir_begin("/", EC), ArrayRef<StringRef>("/file1")); in TEST() 408 checkContents(O->dir_begin("/", EC), {"/file2", "/file1"}); in TEST() 414 checkContents(O->dir_begin("/dir2", EC), ArrayRef<StringRef>("/dir2/foo")); in TEST() 415 checkContents(O->dir_begin("/", EC), {"/dir2", "/file2", "/dir1", "/file1"}); in TEST() 470 checkContents(O->dir_begin("/", EC), ArrayRef<StringRef>()); in TEST() 473 checkContents(O->dir_begin("/", EC), ArrayRef<StringRef>("/file2")); in TEST() [all …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | VirtualFileSystemTest.cpp | 135 vfs::directory_iterator dir_begin(const Twine &Dir, in dir_begin() function in __anon47feb29b0111::DummyFileSystem 422 vfs::directory_iterator I = FS->dir_begin(Twine(TestDirectory.path()), EC); in TEST() 431 I = FS->dir_begin(Twine(TestDirectory.path()), EC); in TEST() 492 auto BIt = BFS->dir_begin(".", EC); in TEST() 500 auto CIt = CFS->dir_begin(".", EC); in TEST() 522 I = FS->dir_begin(Twine(TestDirectory.path()), EC), in TEST() 728 checkContents(O->dir_begin("/", EC), ArrayRef<StringRef>()); in TEST() 731 checkContents(O->dir_begin("/", EC), ArrayRef<StringRef>("/file1")); in TEST() 734 checkContents(O->dir_begin("/", EC), {"/file2", "/file1"}); in TEST() 740 checkContents(O->dir_begin("/dir2", EC), ArrayRef<StringRef>("/dir2/foo")); in TEST() [all …]
|
D | FileCollectorTest.cpp | 189 auto It = VFS->dir_begin(subdir3.path(), EC); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | FileCollector.cpp | 214 llvm::vfs::directory_iterator dir_begin(const llvm::Twine &Dir, in dir_begin() function in __anonc872f58e0111::FileCollectorFileSystem 216 auto It = FS->dir_begin(Dir, EC); in dir_begin() 231 return FS->dir_begin(Dir, EC); in dir_begin()
|
D | VirtualFileSystem.cpp | 257 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 378 directory_iterator RealFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in RealFileSystem 467 CurrentDirIter = (*CurrentFS)->dir_begin(Path, EC); in incrementFS() 506 CurrentDirIter = (*CurrentFS)->dir_begin(Path, EC); in OverlayFSDirIterImpl() 515 directory_iterator OverlayFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in OverlayFileSystem 934 directory_iterator InMemoryFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in llvm::vfs::InMemoryFileSystem 1089 directory_iterator RedirectingFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in RedirectingFileSystem 1095 return ExternalFS->dir_begin(Dir, EC); in dir_begin() 2077 ExternalDirIter = ExternalFS.dir_begin(Dir, EC); in incrementExternal() 2129 directory_iterator I = FS->dir_begin(Path, EC); in recursive_directory_iterator() [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | FileCollector.cpp | 117 auto It = FS->dir_begin(Dir, EC); in addDirectoryImpl() 131 return FS->dir_begin(Dir, EC); in addDirectoryImpl() 255 llvm::vfs::directory_iterator dir_begin(const llvm::Twine &Dir, in dir_begin() function in llvm::FileCollectorFileSystem
|
D | VirtualFileSystem.cpp | 257 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 378 directory_iterator RealFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in RealFileSystem 467 CurrentDirIter = (*CurrentFS)->dir_begin(Path, EC); in incrementFS() 506 CurrentDirIter = (*CurrentFS)->dir_begin(Path, EC); in OverlayFSDirIterImpl() 515 directory_iterator OverlayFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in OverlayFileSystem 933 directory_iterator InMemoryFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in llvm::vfs::InMemoryFileSystem 1126 directory_iterator RedirectingFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in RedirectingFileSystem 1132 return ExternalFS->dir_begin(Dir, EC); in dir_begin() 2189 ExternalDirIter = ExternalFS.dir_begin(Dir, EC); in incrementExternal() 2241 directory_iterator I = FS->dir_begin(Path, EC); in recursive_directory_iterator() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | VirtualFileSystem.h | 263 virtual directory_iterator dir_begin(const Twine &Dir, 337 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 381 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override { in dir_begin() function 382 return FS->dir_begin(Dir, EC); in dir_begin() 479 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 754 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | VirtualFileSystem.h | 264 virtual directory_iterator dir_begin(const Twine &Dir, 338 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 382 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override { in dir_begin() function 383 return FS->dir_begin(Dir, EC); in dir_begin() 481 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 753 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
|
/external/clang/include/clang/Basic/ |
D | VirtualFileSystem.h | 214 virtual directory_iterator dir_begin(const Twine &Dir, 268 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 312 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 200 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 282 directory_iterator RealFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in RealFileSystem 350 CurrentDirIter = (*CurrentFS)->dir_begin(Path, EC); in incrementFS() 389 CurrentDirIter = (*CurrentFS)->dir_begin(Path, EC); in OverlayFSDirIterImpl() 397 directory_iterator OverlayFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in OverlayFileSystem 664 directory_iterator InMemoryFileSystem::dir_begin(const Twine &Dir, in dir_begin() function in clang::vfs::InMemoryFileSystem 910 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override{ in dir_begin() function in __anon45e96e000711::RedirectingFileSystem 1789 directory_iterator I = FS->dir_begin(Path, EC); in recursive_directory_iterator() 1802 vfs::directory_iterator I = FS->dir_begin(State->top()->getName(), EC); in increment()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | BareMetal.cpp | 159 LI = getDriver().getVFS().dir_begin(Dir.str(), EC), in AddClangCXXStdlibIncludeArgs()
|
D | AMDGPU.cpp | 32 for (llvm::vfs::directory_iterator LI = D.getVFS().dir_begin(Path, EC), LE; in scanLibDevicePath()
|
D | Gnu.cpp | 2014 for (llvm::vfs::directory_iterator LI = D.getVFS().dir_begin(PrefixDir, EC), in AddDefaultGCCPrefixes() 2517 LI = D.getVFS().dir_begin(LibDir + "/" + LibSuffix, EC), in ScanLibDirForGCCTriple() 2895 for (llvm::vfs::directory_iterator LI = vfs.dir_begin(base, EC), LE; in DetectLibcxxIncludePath()
|
D | Cuda.cpp | 247 for (llvm::vfs::directory_iterator LI = FS.dir_begin(LibDevicePath, EC), in CudaInstallationDetector()
|
/external/llvm-project/lldb/source/Utility/ |
D | ReproducerProvider.cpp | 79 return vfs->dir_begin(dir, dir_ec); in addDirectoryImpl()
|
/external/llvm-project/lldb/unittests/Host/ |
D | FileSystemTest.cpp | 125 vfs::directory_iterator dir_begin(const Twine &Dir, in dir_begin() function in __anon7e4cd0180111::DummyFileSystem
|
/external/llvm-project/lldb/source/Host/common/ |
D | FileSystem.cpp | 100 return m_fs->dir_begin(dir, ec); in DirBegin()
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 1350 for (vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), DirEnd; in collectAllModules() 1418 for (vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), DirEnd; in loadSubdirectoryModuleMaps()
|
D | ModuleMap.cpp | 715 for (vfs::directory_iterator Dir = FS.dir_begin(SubframeworksDirName, EC), in inferFrameworkModule()
|
/external/llvm-project/clang/lib/Lex/ |
D | HeaderSearch.cpp | 1696 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), in collectAllModules() 1767 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), DirEnd; in loadSubdirectoryModuleMaps()
|
D | ModuleMap.cpp | 1062 Dir = FS.dir_begin(SubframeworksDirName, EC), in inferFrameworkModule()
|
/external/llvm-project/clang/lib/Frontend/ |
D | FrontendAction.cpp | 733 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), in BeginSourceFile()
|
D | CompilerInstance.cpp | 188 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), DirEnd; in collectIncludePCH()
|
/external/clang/lib/Driver/ |
D | ToolChains.cpp | 2557 for (vfs::directory_iterator LI = D.getVFS().dir_begin(LibDir, EC), LE; in scanLibDirForGCCTripleSolaris() 2579 LLI = D.getVFS().dir_begin(GCCInstallPath, EEC), in scanLibDirForGCCTripleSolaris() 2641 LI = D.getVFS().dir_begin(LibDir + LibSuffix, EC), in ScanLibDirForGCCTriple()
|