Searched refs:Closure (Results 1 – 15 of 15) sorted by relevance
| /system/ulib/async/ |
| A D | task.cpp | 14 RetainedTask(fbl::Closure handler, zx::time deadline) in RetainedTask() 16 handler(static_cast<fbl::Closure&&>(handler)) {} 18 fbl::Closure handler; 30 zx_status_t PostTask(async_dispatcher_t* dispatcher, fbl::Closure handler) { in PostTask() 31 return PostTaskForTime(dispatcher, static_cast<fbl::Closure&&>(handler), in PostTask() 35 zx_status_t PostDelayedTask(async_dispatcher_t* dispatcher, fbl::Closure handler, zx::duration dela… in PostDelayedTask() 36 return PostTaskForTime(dispatcher, static_cast<fbl::Closure&&>(handler), in PostDelayedTask() 40 zx_status_t PostTaskForTime(async_dispatcher_t* dispatcher, fbl::Closure handler, zx::time deadline… in PostTaskForTime() 41 auto* task = new internal::RetainedTask(static_cast<fbl::Closure&&>(handler), deadline); in PostTaskForTime() 108 TaskClosure::TaskClosure(fbl::Closure handler) in TaskClosure()
|
| /system/utest/fit/ |
| A D | function_tests.cpp | 10 using Closure = void(); typedef 99 Closure* fptr = nullptr; in closure() 104 EmptyFunction<Closure> empty; in closure() 595 fit::function<Closure> fnull; in sharing() 606 fit::function<Closure> finline = in sharing() 639 fit::function<Closure> fheap = in sharing() 672 fit::inline_function<Closure> fbad; in sharing() 721 static_assert(std::is_convertible<Closure, fit::function<Closure>>::value, ""); 723 static_assert(std::is_assignable<fit::function<Closure>, Closure>::value, ""); 755 RUN_TEST((closure<fit::function<Closure>>)) [all …]
|
| /system/ulib/async/include/lib/async/cpp/ |
| A D | task.h | 22 zx_status_t PostTask(async_dispatcher_t* dispatcher, fbl::Closure handler); 31 zx_status_t PostDelayedTask(async_dispatcher_t* dispatcher, fbl::Closure handler, zx::duration dela… 40 zx_status_t PostTaskForTime(async_dispatcher_t* dispatcher, fbl::Closure handler, zx::time deadline… 189 explicit TaskClosure(fbl::Closure handler = nullptr); 192 void set_handler(fbl::Closure handler) { handler_ = std::move(handler); } in set_handler() 198 fbl::Closure handler_;
|
| /system/ulib/trace/include/trace/ |
| A D | observer.h | 39 void Start(async_dispatcher_t* dispatcher, fbl::Closure callback); 49 fbl::Closure callback_;
|
| /system/utest/fbl/ |
| A D | function_tests.cpp | 13 using Closure = void(); typedef 46 Closure* fptr = nullptr; in closure() 51 EmptyFunction<Closure> empty; in closure() 475 fbl::SizedFunction<Closure, sizeof(empty)> fempty(std::move(empty)); in sized_function_size_bounds() 487 fbl::SizedFunction<Closure, sizeof(big)> fbig(std::move(big)); in sized_function_size_bounds() 526 fbl::InlineFunction<Closure, sizeof(big)> fbig(std::move(big)); in inline_function_size_bounds() 566 void implicit_construction_helper(fbl::Closure closure) {} in implicit_construction_helper() 726 RUN_TEST((closure<fbl::Function<Closure>>)) 728 RUN_TEST((closure<fbl::SizedFunction<Closure, 0u>>)) 730 RUN_TEST((closure<fbl::SizedFunction<Closure, HugeCallableSize>>)) [all …]
|
| /system/ulib/minfs/include/minfs/ |
| A D | minfs.h | 54 fbl::Closure on_unmount);
|
| /system/ulib/blobfs/include/blobfs/ |
| A D | blobfs.h | 164 void SetUnmountCallback(fbl::Closure closure) { on_unmount_ = std::move(closure); } in SetUnmountCallback() 281 fbl::Closure on_unmount_ = {}; 290 const MountOptions& options, zx::channel root, fbl::Closure on_unmount);
|
| /system/ulib/trace/ |
| A D | observer.cpp | 20 void TraceObserver::Start(async_dispatcher_t* dispatcher, fbl::Closure callback) { in Start()
|
| /system/utest/trace/ |
| A D | engine_tests.cpp | 37 auto closure = static_cast<fbl::Closure*>(arg); in RunClosure() 43 void RunThread(fbl::Closure closure) { in RunThread() 46 new fbl::Closure(std::move(closure))); in RunThread()
|
| /system/ulib/minfs/ |
| A D | minfs-private.h | 200 void SetUnmountCallback(fbl::Closure closure) { on_unmount_ = std::move(closure); } in SetUnmountCallback() 314 fbl::Closure on_unmount_{};
|
| A D | minfs.cpp | 869 fbl::Closure on_unmount) { in MountAndServe()
|
| /system/ulib/fbl/include/fbl/ |
| A D | function.h | 458 using Closure = fbl::Function<void()>;
|
| /system/utest/async-testutils/ |
| A D | test_loop_tests.cpp | 24 void InitWait(async::Wait* wait, fbl::Closure closure, const zx::event& event, in InitWait()
|
| /system/utest/async-loop/ |
| A D | loop_tests.cpp | 178 void set_finish_callback(fbl::Closure callback) { in set_finish_callback() 185 fbl::Closure finish_callback_;
|
| /system/ulib/blobfs/ |
| A D | blobfs.cpp | 759 const MountOptions& options, zx::channel root, fbl::Closure on_unmount) { in Mount()
|
Completed in 32 milliseconds