Home
last modified time | relevance | path

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

/external/libchrome/base/
Dobserver_list.h118 : list->observers_.size()) { in Iter()
190 return list_->observers_[index_]; in GetCurrent()
196 while (index_ < max_index && !list_->observers_[index_]) in EnsureValidIndex()
201 return std::min(max_index_, list_->observers_.size()); in clamped_max_index()
220 return observers_.empty() ? const_iterator() : const_iterator(this); in begin()
231 DCHECK(observers_.empty()); in ~ObserverList()
246 observers_.push_back(obs); in AddObserver()
253 const auto it = std::find(observers_.begin(), observers_.end(), obs); in RemoveObserver()
254 if (it == observers_.end()) in RemoveObserver()
261 observers_.erase(it); in RemoveObserver()
[all …]
Dobserver_list_threadsafe.h115 DCHECK(!ContainsKey(observers_, observer));
118 observers_[observer] = task_runner;
146 observers_.erase(observer);
153 DCHECK(observers_.empty());
168 for (const auto& observer : observers_) {
197 auto it = observers_.find(observer);
198 if (it == observers_.end())
230 observers_;
/external/webrtc/talk/app/webrtc/
Dnotifier.h47 observers_.push_back(observer); in RegisterObserver()
51 for (std::list<ObserverInterface*>::iterator it = observers_.begin(); in UnregisterObserver()
52 it != observers_.end(); it++) { in UnregisterObserver()
54 observers_.erase(it); in UnregisterObserver()
64 std::list<ObserverInterface*> observers = observers_; in FireOnChanged()
72 std::list<ObserverInterface*> observers_;
/external/webrtc/webrtc/video/
Dcall_stats.cc103 assert(observers_.empty()); in ~CallStats()
125 for (std::list<CallStatsObserver*>::iterator it = observers_.begin(); in Process()
126 it != observers_.end(); ++it) { in Process()
144 for (std::list<CallStatsObserver*>::iterator it = observers_.begin(); in RegisterStatsObserver()
145 it != observers_.end(); ++it) { in RegisterStatsObserver()
149 observers_.push_back(observer); in RegisterStatsObserver()
154 for (std::list<CallStatsObserver*>::iterator it = observers_.begin(); in DeregisterStatsObserver()
155 it != observers_.end(); ++it) { in DeregisterStatsObserver()
157 observers_.erase(it); in DeregisterStatsObserver()
Dcall_stats.h76 std::list<CallStatsObserver*> observers_; variable
Dend_to_end_tests.cc1327 for (const auto& observer : observers_) { in TEST_F()
1338 observers_[stream_index].reset(new VideoOutputObserver( in TEST_F()
1346 receive_config->renderer = observers_[stream_index].get(); in TEST_F()
1350 rtc::scoped_ptr<VideoOutputObserver> observers_[kNumStreams]; in TEST_F() member in webrtc::TEST_F::Tester
/external/v8/src/libplatform/tracing/
Dtracing-controller.cc145 observers_copy = observers_; in StartTracing()
162 observers_copy = observers_; in StopTracing()
251 observers_.insert(observer); in AddTraceStateObserver()
261 DCHECK(observers_.find(observer) != observers_.end()); in RemoveTraceStateObserver()
262 observers_.erase(observer); in RemoveTraceStateObserver()
/external/libchrome/base/sampling_heap_profiler/
Dsampling_heap_profiler.cc364 for (auto* observer : observers_) in DoRecordAlloc()
394 for (auto* observer : observers_) in DoRecordFree()
447 observers_.push_back(observer); in AddSamplesObserver()
457 auto it = std::find(observers_.begin(), observers_.end(), observer); in RemoveSamplesObserver()
458 CHECK(it != observers_.end()); in RemoveSamplesObserver()
459 observers_.erase(it); in RemoveSamplesObserver()
Dsampling_heap_profiler.h107 std::vector<SamplesObserver*> observers_; variable
/external/libchrome/device/bluetooth/
Dbluetooth_advertisement.cc22 observers_.AddObserver(observer); in AddObserver()
28 observers_.RemoveObserver(observer); in RemoveObserver()
Dbluetooth_advertisement.h146 base::ObserverList<BluetoothAdvertisement::Observer> observers_; variable
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/
Dimagenet_model_evaluator.cc89 : observers_(observers) {} in CompositeObserver()
94 for (auto observer : observers_) { in OnEvaluationStart()
103 for (auto observer : observers_) { in OnSingleImageEvaluationComplete()
109 const std::vector<ImagenetModelEvaluator::Observer*>& observers_
315 CompositeObserver observer(observers_); in EvaluateModel()
Dimagenet_model_evaluator.h108 void AddObserver(Observer* observer) { observers_.push_back(observer); } in AddObserver()
119 std::vector<Observer*> observers_; variable
/external/libchrome/mojo/core/
Dmach_port_relay.cc184 bool inserted = observers_.insert(observer).second; in AddObserver()
190 observers_.erase(observer); in RemoveObserver()
195 for (auto* observer : observers_) in OnReceivedTaskPort()
Dmach_port_relay.h82 std::set<Observer*> observers_; variable
/external/libchrome/base/power_monitor/
Dpower_monitor.h48 scoped_refptr<ObserverListThreadSafe<PowerObserver>> observers_; variable
/external/v8/include/libplatform/
Dv8-tracing.h283 std::unordered_set<v8::TracingController::TraceStateObserver*> observers_; in V8_PLATFORM_NON_EXPORTED_BASE() local
/external/v8/src/heap/
Dmark-compact.cc1168 observers_.push_back(observer); in AddObserver()
1238 for (MigrationObserver* obs : observers_) { in ExecuteMigrationObservers()
1270 std::vector<MigrationObserver*> observers_; member in v8::internal::EvacuateVisitorBase