Searched refs:Task (Results 1 - 5 of 5) sorted by relevance
/fuchsia/zircon/system/ulib/async/ |
H A D | task.cpp | 96 Task::Task(Handler handler) function in class:async::Task 97 : TaskBase(&Task::CallHandler), handler_(fbl::move(handler)) {} 99 Task::~Task() = default; 101 void Task::CallHandler(async_dispatcher_t* dispatcher, async_task_t* task, zx_status_t status) { 102 auto self = Dispatch<Task>(task);
|
/fuchsia/zircon/system/ulib/async/include/lib/async/cpp/ |
H A D | task.h | 52 // Concrete implementations: |async::Task|, |async::TaskMethod|, 129 // A task whose handler is bound to a |async::Task::Handler| function. 133 class Task final : public TaskBase { 140 using Handler = fbl::Function<void(async_dispatcher_t* dispatcher, async::Task* task, zx_status_t status)>; 142 explicit Task(Handler handler = nullptr); 143 ~Task();
|
/fuchsia/zircon/system/utest/async/ |
H A D | task_tests.cpp | 75 async::Task task_{[this](async_dispatcher_t* dispatcher, async::Task* task, zx_status_t status) { 113 async::Task task; 118 task.set_handler([](async_dispatcher_t* dispatcher, async::Task* task, zx_status_t status) {}); 123 async::Task task([](async_dispatcher_t* dispatcher, async::Task* task, zx_status_t status) {});
|
/fuchsia/zircon/system/dev/display/display/ |
H A D | controller.cpp | 237 fbl::unique_ptr<async::Task> task; 257 task = fbl::make_unique_checked<async::Task>(&ac); 384 (async_dispatcher_t* dispatcher, async::Task* task, zx_status_t status) { 738 fbl::unique_ptr<async::Task> task = fbl::make_unique_checked<async::Task>(&ac); 784 (async_dispatcher_t* dispatcher, async::Task* task, zx_status_t status) {
|
H A D | client.cpp | 1439 auto task = new async::Task(); 1441 (async_dispatcher_t* dispatcher, async::Task* task, zx_status_t status) { 1460 auto task = new (&ac) async::Task(); 1467 (async_dispatcher_t* dispatcher, async::Task* task, zx_status_t status) { 1524 auto task = new async::Task(); 1527 (async_dispatcher_t* dispatcher, async::Task* task, zx_status_t status) {
|
Completed in 44 milliseconds