Searched refs:callbacks_ (Results 1 – 11 of 11) sorted by relevance
/external/libchrome/base/ |
D | callback_list.h | 89 list_->callbacks_.erase(iter_); in ~Subscription() 108 new Subscription(this, callbacks_.insert(callbacks_.end(), cb))); in Add() 120 return callbacks_.empty(); in empty() 129 list_iter_(list_->callbacks_.begin()) { in Iterator() 146 while ((list_iter_ != list_->callbacks_.end()) && list_iter_->is_null()) in GetNext() 150 if (list_iter_ != list_->callbacks_.end()) { in GetNext() 166 DCHECK_EQ(0U, callbacks_.size()); in ~CallbackListBase() 178 typename std::list<CallbackType>::iterator it = callbacks_.begin(); in Compact() 180 while (it != callbacks_.end()) { in Compact() 183 it = callbacks_.erase(it); in Compact() [all …]
|
/external/libchrome/base/metrics/ |
D | statistics_recorder.cc | 88 callbacks_ = existing_callbacks_.release(); in ~StatisticsRecorder() 148 auto callback_iterator = callbacks_->find(name); in RegisterOrDeleteDuplicate() 149 if (callback_iterator != callbacks_->end()) { in RegisterOrDeleteDuplicate() 387 if (ContainsKey(*callbacks_, name)) in SetCallback() 389 callbacks_->insert(std::make_pair(name, cb)); in SetCallback() 404 callbacks_->erase(name); in ClearCallback() 419 auto callback_iterator = callbacks_->find(name); in FindCallback() 420 return callback_iterator != callbacks_->end() ? callback_iterator->second in FindCallback() 482 existing_callbacks_.reset(callbacks_); in StatisticsRecorder() 487 callbacks_ = new CallbackMap; in StatisticsRecorder() [all …]
|
D | statistics_recorder.h | 251 static CallbackMap* callbacks_;
|
/external/tensorflow/tensorflow/core/framework/ |
D | cancellation.cc | 38 std::swap(callbacks_, callbacks_to_run); in StartCancel() 67 std::swap(callbacks_[token], callback); in RegisterCallback() 86 callbacks_.erase(token); in DeregisterCallback()
|
D | cancellation.h | 132 gtl::FlatMap<CancellationToken, CancelCallback> callbacks_ GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/cc/training/ |
D | queue_runner.cc | 38 callbacks_.push_back(cb); in AddErrorCallback() 43 callbacks_.clear(); in ClearErrorCallbacks() 157 for (auto& cb : callbacks_) { in UpdateStatus()
|
D | queue_runner.h | 131 std::vector<std::function<void(Status)>> callbacks_; variable
|
/external/v8/src/heap/ |
D | objects-visiting.h | 160 base::NoBarrier_Store(&callbacks_[i], other->callbacks_[i]); in CopyFrom() 167 return reinterpret_cast<Callback>(callbacks_[id]); in GetVisitorById() 172 callbacks_[id] = reinterpret_cast<base::AtomicWord>(callback); in Register() 200 base::AtomicWord callbacks_[StaticVisitorBase::kVisitorIdCount];
|
D | objects-visiting-inl.h | 21 return reinterpret_cast<Callback>(callbacks_[map->visitor_id()]); in GetVisitor()
|
/external/drm_hwcomposer/ |
D | drmhwctwo.h | 269 std::map<HWC2::Callback, HwcCallback> callbacks_; variable
|
D | drmhwctwo.cpp | 140 callbacks_.emplace(callback, HwcCallback(data, function)); in RegisterCallback()
|