Home
last modified time | relevance | path

Searched refs:cancel_callback_ (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_call.h172 if (cancel_callback_) { in RequestCancelled()
173 cancel_callback_(); in RequestCancelled()
182 cancel_callback_ = std::move(callback); in SetCancelCallback()
188 cancel_callback_ = nullptr; in ClearCancelCallback()
263 std::function<void()> cancel_callback_ GUARDED_BY(mu_);
/external/libchrome/mojo/core/
Dtrap_unittest.cc71 cancel_callback_ = std::move(cancel_callback); in SetCancelCallback()
75 if (event.result == MOJO_RESULT_CANCELLED && cancel_callback_) in Notify()
76 std::move(cancel_callback_).Run(); in Notify()
83 base::OnceClosure cancel_callback_; member in mojo::core::__anon696ef0640111::TriggerHelper::NotificationContext