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::__anon271f2d060111::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.cc598 watches_.push_back(watch); in AddWatch()
609 find(watches_.begin(), watches_.end(), watch); in RemoveWatch()
610 if (it != watches_.end()) in RemoveWatch()
611 watches_.erase(it); in RemoveWatch()
705 for (std::vector<DBusWatch *>::iterator it = watches_.begin(); in DispatchOnce()
706 it != watches_.end(); ++it) { in DispatchOnce()
760 std::vector<DBusWatch *> immutable_watches = watches_; in DispatchOnce()
Ddbus_test.h277 std::vector<DBusWatch *> watches_; variable