/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, 232 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
|
/external/llvm/include/llvm/Support/ |
D | FileSystem.h | 732 class directory_iterator { 736 explicit directory_iterator(const Twine &path, std::error_code &ec) { in directory_iterator() function 743 explicit directory_iterator(const directory_entry &de, std::error_code &ec) { in directory_iterator() function 749 directory_iterator() : State(nullptr) {} in directory_iterator() function 752 directory_iterator &increment(std::error_code &ec) { in increment() 760 bool operator==(const directory_iterator &RHS) const { 770 bool operator!=(const directory_iterator &RHS) const { 785 std::stack<directory_iterator, std::vector<directory_iterator> > Stack; 800 State->Stack.push(directory_iterator(path, ec)); in recursive_directory_iterator() 801 if (State->Stack.top() == directory_iterator()) in recursive_directory_iterator() [all …]
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 155 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 186 llvm::sys::fs::directory_iterator Iter; 190 if (!EC && Iter != llvm::sys::fs::directory_iterator()) { in RealFSDirIter() 205 } else if (Iter == llvm::sys::fs::directory_iterator()) { in increment() 218 directory_iterator RealFileSystem::dir_begin(const Twine &Dir, in dir_begin() 220 return directory_iterator(std::make_shared<RealFSDirIter>(Dir, EC)); in dir_begin() 262 directory_iterator CurrentDirIter; 273 if (CurrentDirIter != directory_iterator()) in incrementFS() 280 assert((IsFirstTime || CurrentDirIter != directory_iterator()) && in incrementDirIter() 285 if (!EC && CurrentDirIter == directory_iterator()) in incrementDirIter() [all …]
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 84 vfs::directory_iterator dir_begin(const Twine &Dir, in dir_begin() 86 return vfs::directory_iterator( in dir_begin() 289 vfs::directory_iterator I = FS->dir_begin(Twine(TestDirectory), EC); in TEST() 291 EXPECT_EQ(vfs::directory_iterator(), I); // empty directory is empty in TEST() 300 ASSERT_NE(vfs::directory_iterator(), I); in TEST() 305 ASSERT_NE(vfs::directory_iterator(), I); in TEST() 308 EXPECT_EQ(vfs::directory_iterator(), I); in TEST() 500 vfs::directory_iterator I = O->dir_begin("/", EC), E; in TEST() 509 vfs::directory_iterator I = O->dir_begin("/", EC), E; in TEST()
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 1202 for (llvm::sys::fs::directory_iterator Dir(ModuleCachePathNative, EC), DirEnd; in pruneModuleCache() 1209 for (llvm::sys::fs::directory_iterator File(Dir->path(), EC), FileEnd; in pruneModuleCache() 1239 if (llvm::sys::fs::directory_iterator(Dir->path(), EC) == in pruneModuleCache() 1240 llvm::sys::fs::directory_iterator() && !EC) in pruneModuleCache()
|
D | FrontendAction.cpp | 271 for (llvm::sys::fs::directory_iterator Dir(DirNative, EC), DirEnd; in BeginSourceFile()
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 1287 for (llvm::sys::fs::directory_iterator Dir(DirNative, EC), DirEnd; in collectAllModules() 1354 for (llvm::sys::fs::directory_iterator Dir(DirNative, EC), DirEnd; in loadSubdirectoryModuleMaps()
|
D | ModuleMap.cpp | 729 for (llvm::sys::fs::directory_iterator Dir(SubframeworksDirName, EC), DirEnd; in inferFrameworkModule()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 2019 directory_iterator DI = directory_iterator(DirPath, EC); in getWhiteListFilenames() 2020 directory_iterator DE; in getWhiteListFilenames()
|
/external/clang/lib/Serialization/ |
D | GlobalModuleIndex.cpp | 794 for (llvm::sys::fs::directory_iterator D(Path, EC), DEnd; in writeIndex()
|
/external/llvm/unittests/Support/ |
D | Path.cpp | 512 for (fs::directory_iterator i(".", ec), e; i != e; i.increment(ec)) in TEST_F()
|
/external/clang/lib/Driver/ |
D | ToolChains.cpp | 1971 for (llvm::sys::fs::directory_iterator LI(LibDir + LibSuffix, EC), LE; in ScanLibDirForGCCTriple() 2188 for (llvm::sys::fs::directory_iterator di(HexagonDir, ec), de; in Hexagon_TC()
|