Home
last modified time | relevance | path

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

/external/libchrome/base/
Dcallback_list.h87 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/
Dcancellation.cc44 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()
Dcancellation.h144 gtl::FlatMap<CancellationToken, CancelCallback> callbacks_ GUARDED_BY(mu_);
/external/grpc-grpc/src/cpp/server/
Ddynamic_thread_pool.cc57 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()
Ddynamic_thread_pool.h57 std::queue<std::function<void()>> callbacks_; variable
/external/libchrome/base/metrics/
Dstatistics_recorder.cc97 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()
Dstatistics_recorder.h278 CallbackMap callbacks_; variable
/external/libchrome/base/task_scheduler/
Dlazy_task_runner.cc111 for (auto& callback : callbacks_) in ~ScopedLazyTaskRunnerListForTesting()
118 callbacks_.push_back(std::move(callback)); in AddCallback()
Dlazy_task_runner.h210 std::vector<OnceClosure> callbacks_; variable
/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/wpa_supplicant_8/hostapd/hidl/1.1/
Dhostapd.h76 std::vector<sp<IHostapdCallback>> callbacks_; variable
Dhostapd.cpp324 for (const auto& callback : callbacks_) { in addAccessPointInternal_1_1()
358 callbacks_.push_back(callback); in registerCallbackInternal()
/external/drm_hwcomposer/
Ddrmhwctwo.cpp149 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()
Ddrmhwctwo.h284 std::map<HWC2::Callback, HwcCallback> callbacks_; variable