Home
last modified time | relevance | path

Searched refs:watchers_ (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/mojo/core/
Dwatcher_set.cc21 for (const auto& entry : watchers_) in NotifyState()
26 for (const auto& entry : watchers_) in NotifyClosed()
33 auto it = watchers_.find(watcher.get()); in Add()
34 if (it == watchers_.end()) { in Add()
36 watchers_.insert(std::make_pair(watcher.get(), Entry{watcher})); in Add()
56 auto it = watchers_.find(watcher); in Remove()
57 if (it == watchers_.end()) in Remove()
67 watchers_.erase(it); in Remove()
Dmessage_pipe_dispatcher.cc94 watchers_(this) { in MessagePipeDispatcher()
111 watchers_.NotifyClosed(); in Fuse()
119 other->watchers_.NotifyClosed(); in Fuse()
192 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in ReadMessage()
257 return watchers_.Add(watcher, context, GetHandleSignalsStateNoLock()); in AddWatcherRef()
265 return watchers_.Remove(watcher, context); in RemoveWatcherRef()
309 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in CancelTransit()
346 watchers_.NotifyClosed(); in CloseNoLock()
422 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in OnPortStatusChanged()
Ddata_pipe_consumer_dispatcher.cc123 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in ReadData()
145 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in ReadData()
153 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in ReadData()
188 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in ReadData()
208 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in BeginReadData()
227 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in BeginReadData()
261 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in EndReadData()
277 return watchers_.Add(watcher, context, GetHandleSignalsStateNoLock()); in AddWatcherRef()
286 return watchers_.Remove(watcher, context); in RemoveWatcherRef()
427 watchers_(this), in DataPipeConsumerDispatcher()
[all …]
Ddata_pipe_producer_dispatcher.cc153 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in WriteData()
220 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in EndWriteData()
236 return watchers_.Add(watcher, context, GetHandleSignalsStateNoLock()); in AddWatcherRef()
245 return watchers_.Remove(watcher, context); in RemoveWatcherRef()
317 watchers_.NotifyState(state); in CancelTransit()
387 watchers_(this), in DataPipeProducerDispatcher()
424 watchers_.NotifyClosed(); in CloseNoLock()
533 watchers_.NotifyState(GetHandleSignalsStateNoLock()); in UpdateSignalsStateNoLock()
Dwatcher_set.h61 base::flat_map<WatcherDispatcher*, Entry> watchers_; variable
Dmessage_pipe_dispatcher.h106 WatcherSet watchers_; variable
Ddata_pipe_producer_dispatcher.h98 WatcherSet watchers_; variable
Ddata_pipe_consumer_dispatcher.h99 WatcherSet watchers_; variable
/external/libchrome/base/files/
Dfile_path_watcher_linux.cc94 std::unordered_map<Watch, WatcherSet> watchers_; member in base::__anon271f2d060111::InotifyReader
307 watchers_[watch].insert(watcher); in AddWatch()
318 watchers_[watch].erase(watcher); in RemoveWatch()
320 if (watchers_[watch].empty()) { in RemoveWatch()
321 watchers_.erase(watch); in RemoveWatch()
333 for (WatcherSet::iterator watcher = watchers_[event->wd].begin(); in OnInotifyEvent()
334 watcher != watchers_[event->wd].end(); in OnInotifyEvent()