Home
last modified time | relevance | path

Searched refs:callbacks_ (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/
Dcallback_list.h89 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/
Dstatistics_recorder.cc88 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 …]
Dstatistics_recorder.h251 static CallbackMap* callbacks_;
/external/tensorflow/tensorflow/core/framework/
Dcancellation.cc38 std::swap(callbacks_, callbacks_to_run); in StartCancel()
67 std::swap(callbacks_[token], callback); in RegisterCallback()
86 callbacks_.erase(token); in DeregisterCallback()
Dcancellation.h132 gtl::FlatMap<CancellationToken, CancelCallback> callbacks_ GUARDED_BY(mu_);
/external/tensorflow/tensorflow/cc/training/
Dqueue_runner.cc38 callbacks_.push_back(cb); in AddErrorCallback()
43 callbacks_.clear(); in ClearErrorCallbacks()
157 for (auto& cb : callbacks_) { in UpdateStatus()
Dqueue_runner.h131 std::vector<std::function<void(Status)>> callbacks_; variable
/external/v8/src/heap/
Dobjects-visiting.h160 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];
Dobjects-visiting-inl.h21 return reinterpret_cast<Callback>(callbacks_[map->visitor_id()]); in GetVisitor()
/external/drm_hwcomposer/
Ddrmhwctwo.h269 std::map<HWC2::Callback, HwcCallback> callbacks_; variable
Ddrmhwctwo.cpp140 callbacks_.emplace(callback, HwcCallback(data, function)); in RegisterCallback()