Searched refs:watchers_ (Results 1 - 5 of 5) sorted by relevance

/external/libmojo/mojo/edk/system/
H A Dwatcher_set.cc18 for (const auto& entry : watchers_)
23 for (const auto& entry : watchers_)
31 auto it = watchers_.find(context);
32 if (it != watchers_.end())
39 watchers_.insert(std::make_pair(context, watcher));
47 auto it = watchers_.find(context);
48 if (it == watchers_.end())
52 watchers_.erase(it);
H A Dawakable_list.cc42 watchers_.NotifyForStateChange(state);
51 watchers_.NotifyClosed();
79 return watchers_.Add(signals, callback, context, current_state);
83 return watchers_.Remove(context);
H A Dwatcher_set.h46 std::unordered_map<uintptr_t, scoped_refptr<Watcher>> watchers_; member in class:mojo::edk::WatcherSet
H A Dawakable_list.h64 WatcherSet watchers_; member in class:mojo::edk::AwakableList
/external/libchrome/base/files/
H A Dfile_path_watcher_linux.cc76 hash_map<Watch, WatcherSet> watchers_; member in class:base::__anon10830::InotifyReader
78 // Lock to protect watchers_.
279 watchers_[watch].insert(watcher);
290 watchers_[watch].erase(watcher);
292 if (watchers_[watch].empty()) {
293 watchers_.erase(watch);
305 for (WatcherSet::iterator watcher = watchers_[event->wd].begin();
306 watcher != watchers_[event->wd].end();

Completed in 190 milliseconds