Lines Matching defs:directory_iterator
729 /// DirIterState - Keeps state for the directory_iterator. It is reference
744 /// directory_iterator - Iterates through the entries in path. There is no
747 class directory_iterator {
751 explicit directory_iterator(const Twine &path, std::error_code &ec) {
758 explicit directory_iterator(const directory_entry &de, std::error_code &ec) {
764 directory_iterator() : State(nullptr) {}
767 directory_iterator &increment(std::error_code &ec) {
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;
806 /// recursive_directory_iterator - Same as directory_iterator except for it
815 State->Stack.push(directory_iterator(path, ec));
816 if (State->Stack.top() == directory_iterator())
821 const directory_iterator end_itr;
829 State->Stack.push(directory_iterator(*State->Stack.top(), ec));
868 const directory_iterator end_itr;