Searched refs:watchers_ (Results 1 – 5 of 5) sorted by relevance
18 for (const auto& entry : watchers_) in NotifyForStateChange()23 for (const auto& entry : watchers_) in NotifyClosed()31 auto it = watchers_.find(context); in Add()32 if (it != watchers_.end()) in Add()39 watchers_.insert(std::make_pair(context, watcher)); in Add()47 auto it = watchers_.find(context); in Remove()48 if (it == watchers_.end()) in Remove()52 watchers_.erase(it); in Remove()
42 watchers_.NotifyForStateChange(state); in AwakeForStateChange()51 watchers_.NotifyClosed(); in CancelAll()79 return watchers_.Add(signals, callback, context, current_state); in AddWatcher()83 return watchers_.Remove(context); in RemoveWatcher()
46 std::unordered_map<uintptr_t, scoped_refptr<Watcher>> watchers_;
64 WatcherSet watchers_; variable
72 hash_map<Watch, WatcherSet> watchers_; member in base::__anon176e1fbc0111::InotifyReader308 watchers_[watch].insert(watcher); in AddWatch()319 watchers_[watch].erase(watcher); in RemoveWatch()321 if (watchers_[watch].empty()) { in RemoveWatch()322 watchers_.erase(watch); in RemoveWatch()334 for (WatcherSet::iterator watcher = watchers_[event->wd].begin(); in OnInotifyEvent()335 watcher != watchers_[event->wd].end(); in OnInotifyEvent()