Home
last modified time | relevance | path

Searched refs:observers_ (Results 1 – 22 of 22) sorted by relevance

/third_party/node/deps/v8/src/heap/
Dallocation-observer.cc15 auto it = std::find_if(observers_.begin(), observers_.end(), in AddAllocationObserver()
19 DCHECK_EQ(observers_.end(), it); in AddAllocationObserver()
30 observers_.push_back(AllocationObserverCounter(observer, current_counter_, in AddAllocationObserver()
33 if (observers_.size() == 1) { in AddAllocationObserver()
44 auto it = std::find_if(observers_.begin(), observers_.end(), in RemoveAllocationObserver()
48 DCHECK_NE(observers_.end(), it); in RemoveAllocationObserver()
56 observers_.erase(it); in RemoveAllocationObserver()
58 if (observers_.size() == 0) { in RemoveAllocationObserver()
63 for (AllocationObserverCounter& observer_counter : observers_) { in RemoveAllocationObserver()
100 for (AllocationObserverCounter& aoc : observers_) { in InvokeAllocationObservers()
[all …]
Dallocation-observer.h71 bool IsActive() const { return !IsPaused() && observers_.size() > 0; } in IsActive()
106 std::vector<AllocationObserverCounter> observers_; variable
Dmark-compact.cc1583 observers_.push_back(observer); in AddObserver()
1700 for (MigrationObserver* obs : observers_) { in ExecuteMigrationObservers()
1733 std::vector<MigrationObserver*> observers_; member in v8::internal::EvacuateVisitorBase
/third_party/cef/libcef/browser/devtools/
Ddevtools_controller.cc26 for (auto& observer : observers_) { in ~CefDevToolsController()
76 for (auto& observer : observers_) { in AgentHostClosed()
83 observers_.AddObserver(observer); in AddObserver()
88 observers_.RemoveObserver(observer); in RemoveObserver()
94 if (observers_.empty()) in DispatchProtocolMessage()
106 for (auto& observer : observers_) { in DispatchProtocolMessage()
131 for (auto& observer : observers_) { in EnsureAgentHost()
Ddevtools_controller.h76 base::ObserverList<Observer> observers_; variable
/third_party/cef/libcef/browser/media_router/
Dmedia_router_manager.cc149 for (auto& observer : observers_) { in ~CefMediaRouterManager()
150 observers_.RemoveObserver(&observer); in ~CefMediaRouterManager()
159 observers_.AddObserver(observer); in AddObserver()
164 observers_.RemoveObserver(observer); in RemoveObserver()
169 for (auto& observer : observers_) { in NotifyCurrentSinks()
176 for (auto& observer : observers_) { in NotifyCurrentRoutes()
243 for (auto& observer : observers_) { in OnRouteStateChange()
252 for (auto& observer : observers_) { in OnMessagesReceived()
Dmedia_router_manager.h113 base::ObserverList<Observer> observers_; variable
/third_party/cef/libcef/browser/prefs/
Dpref_store.cc37 observers_.AddObserver(observer); in AddObserver()
41 observers_.RemoveObserver(observer); in RemoveObserver()
45 return !observers_.empty(); in HasObservers()
123 for (Observer& observer : observers_) in NotifyPrefValueChanged()
132 for (Observer& observer : observers_) in NotifyInitializationCompleted()
137 for (Observer& observer : observers_) in ReportValueChanged()
Dpref_store.h117 base::ObserverList<PrefStore::Observer, true>::Unchecked observers_; variable
/third_party/node/deps/v8/src/libplatform/tracing/
Dtracing-controller.cc216 observers_copy = observers_; in StartTracing()
234 observers_copy = observers_; in StopTracing()
350 observers_.insert(observer); in AddTraceStateObserver()
360 DCHECK(observers_.find(observer) != observers_.end()); in RemoveTraceStateObserver()
361 observers_.erase(observer); in RemoveTraceStateObserver()
/third_party/cef/libcef/browser/
Dcontext.cc453 observers_.AddObserver(observer); in AddObserver()
458 observers_.RemoveObserver(observer); in RemoveObserver()
463 return observers_.HasObserver(observer); in HasObserver()
490 for (auto& observer : observers_) in ShutdownOnUIThread()
Dbrowser_contents_delegate.cc61 observers_.AddObserver(observer); in AddObserver()
65 observers_.RemoveObserver(observer); in RemoveObserver()
491 for (auto& observer : observers_) { in WebContentsDestroyed()
616 for (auto& observer : observers_) { in OnStateChanged()
Dcontext.h115 base::ObserverList<Observer>::Unchecked observers_; variable
Dbrowser_host_base.cc715 observers_.AddObserver(observer); in AddObserver()
720 observers_.RemoveObserver(observer); in RemoveObserver()
725 return observers_.HasObserver(observer); in HasObserver()
808 for (auto& observer : observers_) in OnBrowserDestroyed()
Dbrowser_contents_delegate.h195 base::ObserverList<Observer> observers_; variable
Dbrowser_host_base.h299 base::ObserverList<Observer> observers_; variable
/third_party/cef/patch/patches/
Dchrome_browser_context_menus.patch39 + observers_.AddObserver(first_observer_.get());
123 + for (auto& observer : observers_) {
Dweb_contents_1257_1565.patch47 + observers_.NotifyObservers(&WebContentsObserver::OnFrameFocused,
/third_party/node/deps/v8/include/libplatform/
Dv8-tracing.h310 std::unordered_set<v8::TracingController::TraceStateObserver*> observers_; in V8_PLATFORM_NON_EXPORTED_BASE() local
/third_party/chromium/patch/
D0001-cve.patch328 - observers_.AddObserver(observer);
333 - observers_.RemoveObserver(observer);
343 - for (ui::ComboboxModelObserver& observer : observers_)
352 - for (ui::ComboboxModelObserver& observer : observers_)
375 - base::ObserverList<ui::ComboboxModelObserver> observers_;
418 - observers_.AddObserver(observer);
422 - observers_.RemoveObserver(observer);
432 - for (auto& observer : observers_) {
456 - base::ObserverList<ui::ComboboxModelObserver> observers_;
469 - observers_.AddObserver(observer);
[all …]
D0004-ohos-3.2-Beta5.patch24822 + CHECK(!observers_.HasObserver(observer));
24824 observers_.AddObserver(observer);
24853 - for (auto& observer : observers_)
24855 + for (auto& observer : observers_) {
30164 for (Observer& observer : observers_)
30172 for (Observer& observer : observers_)
D0003-ohos-1115.patch21007 + for (auto& observer : observers_)
21119 + observers_.AddObserver(observer);
21124 + observers_.RemoveObserver(observer);
21657 + observers_;
38112 + observers_[origin].AddObserver(observer);
38121 + observers_[observer->GetOrigin()].RemoveObserver(observer);
38195 + if (!has_changed || !base::Contains(observers_, origin))
38198 + for (auto& observer : observers_[origin]) {
38246 + std::map<url::Origin, base::ObserverList<Observer>> observers_;
38275 - observers_(new base::ObserverListThreadSafe<
[all …]