Home
last modified time | relevance | path

Searched refs:OnceCallback (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/
Dpost_task_and_reply_with_result_internal.h19 void ReturnAsParamAdapter(OnceCallback<ReturnType()> func, ReturnType* result) { in ReturnAsParamAdapter()
25 void ReplyAdapter(OnceCallback<void(ReplyArgType)> callback, in ReplyAdapter()
Dcallback_forward.h36 using OnceCallback = Callback<Signature, variable
43 using OnceClosure = OnceCallback<void()>;
Dbind_unittest.cc418 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 …]
Dbind.h29 inline OnceCallback<MakeUnboundRunType<Functor, Args...>>
34 using CallbackType = OnceCallback<UnboundRunType>; in BindOnce()
Dcallback.h29 OnceCallback<Signature>> : std::true_type {};
/external/libmojo/mojo/public/cpp/bindings/
Dscoped_interface_endpoint_handle.h69 using AssociationEventCallback = base::OnceCallback<void(AssociationEvent)>;
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_macros.tmpl17 base::OnceCallback<void(
/external/libmojo/mojo/public/tools/bindings/
Dmojom.gni127 # If set to true, generated classes will use base::OnceCallback instead of
131 # - Convert everything to use OnceCallback.