Lines Matching refs:directory_iterator

200   directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
253 llvm::sys::fs::directory_iterator Iter;
257 if (!EC && Iter != llvm::sys::fs::directory_iterator()) { in RealFSDirIter()
270 } else if (Iter == llvm::sys::fs::directory_iterator()) { in increment()
282 directory_iterator RealFileSystem::dir_begin(const Twine &Dir, in dir_begin()
284 return directory_iterator(std::make_shared<RealFSDirIter>(Dir, EC)); in dir_begin()
342 directory_iterator CurrentDirIter;
353 if (CurrentDirIter != directory_iterator()) in incrementFS()
360 assert((IsFirstTime || CurrentDirIter != directory_iterator()) && in incrementDirIter()
365 if (!EC && CurrentDirIter == directory_iterator()) in incrementDirIter()
373 if (EC || CurrentDirIter == directory_iterator()) { in incrementImpl()
397 directory_iterator OverlayFileSystem::dir_begin(const Twine &Dir, in dir_begin()
399 return directory_iterator( in dir_begin()
664 directory_iterator InMemoryFileSystem::dir_begin(const Twine &Dir, in dir_begin()
669 return directory_iterator(std::make_shared<InMemoryDirIterator>()); in dir_begin()
673 return directory_iterator(std::make_shared<InMemoryDirIterator>(*DirNode)); in dir_begin()
676 return directory_iterator(std::make_shared<InMemoryDirIterator>()); in dir_begin()
910 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override{ in dir_begin()
914 return directory_iterator(); in dir_begin()
919 return directory_iterator(); in dir_begin()
924 return directory_iterator(); in dir_begin()
928 return directory_iterator(std::make_shared<VFSFromYamlDirIterImpl>(Dir, in dir_begin()
1789 directory_iterator I = FS->dir_begin(Path, EC); in recursive_directory_iterator()
1790 if (!EC && I != directory_iterator()) { in recursive_directory_iterator()
1800 vfs::directory_iterator End; in increment()
1802 vfs::directory_iterator I = FS->dir_begin(State->top()->getName(), EC); in increment()