Searched refs:TaskClosure (Results 1 - 6 of 6) sorted by relevance

/fuchsia/zircon/system/ulib/async/
H A Dtask.cpp106 TaskClosure::TaskClosure(fbl::Closure handler) function in class:async::TaskClosure
107 : TaskBase(&TaskClosure::CallHandler), handler_(fbl::move(handler)) {}
109 TaskClosure::~TaskClosure() = default;
111 void TaskClosure::CallHandler(async_dispatcher_t* dispatcher, async_task_t* task, zx_status_t status) {
112 auto self = Dispatch<TaskClosure>(task); // must do this if status is not ok
/fuchsia/zircon/system/ulib/async/include/lib/async/cpp/
H A Dtask.h53 // |async::TaskClosure|, |async::TaskClosureMethod|.
185 class TaskClosure final : public TaskBase {
187 explicit TaskClosure(fbl::Closure handler = nullptr);
188 ~TaskClosure();
/fuchsia/zircon/system/uapp/trace-example/
H A Dmain.cpp25 async::TaskClosure task([&loop, &task, &iteration, quit_time] {
/fuchsia/zircon/system/utest/async-testutils/
H A Dtest_loop_tests.cpp216 async::TaskClosure taskA([&calledA] { calledA = true; });
217 async::TaskClosure taskB([&calledB] { calledB = true; });
218 async::TaskClosure taskC([&calledC] { calledC = true; });
241 async::TaskClosure task([&called] { called = true; });
454 async::TaskClosure taskC([&calledC] { calledC = true; });
/fuchsia/zircon/system/utest/async/
H A Dtask_tests.cpp95 async::TaskClosure task_{[this] {
136 async::TaskClosure task;
146 async::TaskClosure task([] {});
/fuchsia/zircon/system/uapp/gfxlatency/
H A Dmain.cpp1166 async::TaskClosure frame_task([&] {

Completed in 100 milliseconds