Searched refs:PidIterator (Results 1 – 2 of 2) sorted by relevance
30 class PidIterator {32 PidIterator(DIR* dir) : dir_(dir, closedir) { Increment(); } in PidIterator() function33 PidIterator& operator++() {37 bool operator==(const PidIterator& other) const { return pid_ == other.pid_; }38 bool operator!=(const PidIterator& other) const { return !(*this == other); }55 PidIterator begin() { return opendir("/proc"); } in begin()56 PidIterator end() { return nullptr; } in end()
22 void AllPids::PidIterator::Increment() { in Increment()