Home
last modified time | relevance | path

Searched refs:dir_begin (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp108 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/
DVirtualFileSystemTest.cpp135 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 …]
DFileCollectorTest.cpp189 auto It = VFS->dir_begin(subdir3.path(), EC); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCollector.cpp214 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()
DVirtualFileSystem.cpp257 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/
DFileCollector.cpp117 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
DVirtualFileSystem.cpp257 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/
DVirtualFileSystem.h263 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/
DVirtualFileSystem.h264 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/
DVirtualFileSystem.h214 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/
DVirtualFileSystem.cpp200 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/
DBareMetal.cpp159 LI = getDriver().getVFS().dir_begin(Dir.str(), EC), in AddClangCXXStdlibIncludeArgs()
DAMDGPU.cpp32 for (llvm::vfs::directory_iterator LI = D.getVFS().dir_begin(Path, EC), LE; in scanLibDevicePath()
DGnu.cpp2014 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()
DCuda.cpp247 for (llvm::vfs::directory_iterator LI = FS.dir_begin(LibDevicePath, EC), in CudaInstallationDetector()
/external/llvm-project/lldb/source/Utility/
DReproducerProvider.cpp79 return vfs->dir_begin(dir, dir_ec); in addDirectoryImpl()
/external/llvm-project/lldb/unittests/Host/
DFileSystemTest.cpp125 vfs::directory_iterator dir_begin(const Twine &Dir, in dir_begin() function in __anon7e4cd0180111::DummyFileSystem
/external/llvm-project/lldb/source/Host/common/
DFileSystem.cpp100 return m_fs->dir_begin(dir, ec); in DirBegin()
/external/clang/lib/Lex/
DHeaderSearch.cpp1350 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()
DModuleMap.cpp715 for (vfs::directory_iterator Dir = FS.dir_begin(SubframeworksDirName, EC), in inferFrameworkModule()
/external/llvm-project/clang/lib/Lex/
DHeaderSearch.cpp1696 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()
DModuleMap.cpp1062 Dir = FS.dir_begin(SubframeworksDirName, EC), in inferFrameworkModule()
/external/llvm-project/clang/lib/Frontend/
DFrontendAction.cpp733 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), in BeginSourceFile()
DCompilerInstance.cpp188 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), DirEnd; in collectIncludePCH()
/external/clang/lib/Driver/
DToolChains.cpp2557 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()

12