Home
last modified time | relevance | path

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

/external/libchrome/base/
Dcallback_helpers.cc12 : 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()
Dcritical_closure.h38 OnceClosure closure_; variable
Dcallback_helpers.h97 OnceClosure closure_;
/external/libchrome/mojo/public/cpp/bindings/tests/
Drouter_test_util.cc39 : 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()
Dinterface_ptr_unittest.cc102 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 …]
Dbinding_callback_unittest.cc84 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
Drouter_test_util.h36 base::Closure closure_; variable
69 void set_closure(const base::Closure& closure) { closure_ = closure; } in set_closure()
86 base::Closure closure_; variable
Dconnector_unittest.cc31 : 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
Dhandle_passing_unittest.cc43 : binding_(this, std::move(request)), closure_(closure) {} in ImportedInterfaceImpl()
47 closure_.Run(); in DoSomething()
55 base::Closure closure_; member in mojo::test::__anon12f707340111::ImportedInterfaceImpl
Dbinding_unittest.cc169 closure_(closure) { in ServiceImplWithBinding()
177 closure_.Run(); in ~ServiceImplWithBinding()
183 base::Closure closure_; member in mojo::__anonda42b1ef0111::ServiceImplWithBinding
Dunion_unittest.cc1130 : 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/
Djs-context-specialization.h43 closure_(closure), in JSContextSpecialization()
65 MaybeHandle<JSFunction> closure() const { return closure_; } in closure()
70 MaybeHandle<JSFunction> closure_; variable
/external/libbrillo/brillo/message_loops/
Dbase_message_loop.cc319 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()
Dbase_message_loop.h136 base::Closure closure_; variable
/external/v8/src/
Doptimized-compilation-info.cc22 closure_ = closure;
104 if (!closure_.is_null()) { in ReopenHandlesInNewHandleScope()
105 closure_ = Handle<JSFunction>(*closure_, isolate); in ReopenHandlesInNewHandleScope()
Doptimized-compilation-info.h76 Handle<JSFunction> closure() const { return closure_; } in closure()
303 Handle<JSFunction> closure_; variable
/external/grpc-grpc/test/core/transport/chttp2/
Dsettings_timeout_test.cc164 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/
Dbm_closure.cc360 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()
Dbm_call_create.cc472 op_.on_complete = GRPC_CLOSURE_INIT(&closure_, DoNothing, nullptr, in SendEmptyMetadata()
496 grpc_closure closure_; member in SendEmptyMetadata