Searched refs:OnceCallback (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/base/ |
D | post_task_and_reply_with_result_internal.h | 19 void ReturnAsParamAdapter(OnceCallback<ReturnType()> func, ReturnType* result) { in ReturnAsParamAdapter() 25 void ReplyAdapter(OnceCallback<void(ReplyArgType)> callback, in ReplyAdapter()
|
D | callback_forward.h | 36 using OnceCallback = Callback<Signature, variable 43 using OnceClosure = OnceCallback<void()>;
|
D | bind_unittest.cc | 418 OnceCallback<int(int)> c0 = BindOnce(&Sum, 1, 2, 4, 8, 16); in TEST_F() 432 OnceCallback<int()> c1 = BindOnce(std::move(c0), 13); in TEST_F() 541 OnceCallback<int()> ref_copies_cb = BindOnce(&Identity, ref_n); in TEST_F() 545 OnceCallback<int()> const_ref_copies_cb = in TEST_F() 574 OnceCallback<int()> array_cb = BindOnce(&ArrayGet, array, 1); in TEST_F() 575 OnceCallback<int()> const_array_cb = in TEST_F() 679 OnceCallback<int()> copy_cb = BindOnce(&Identity, n); in TEST_F() 680 OnceCallback<int()> const_ref_cb = BindOnce(&Identity, ConstRef(n)); in TEST_F() 690 OnceCallback<int()> all_const_ref_cb = in TEST_F() 730 OnceCallback<DeleteCounter*()> no_capture_cb = in TEST_F() [all …]
|
D | bind.h | 29 inline OnceCallback<MakeUnboundRunType<Functor, Args...>> 34 using CallbackType = OnceCallback<UnboundRunType>; in BindOnce()
|
D | callback.h | 29 OnceCallback<Signature>> : std::true_type {};
|
/external/libmojo/mojo/public/cpp/bindings/ |
D | scoped_interface_endpoint_handle.h | 69 using AssociationEventCallback = base::OnceCallback<void(AssociationEvent)>;
|
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/ |
D | interface_macros.tmpl | 17 base::OnceCallback<void(
|
/external/libmojo/mojo/public/tools/bindings/ |
D | mojom.gni | 127 # If set to true, generated classes will use base::OnceCallback instead of 131 # - Convert everything to use OnceCallback.
|