Searched refs:closure (Results 1 – 8 of 8) sorted by relevance
47 Closure closure = [&val]() { val++; }; in TEST_F() local48 handler_->Post(closure); in TEST_F()55 Closure closure = [&val]() { in TEST_F() local59 handler_->Post(std::move(closure)); in TEST_F()60 closure = []() { in TEST_F()64 handler_->Post(std::move(closure)); in TEST_F()
51 void Handler::Post(Closure closure) { in Post() argument54 tasks_.emplace(std::move(closure)); in Post()73 Closure closure; in handle_next_event() local86 closure = std::move(tasks_.front()); in handle_next_event()89 closure(); in handle_next_event()
44 void Post(Closure closure);
107 CancelableClosureInStruct closure; // posted to message loop for processing member184 new (&ret->closure) CancelableClosureInStruct(); in alarm_new_internal()197 alarm->closure.~CancelableClosureInStruct(); in alarm_free()410 alarm->closure.i.Cancel(); in remove_pending_alarm()660 alarm->closure.i.Reset(Bind(alarm_ready_mloop, alarm)); in callback_dispatch()662 FROM_HERE, alarm->closure.i.callback()); in callback_dispatch()
76 Closure closure = Bind(EvaluateRepeatedly, evaluation, ec, count_p, done_p); in EvaluateRepeatedly() local77 ASSERT_TRUE(ec->RunOnValueChangeOrTimeout(closure)) in EvaluateRepeatedly()336 Closure closure = Bind( in TEST_F() local338 ASSERT_TRUE(eval_ctx_->RunOnValueChangeOrTimeout(closure)); in TEST_F()
93 "closure",
343 auto closure = in BeginTransfer() local345 ResolveProxiesForUrl(url_, closure); in BeginTransfer()
247 // only the last cc_binary should need the full transitive closure of the dependency graph.