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
76 hash_map<Watch, WatcherSet> watchers_; member in base::__anon0ca4e57a0111::InotifyReader279 watchers_[watch].insert(watcher); in AddWatch()290 watchers_[watch].erase(watcher); in RemoveWatch()292 if (watchers_[watch].empty()) { in RemoveWatch()293 watchers_.erase(watch); in RemoveWatch()305 for (WatcherSet::iterator watcher = watchers_[event->wd].begin(); in OnInotifyEvent()306 watcher != watchers_[event->wd].end(); in OnInotifyEvent()