/external/libchrome/base/ |
D | callback_helpers.cc | 12 : closure_(std::move(closure)) {} in ScopedClosureRunner() 15 if (!closure_.is_null()) in ~ScopedClosureRunner() 16 std::move(closure_).Run(); in ~ScopedClosureRunner() 20 : closure_(other.Release()) {} in ScopedClosureRunner() 29 std::move(closure_).Run(); in RunAndReset() 33 closure_ = std::move(closure); in ReplaceClosure() 37 return std::move(closure_); in Release()
|
D | critical_closure.h | 38 OnceClosure closure_; variable
|
D | callback_helpers.h | 97 OnceClosure closure_;
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | router_test_util.cc | 39 : queue_(queue), closure_(closure) {} in MessageAccumulator() 45 if (!closure_.is_null()) { in Accept() 46 closure_.Run(); in Accept() 47 closure_.Reset(); in Accept() 83 : responder_(nullptr), name_(0), request_id_(0), closure_(closure) {} in LazyResponseGenerator() 95 if (!closure_.is_null()) { in AcceptWithResponder() 96 closure_.Run(); in AcceptWithResponder() 97 closure_.Reset(); in AcceptWithResponder()
|
D | interface_ptr_unittest.cc | 102 base::Closure closure_; member in mojo::test::__anon2de557fa0111::MathCalculatorUI 184 void set_closure(const base::Closure& closure) { closure_ = closure; } in set_closure() 193 if (!closure_.is_null()) { in SetInteger() 194 closure_.Run(); in SetInteger() 195 closure_.Reset(); in SetInteger() 200 base::Closure closure_; member in mojo::test::__anon2de557fa0111::IntegerAccessorImpl 566 closure_(closure), in WeakMathCalculatorImpl() 569 base::Bind(&SetFlagAndRunClosure, error_received_, closure_)); in WeakMathCalculatorImpl() 589 base::Closure closure_; member in mojo::test::__anon2de557fa0111::WeakMathCalculatorImpl 635 : d_called_(d_called), closure_(closure) {} in CImpl() [all …]
|
D | binding_callback_unittest.cc | 84 if (!closure_.is_null()) { in EchoInt() 85 closure_.Run(); in EchoInt() 86 closure_.Reset(); in EchoInt() 115 void set_closure(const base::Closure& closure) { closure_ = closure; } in set_closure() 120 base::Closure closure_; member in mojo::test::__anon24e7883b0111::InterfaceImpl
|
D | router_test_util.h | 36 base::Closure closure_; variable 69 void set_closure(const base::Closure& closure) { closure_ = closure; } in set_closure() 86 base::Closure closure_; variable
|
D | connector_unittest.cc | 31 : closure_(closure) {} in MessageAccumulator() 35 if (!closure_.is_null()) in Accept() 36 base::ResetAndReturn(&closure_).Run(); in Accept() 44 void set_closure(const base::Closure& closure) { closure_ = closure; } in set_closure() 50 base::Closure closure_; member in mojo::test::__anon6aa2695f0111::MessageAccumulator
|
D | handle_passing_unittest.cc | 43 : binding_(this, std::move(request)), closure_(closure) {} in ImportedInterfaceImpl() 47 closure_.Run(); in DoSomething() 55 base::Closure closure_; member in mojo::test::__anon12f707340111::ImportedInterfaceImpl
|
D | binding_unittest.cc | 169 closure_(closure) { in ServiceImplWithBinding() 177 closure_.Run(); in ~ServiceImplWithBinding() 183 base::Closure closure_; member in mojo::__anonda42b1ef0111::ServiceImplWithBinding
|
D | union_unittest.cc | 1130 : int_value_(0), closure_(closure) {} in SmallCacheImpl() 1137 closure_.Run(); in SetIntValue() 1144 base::Closure closure_; member in mojo::test::SmallCacheImpl
|
/external/v8/src/compiler/ |
D | js-context-specialization.h | 43 closure_(closure), in JSContextSpecialization() 65 MaybeHandle<JSFunction> closure() const { return closure_; } in closure() 70 MaybeHandle<JSFunction> closure_; variable
|
/external/libbrillo/brillo/message_loops/ |
D | base_message_loop.cc | 319 fd_(fd), base_mode_(base_mode), persistent_(persistent), closure_(task), in IOTask() 393 if (closure_.is_null()) { in OnFileReadyPostedTask() 411 closure_.Run(); in OnFileReadyPostedTask() 415 Closure closure_copy = std::move(closure_); in OnFileReadyPostedTask() 428 if (closure_.is_null()) in CancelTask() 444 closure_ = Closure(); in CancelTask()
|
D | base_message_loop.h | 136 base::Closure closure_; variable
|
/external/v8/src/ |
D | optimized-compilation-info.cc | 22 closure_ = closure; 104 if (!closure_.is_null()) { in ReopenHandlesInNewHandleScope() 105 closure_ = Handle<JSFunction>(*closure_, isolate); in ReopenHandlesInNewHandleScope()
|
D | optimized-compilation-info.h | 76 Handle<JSFunction> closure() const { return closure_; } in closure() 303 Handle<JSFunction> closure_; variable
|
/external/grpc-grpc/test/core/transport/chttp2/ |
D | settings_timeout_test.cc | 164 GRPC_CLOSURE_INIT(&closure_, &EventState::OnEventDone, this, in EventState() 170 grpc_closure* closure() { return &closure_; } in closure() 185 grpc_closure closure_; member in grpc_core::test::__anon707ef09f0111::Client::EventState
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_closure.cc | 360 GRPC_CLOSURE_INIT(&closure_, Step, this, scheduler); in Rescheduler() 363 void ScheduleFirst() { GRPC_CLOSURE_SCHED(&closure_, GRPC_ERROR_NONE); } in ScheduleFirst() 373 grpc_closure closure_; member in Rescheduler 378 GRPC_CLOSURE_SCHED(&self->closure_, GRPC_ERROR_NONE); in Step()
|
D | bm_call_create.cc | 472 op_.on_complete = GRPC_CLOSURE_INIT(&closure_, DoNothing, nullptr, in SendEmptyMetadata() 496 grpc_closure closure_; member in SendEmptyMetadata
|