Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_worker_service.cc248 call->SetCancelCallback([call_opts]() { call_opts->StartCancel(); }); in RunGraphHandler()
270 call->SetCancelCallback([call_opts]() { call_opts->StartCancel(); }); in RecvTensorHandlerRaw()
289 call->SetCancelCallback([call_opts]() { call_opts->StartCancel(); }); in RecvBufHandler()
307 call->SetCancelCallback([call_opts]() { call_opts->StartCancel(); }); in CompleteGroupHandler()
326 call->SetCancelCallback([call_opts]() { call_opts->StartCancel(); }); in CompleteInstanceHandler()
509 opts->SetCancelCallback( in GrpcRecvTensorAsync()
Dgrpc_master_service.cc196 call->SetCancelCallback([call_opts]() { call_opts->StartCancel(); }); in RunStepHandler()
263 call->SetCancelCallback([call_opts]() { call_opts->StartCancel(); }); in RunCallableHandler()
Dgrpc_call.h192 void SetCancelCallback(std::function<void()> callback) { in SetCancelCallback() function
Dgrpc_state.h105 call_opts_->SetCancelCallback([this]() { context_->TryCancel(); }); in StartCall()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcall_options_test.cc27 opts.SetCancelCallback([&num_calls]() { num_calls++; }); in TEST()
Dcall_options.h60 void SetCancelCallback(CancelFunction cancel_func);
Dcall_options.cc34 void CallOptions::SetCancelCallback(CancelFunction cancel_func) { in SetCancelCallback() function in tensorflow::CallOptions
Dworker.cc203 opts->SetCancelCallback([this, cm, step_id]() { in DoRunGraph()
301 opts->SetCancelCallback([this, cm, step_id]() { in DoPartialRunGraph()
Dcollective_rma_distributed_test.cc89 opts->SetCancelCallback([this]() { in RecvBufAsync()
Dmaster_session.cc744 call_opts->SetCancelCallback([&calls]() { in RunPartitionsHelper()
/external/libchrome/mojo/core/
Dtrap_unittest.cc54 context->SetCancelCallback( in CreateContextWithCancel()
70 void SetCancelCallback(base::OnceClosure cancel_callback) { in SetCancelCallback() function in mojo::core::__anone46d84e60111::TriggerHelper::NotificationContext