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.h184 if (cancel_callback_) { in RequestCancelled()
185 cancel_callback_(); in RequestCancelled()
194 cancel_callback_ = std::move(callback); in SetCancelCallback()
200 cancel_callback_ = nullptr; in ClearCancelCallback()
275 std::function<void()> cancel_callback_ TF_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::__anonf200b6c20111::TriggerHelper::NotificationContext