Home
last modified time | relevance | path

Searched refs:CallbackType (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/base/
Dcallback_list.h72 template <typename CallbackType>
77 Subscription(CallbackListBase<CallbackType>* list, in Subscription()
78 typename std::list<CallbackType>::iterator iter) in Subscription()
94 CallbackListBase<CallbackType>* list_;
95 typename std::list<CallbackType>::iterator iter_;
103 std::unique_ptr<Subscription> Add(const CallbackType& cb) WARN_UNUSED_RESULT { in Add()
125 explicit Iterator(CallbackListBase<CallbackType>* list) in Iterator()
143 CallbackType* GetNext() { in GetNext()
147 CallbackType* cb = nullptr; in GetNext()
156 CallbackListBase<CallbackType>* list_;
[all …]
Dcancelable_callback.h61 template <typename CallbackType>
67 explicit CancelableCallbackImpl(CallbackType callback) in CancelableCallbackImpl()
87 void Reset(CallbackType callback) { in Reset()
95 CallbackType callback() const { in callback()
97 return CallbackType(); in callback()
98 CallbackType forwarder; in callback()
130 CallbackType callback_;
Dcallback_helpers.h25 template <typename CallbackType>
26 CallbackType ResetAndReturn(CallbackType* cb) { in ResetAndReturn()
27 CallbackType ret(std::move(*cb)); in ResetAndReturn()
Dbind_unittest.cc754 using CallbackType = RepeatingCallback<Signature>; typedef
758 static CallbackType<MakeUnboundRunType<F, Args...>>
766 using CallbackType = OnceCallback<Signature>; typedef
770 static CallbackType<MakeUnboundRunType<F, Args...>>
781 using CallbackType = typename TypeParam::template CallbackType<Signature>; typedef
809 CallbackType<TypeParam, NoRef*()> normal_non_refcounted_cb = in TYPED_TEST()
860 CallbackType<TypeParam, int()> normal_cb = TypeParam::Bind(&IntFunc0); in TYPED_TEST()
861 CallbackType<TypeParam, int()> method_cb = in TYPED_TEST()
863 CallbackType<TypeParam, int()> const_method_nonconst_obj_cb = in TYPED_TEST()
865 CallbackType<TypeParam, int()> const_method_const_obj_cb = in TYPED_TEST()
[all …]
Dbind.h210 using CallbackType = OnceCallback<UnboundRunType>;
215 using PolymorphicInvoke = typename CallbackType::PolymorphicInvoke;
219 return CallbackType(new BindState(
251 using CallbackType = RepeatingCallback<UnboundRunType>;
256 using PolymorphicInvoke = typename CallbackType::PolymorphicInvoke;
260 return CallbackType(new BindState(
Dbind_internal.h565 template <typename CallbackType, typename... RunArgs>
566 static R Invoke(CallbackType&& callback, RunArgs&&... args) {
568 return std::forward<CallbackType>(callback).Run(
580 template <typename CallbackType, typename... RunArgs>
581 static R Invoke(CallbackType&& callback, RunArgs&&... args) {
583 return std::forward<CallbackType>(callback).Run(
/external/libbrillo/brillo/dbus/
Ddbus_param_reader.h54 template<typename CallbackType, typename... Args>
55 static bool Invoke(const CallbackType& handler,
59 return InvokeHelper<CurrentParam, CallbackType, Args...>(
73 template<typename ParamType, typename CallbackType, typename... Args>
75 InvokeHelper(const CallbackType& handler,
115 template<typename ParamType, typename CallbackType, typename... Args>
118 InvokeHelper(const CallbackType& handler,
146 template<typename CallbackType, typename... Args>
147 static bool Invoke(const CallbackType& handler,
Ddbus_object.h435 template<typename CallbackType>
438 const CallbackType& callback) { in Add()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dhidl_manager.cpp63 template <class CallbackType>
65 const android::sp<CallbackType> &callback, in registerForDeathAndAddCallbackHidlObjectToList()
66 const std::function<void(const android::sp<CallbackType> &)> in registerForDeathAndAddCallbackHidlObjectToList()
68 std::vector<android::sp<CallbackType>> &callback_list) in registerForDeathAndAddCallbackHidlObjectToList()
71 auto death_notifier = new CallbackObjectDeathNotifier<CallbackType>( in registerForDeathAndAddCallbackHidlObjectToList()
123 template <class CallbackType>
125 const std::string &ifname, const android::sp<CallbackType> &callback, in addIfaceCallbackHidlObjectToMap()
126 const std::function<void(const android::sp<CallbackType> &)> in addIfaceCallbackHidlObjectToMap()
128 std::map<const std::string, std::vector<android::sp<CallbackType>>> in addIfaceCallbackHidlObjectToMap()
140 return registerForDeathAndAddCallbackHidlObjectToList<CallbackType>( in addIfaceCallbackHidlObjectToMap()
[all …]
Dhidl_manager.h281 template <class CallbackType>
287 const android::sp<CallbackType> &callback,
288 const std::function<void(const android::sp<CallbackType> &)>
301 const android::sp<CallbackType> callback_;
303 const std::function<void(const android::sp<CallbackType> &)>
/external/libchrome/mojo/public/cpp/bindings/
Dcallback_helpers.h63 using CallbackType = base::OnceCallback<void(Args...)>;
69 explicit CallbackWithDeleteHelper(CallbackType callback, BoundArgs&&... args) in CallbackWithDeleteHelper()
80 CallbackType callback, in CallbackWithDeleteHelper()
96 CallbackType callback_;
/external/libchrome/mojo/public/cpp/bindings/tests/
Dsync_method_unittest.cc27 using CallbackType = base::Callback<void(Args...)>; typedef
35 static CallbackType BindLambda(Func func) { in BindLambda()
/external/google-breakpad/src/client/windows/handler/
Dexception_handler.cc871 switch (callback_input->CallbackType) { in MinidumpWriteDumpCallback()
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h1220 ULONG CallbackType; member
/external/boringssl/src/ssl/
Dssl_test.cc2994 using CallbackType = decltype(cb); in TEST_P() typedef
2999 CallbackType *cb_ptr = reinterpret_cast<CallbackType *>(arg); in TEST_P()