Home
last modified time | relevance | path

Searched refs:watches_ (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/files/
Dfile_path_watcher_linux.cc203 WatchVector watches_; member in base::__anonc6a57ca40111::FilePathWatcherImpl
376 DCHECK(!watches_.empty()); in OnFilePathChangedOnOriginSequence()
383 for (size_t i = 0; i < watches_.size(); ++i) { in OnFilePathChangedOnOriginSequence()
384 const WatchEntry& watch_entry = watches_[i]; in OnFilePathChangedOnOriginSequence()
409 bool next_watch_may_be_for_target = watches_[i + 1].subdir.empty(); in OnFilePathChangedOnOriginSequence()
471 watches_.push_back(WatchEntry(comps[i])); in Watch()
472 watches_.push_back(WatchEntry(FilePath::StringType())); in Watch()
490 for (size_t i = 0; i < watches_.size(); ++i) in Cancel()
491 g_inotify_reader.Get().RemoveWatch(watches_[i].watch, this); in Cancel()
492 watches_.clear(); in Cancel()
[all …]
/external/libchrome/mojo/core/
Dwatcher_dispatcher.cc51 watches_.erase(watch->context()); in NotifyHandleClosed()
106 std::swap(watches, watches_); in Close()
132 if (watches_.count(context) || watched_handles_.count(dispatcher.get())) in WatchDispatcher()
137 watches_.insert({context, watch}); in WatchDispatcher()
148 watches_.erase(context); in WatchDispatcher()
176 auto it = watches_.find(context); in CancelWatch()
177 if (it == watches_.end()) in CancelWatch()
180 watches_.erase(it); in CancelWatch()
Dwatcher_dispatcher.h77 base::flat_map<uintptr_t, scoped_refptr<Watch>> watches_; variable
/external/adhd/cras/src/tests/
Ddbus_test.cc554 watches_.push_back(watch); in AddWatch()
565 find(watches_.begin(), watches_.end(), watch); in RemoveWatch()
566 if (it != watches_.end()) in RemoveWatch()
567 watches_.erase(it); in RemoveWatch()
658 for (std::vector<DBusWatch*>::iterator it = watches_.begin(); in DispatchOnce()
659 it != watches_.end(); ++it) { in DispatchOnce()
713 std::vector<DBusWatch*> immutable_watches = watches_; in DispatchOnce()
Ddbus_test.h283 std::vector<DBusWatch*> watches_; variable