/external/clang/include/clang/Basic/ |
D | VirtualFileSystem.h | 115 class directory_iterator { 119 directory_iterator(std::shared_ptr<detail::DirIterImpl> I) : Impl(I) { in directory_iterator() function 126 directory_iterator() { } in directory_iterator() function 129 directory_iterator &increment(std::error_code &EC) { in increment() 140 bool operator==(const directory_iterator &RHS) const { 145 bool operator!=(const directory_iterator &RHS) const { 155 typedef std::stack<directory_iterator, std::vector<directory_iterator>> 200 virtual directory_iterator dir_begin(const Twine &Dir, 254 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 298 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
|
/external/llvm/include/llvm/Support/ |
D | FileSystem.h | 747 class directory_iterator { 751 explicit directory_iterator(const Twine &path, std::error_code &ec) { in directory_iterator() function 758 explicit directory_iterator(const directory_entry &de, std::error_code &ec) { in directory_iterator() function 764 directory_iterator() : State(nullptr) {} in directory_iterator() function 767 directory_iterator &increment(std::error_code &ec) { in increment() 775 bool operator==(const directory_iterator &RHS) const { 785 bool operator!=(const directory_iterator &RHS) const { 800 std::stack<directory_iterator, std::vector<directory_iterator> > Stack; 815 State->Stack.push(directory_iterator(path, ec)); in recursive_directory_iterator() 816 if (State->Stack.top() == directory_iterator()) in recursive_directory_iterator() [all …]
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 184 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 236 llvm::sys::fs::directory_iterator Iter; 240 if (!EC && Iter != llvm::sys::fs::directory_iterator()) { in RealFSDirIter() 253 } else if (Iter == llvm::sys::fs::directory_iterator()) { in increment() 265 directory_iterator RealFileSystem::dir_begin(const Twine &Dir, in dir_begin() 267 return directory_iterator(std::make_shared<RealFSDirIter>(Dir, EC)); in dir_begin() 325 directory_iterator CurrentDirIter; 336 if (CurrentDirIter != directory_iterator()) in incrementFS() 343 assert((IsFirstTime || CurrentDirIter != directory_iterator()) && in incrementDirIter() 348 if (!EC && CurrentDirIter == directory_iterator()) in incrementDirIter() [all …]
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 106 vfs::directory_iterator dir_begin(const Twine &Dir, in dir_begin() 108 return vfs::directory_iterator( in dir_begin() 311 vfs::directory_iterator I = FS->dir_begin(Twine(TestDirectory), EC); in TEST() 313 EXPECT_EQ(vfs::directory_iterator(), I); // empty directory is empty in TEST() 322 ASSERT_NE(vfs::directory_iterator(), I); in TEST() 327 ASSERT_NE(vfs::directory_iterator(), I); in TEST() 330 EXPECT_EQ(vfs::directory_iterator(), I); in TEST() 522 vfs::directory_iterator I = O->dir_begin("/", EC), E; in TEST() 531 vfs::directory_iterator I = O->dir_begin("/", EC), E; in TEST() 631 vfs::directory_iterator I = FS.dir_begin("/", EC); in TEST_F() [all …]
|
/external/clang/lib/Driver/ |
D | MinGWToolChain.cpp | 29 for (llvm::sys::fs::directory_iterator LI(LibDir, EC), LE; !EC && LI != LE; in findGccVersion()
|
D | MSVCToolChain.cpp | 234 for (llvm::sys::fs::directory_iterator DirIt(IncludePath, EC), DirEnd; in getWindows10SDKVersion()
|
D | ToolChains.cpp | 1666 for (llvm::sys::fs::directory_iterator LI(CudaLibDevicePath, EC), LE; in init() 2189 for (vfs::directory_iterator LI = D.getVFS().dir_begin(LibDir, EC), LE; in scanLibDirForGCCTripleSolaris() 2210 for (vfs::directory_iterator in scanLibDirForGCCTripleSolaris() 2272 for (vfs::directory_iterator in ScanLibDirForGCCTriple() 4022 for (llvm::sys::fs::directory_iterator LI(base, EC), LE; !EC && LI != LE; in DetectLibcxxIncludePath()
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 1206 for (llvm::sys::fs::directory_iterator Dir(ModuleCachePathNative, EC), DirEnd; in pruneModuleCache() 1213 for (llvm::sys::fs::directory_iterator File(Dir->path(), EC), FileEnd; in pruneModuleCache() 1243 if (llvm::sys::fs::directory_iterator(Dir->path(), EC) == in pruneModuleCache() 1244 llvm::sys::fs::directory_iterator() && !EC) in pruneModuleCache()
|
D | FrontendAction.cpp | 272 for (llvm::sys::fs::directory_iterator Dir(DirNative, EC), DirEnd; in BeginSourceFile()
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 1347 for (llvm::sys::fs::directory_iterator Dir(DirNative, EC), DirEnd; in collectAllModules() 1414 for (llvm::sys::fs::directory_iterator Dir(DirNative, EC), DirEnd; in loadSubdirectoryModuleMaps()
|
D | ModuleMap.cpp | 728 for (llvm::sys::fs::directory_iterator Dir(SubframeworksDirName, EC), DirEnd; in inferFrameworkModule()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 2002 directory_iterator DI = directory_iterator(DirPath, EC); in getWhiteListFilenames() 2003 directory_iterator DE; in getWhiteListFilenames()
|
/external/clang/lib/Serialization/ |
D | GlobalModuleIndex.cpp | 797 for (llvm::sys::fs::directory_iterator D(Path, EC), DEnd; in writeIndex()
|
/external/llvm/unittests/Support/ |
D | Path.cpp | 651 for (fs::directory_iterator i(".", ec), e; i != e; i.increment(ec)) in TEST_F()
|