Home
last modified time | relevance | path

Searched refs:closure_ (Results 1 – 22 of 22) sorted by relevance

/third_party/flutter/engine/flutter/fml/
Dclosure.h34 ScopedCleanupClosure(fml::closure closure) : closure_(closure) {} in ScopedCleanupClosure()
37 if (closure_) { in ~ScopedCleanupClosure()
38 closure_(); in ~ScopedCleanupClosure()
43 fml::closure closure = closure_; in Release()
44 closure_ = nullptr; in Release()
49 fml::closure closure_;
/third_party/cef/libcef_dll/base/
Dcef_callback_helpers.cc12 : closure_(std::move(closure)) {} in ScopedClosureRunner()
15 : closure_(other.Release()) {} in ScopedClosureRunner()
31 if (closure_) in RunAndReset()
32 std::move(closure_).Run(); in RunAndReset()
36 closure_ = std::move(closure); in ReplaceClosure()
40 return std::move(closure_); in Release()
/third_party/cef/libcef_dll/wrapper/
Dcef_closure_task.cc16 : closure_(std::move(closure)) {} in CefOnceClosureTask()
22 void Execute() override { std::move(closure_).Run(); } in Execute()
25 base::OnceClosure closure_; member in __anon66dd9f2e0111::CefOnceClosureTask
33 : closure_(closure) {} in CefRepeatingClosureTask()
40 closure_.Run(); in Execute()
41 closure_.Reset(); in Execute()
45 base::RepeatingClosure closure_; member in __anon66dd9f2e0111::CefRepeatingClosureTask
/third_party/grpc/src/core/ext/filters/deadline/
Ddeadline_filter.cc45 GRPC_CLOSURE_INIT(&closure_, TimerCallback, this, nullptr); in TimerState()
46 grpc_timer_init(&timer_, deadline, &closure_); in TimerState()
68 GRPC_CLOSURE_INIT(&self->closure_, YieldCallCombiner, self, nullptr)); in SendCancelOpInCallCombiner()
84 GRPC_CLOSURE_INIT(&self->closure_, SendCancelOpInCallCombiner, self, in TimerCallback()
86 GRPC_CALL_COMBINER_START(deadline_state->call_combiner, &self->closure_, in TimerCallback()
103 grpc_closure closure_; member in grpc_core::TimerState
/third_party/gn/src/gn/
Dtemplate.cc19 : closure_(scope->MakeClosure()), definition_(def) {} in Template()
22 : closure_(std::move(scope)), definition_(def) {} in Template()
64 Scope template_scope(closure_.get()); in Invoke()
Dtemplate.h62 std::unique_ptr<const Scope> closure_; variable
/third_party/grpc/src/core/lib/transport/
Dconnectivity_state.cc69 GRPC_CLOSURE_INIT(&closure_, SendNotification, this, in Notifier()
71 ExecCtx::Run(DEBUG_LOCATION, &closure_, GRPC_ERROR_NONE); in Notifier()
90 grpc_closure closure_; member in grpc_core::AsyncConnectivityStateWatcherInterface::Notifier
/third_party/grpc/src/core/ext/filters/client_channel/resolver/xds/
Dxds_resolver.cc86 grpc_closure closure_; member in grpc_core::__anon0bd98fcd0111::XdsResolver::Notifier
208 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
209 ExecCtx::Run(DEBUG_LOCATION, &closure_, GRPC_ERROR_NONE); in Notifier()
216 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
217 ExecCtx::Run(DEBUG_LOCATION, &closure_, GRPC_ERROR_NONE); in Notifier()
223 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
224 ExecCtx::Run(DEBUG_LOCATION, &closure_, error); in Notifier()
229 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
230 ExecCtx::Run(DEBUG_LOCATION, &closure_, GRPC_ERROR_NONE); in Notifier()
/third_party/grpc/test/core/transport/chttp2/
Dsettings_timeout_test.cc167 GRPC_CLOSURE_INIT(&closure_, &EventState::OnEventDone, this, in EventState()
173 grpc_closure* closure() { return &closure_; } in closure()
188 grpc_closure closure_; member in grpc_core::test::__anon50662e6e0111::Client::EventState
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dcds.cc100 grpc_closure closure_; member in grpc_core::__anona4cab1b20111::CdsLb::ClusterWatcher::Notifier
188 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
189 ExecCtx::Run(DEBUG_LOCATION, &closure_, GRPC_ERROR_NONE); in Notifier()
195 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
196 ExecCtx::Run(DEBUG_LOCATION, &closure_, error); in Notifier()
202 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
203 ExecCtx::Run(DEBUG_LOCATION, &closure_, GRPC_ERROR_NONE); in Notifier()
Dxds_cluster_resolver.cc212 grpc_closure closure_; member in grpc_core::__anon9699b2f90111::XdsClusterResolverLb::EdsDiscoveryMechanism::EndpointWatcher::Notifier
425 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
426 ExecCtx::Run(DEBUG_LOCATION, &closure_, GRPC_ERROR_NONE); in Notifier()
434 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
435 ExecCtx::Run(DEBUG_LOCATION, &closure_, error); in Notifier()
443 GRPC_CLOSURE_INIT(&closure_, &RunInExecCtx, this, nullptr); in Notifier()
444 ExecCtx::Run(DEBUG_LOCATION, &closure_, GRPC_ERROR_NONE); in Notifier()
/third_party/grpc/test/cpp/microbenchmarks/
Dbm_closure.cc355 GRPC_CLOSURE_INIT(&closure_, Step, this, nullptr); in Rescheduler()
359 grpc_core::ExecCtx::Run(DEBUG_LOCATION, &closure_, GRPC_ERROR_NONE); in ScheduleFirst()
370 grpc_closure closure_; member in Rescheduler
375 grpc_core::ExecCtx::Run(DEBUG_LOCATION, &self->closure_, GRPC_ERROR_NONE); in Step()
Dbm_call_create.cc456 op_.on_complete = GRPC_CLOSURE_INIT(&closure_, DoNothing, nullptr, in SendEmptyMetadata()
480 grpc_closure closure_; member in SendEmptyMetadata
/third_party/cef/include/base/
Dcef_callback_helpers.h178 explicit operator bool() const { return !!closure_; }
190 OnceClosure closure_;
Dcef_callback_list.h131 explicit operator bool() const { return !!closure_; }
141 OnceClosure closure_; variable
/third_party/flutter/engine/flutter/runtime/
Ddart_isolate.cc808 : closure_(std::move(closure)) {} in AutoFireClosure()
811 if (closure_) { in ~AutoFireClosure()
812 closure_(); in ~AutoFireClosure()
Ddart_isolate.h125 fml::closure closure_;
/third_party/mindspore/mindspore/ccsrc/vm/
Dvmimpl.cc51 : values_(values), todo_(nodes), closure_(closure) { in VMFrame()
62 ret = closure_.find(node); in operator []()
63 if (ret != closure_.end()) { in operator []()
Dvmimpl.h91 AnfNodePtrToBaseRefMap closure_; variable
/third_party/grpc/src/core/ext/filters/client_channel/
Dsubchannel.cc380 &closure_, in AsyncWatcherNotifierLocked()
393 grpc_closure closure_; member in grpc_core::Subchannel::AsyncWatcherNotifierLocked
Dclient_channel.cc2911 GRPC_CLOSURE_INIT(&closure_, &CancelLocked, this, in ResolverQueuedCallCanceller()
2913 calld->call_combiner_->SetNotifyOnCancel(&closure_); in ResolverQueuedCallCanceller()
2943 grpc_closure closure_; member in grpc_core::__anon6b4c07050111::CallData::ResolverQueuedCallCanceller
5252 GRPC_CLOSURE_INIT(&closure_, &CancelLocked, this, nullptr); in LbQueuedCallCanceller()
5253 lb_call_->call_combiner_->SetNotifyOnCancel(&closure_); in LbQueuedCallCanceller()
5283 grpc_closure closure_; member in grpc_core::__anon6b4c07050111::LoadBalancedCall::LbQueuedCallCanceller
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch67240 + explicit InputMethodTask(base::OnceClosure closure) : closure_(std::move(closure)) {}
67246 + std::move(closure_).Run();
67247 + //closure_.Reset();
67251 + base::OnceClosure closure_;