/external/libchrome/base/ |
D | observer_list.h | 118 : 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 …]
|
D | observer_list_threadsafe.h | 115 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/ |
D | notifier.h | 47 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/ |
D | call_stats.cc | 103 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()
|
D | call_stats.h | 76 std::list<CallStatsObserver*> observers_; variable
|
D | end_to_end_tests.cc | 1327 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/ |
D | tracing-controller.cc | 145 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/ |
D | sampling_heap_profiler.cc | 364 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()
|
D | sampling_heap_profiler.h | 107 std::vector<SamplesObserver*> observers_; variable
|
/external/libchrome/device/bluetooth/ |
D | bluetooth_advertisement.cc | 22 observers_.AddObserver(observer); in AddObserver() 28 observers_.RemoveObserver(observer); in RemoveObserver()
|
D | bluetooth_advertisement.h | 146 base::ObserverList<BluetoothAdvertisement::Observer> observers_; variable
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/ |
D | imagenet_model_evaluator.cc | 89 : 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()
|
D | imagenet_model_evaluator.h | 108 void AddObserver(Observer* observer) { observers_.push_back(observer); } in AddObserver() 119 std::vector<Observer*> observers_; variable
|
/external/libchrome/mojo/core/ |
D | mach_port_relay.cc | 184 bool inserted = observers_.insert(observer).second; in AddObserver() 190 observers_.erase(observer); in RemoveObserver() 195 for (auto* observer : observers_) in OnReceivedTaskPort()
|
D | mach_port_relay.h | 82 std::set<Observer*> observers_; variable
|
/external/libchrome/base/power_monitor/ |
D | power_monitor.h | 48 scoped_refptr<ObserverListThreadSafe<PowerObserver>> observers_; variable
|
/external/v8/include/libplatform/ |
D | v8-tracing.h | 283 std::unordered_set<v8::TracingController::TraceStateObserver*> observers_; in V8_PLATFORM_NON_EXPORTED_BASE() local
|
/external/v8/src/heap/ |
D | mark-compact.cc | 1168 observers_.push_back(observer); in AddObserver() 1238 for (MigrationObserver* obs : observers_) { in ExecuteMigrationObservers() 1270 std::vector<MigrationObserver*> observers_; member in v8::internal::EvacuateVisitorBase
|