Searched refs:callbacks_ (Results 1 – 15 of 15) sorted by relevance
/external/libchrome/base/ |
D | callback_list.h | 87 list_->callbacks_.erase(iter_); in ~Subscription() 106 this, callbacks_.insert(callbacks_.end(), cb)); in Add() 118 return callbacks_.empty(); in empty() 127 list_iter_(list_->callbacks_.begin()) { in Iterator() 144 while ((list_iter_ != list_->callbacks_.end()) && list_iter_->is_null()) in GetNext() 148 if (list_iter_ != list_->callbacks_.end()) { in GetNext() 164 DCHECK_EQ(0U, callbacks_.size()); in ~CallbackListBase() 176 auto it = callbacks_.begin(); in Compact() 178 while (it != callbacks_.end()) { in Compact() 181 it = callbacks_.erase(it); in Compact() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | cancellation.cc | 44 std::swap(callbacks_, callbacks_to_run); in StartCancel() 73 std::swap(callbacks_[token], callback); in RegisterCallback() 92 callbacks_.erase(token); in DeregisterCallback() 103 callbacks_.erase(token); in TryDeregisterCallback() 109 if (!callbacks_.empty()) { in ~CancellationManager()
|
D | cancellation.h | 144 gtl::FlatMap<CancellationToken, CancelCallback> callbacks_ GUARDED_BY(mu_);
|
/external/grpc-grpc/src/cpp/server/ |
D | dynamic_thread_pool.cc | 57 if (!shutdown_ && callbacks_.empty()) { in ThreadFunc() 68 if (!callbacks_.empty()) { in ThreadFunc() 69 auto cb = callbacks_.front(); in ThreadFunc() 70 callbacks_.pop(); in ThreadFunc() 110 callbacks_.push(callback); in Add()
|
D | dynamic_thread_pool.h | 57 std::queue<std::function<void()>> callbacks_; variable
|
/external/libchrome/base/metrics/ |
D | statistics_recorder.cc | 97 const auto callback_iterator = top_->callbacks_.find(name); in RegisterOrDeleteDuplicate() 98 if (callback_iterator != top_->callbacks_.end()) { in RegisterOrDeleteDuplicate() 247 if (!top_->callbacks_.insert({name, cb}).second) in SetCallback() 262 top_->callbacks_.erase(name); in ClearCallback() 275 const auto it = top_->callbacks_.find(name); in FindCallback() 276 return it != top_->callbacks_.end() ? it->second : OnSampleCallback(); in FindCallback()
|
D | statistics_recorder.h | 278 CallbackMap callbacks_; variable
|
/external/libchrome/base/task_scheduler/ |
D | lazy_task_runner.cc | 111 for (auto& callback : callbacks_) in ~ScopedLazyTaskRunnerListForTesting() 118 callbacks_.push_back(std::move(callback)); in AddCallback()
|
D | lazy_task_runner.h | 210 std::vector<OnceClosure> callbacks_; variable
|
/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/wpa_supplicant_8/hostapd/hidl/1.1/ |
D | hostapd.h | 76 std::vector<sp<IHostapdCallback>> callbacks_; variable
|
D | hostapd.cpp | 324 for (const auto& callback : callbacks_) { in addAccessPointInternal_1_1() 358 callbacks_.push_back(callback); in registerCallbackInternal()
|
/external/drm_hwcomposer/ |
D | drmhwctwo.cpp | 149 callbacks_.erase(callback); in RegisterCallback() 153 callbacks_.emplace(callback, HwcCallback(data, function)); in RegisterCallback() 905 auto cb = callbacks_.find(HWC2::Callback::Hotplug); in HandleDisplayHotplug() 906 if (cb == callbacks_.end()) in HandleDisplayHotplug()
|
D | drmhwctwo.h | 284 std::map<HWC2::Callback, HwcCallback> callbacks_; variable
|