Home
last modified time | relevance | path

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

/external/libchrome/base/
Dcallback_list.h74 template <typename CallbackType>
79 Subscription(CallbackListBase<CallbackType>* list, in Subscription()
80 typename std::list<CallbackType>::iterator iter) in Subscription()
96 CallbackListBase<CallbackType>* list_;
97 typename std::list<CallbackType>::iterator iter_;
105 std::unique_ptr<Subscription> Add(const CallbackType& cb) WARN_UNUSED_RESULT { in Add()
127 explicit Iterator(CallbackListBase<CallbackType>* list) in Iterator()
145 CallbackType* GetNext() { in GetNext()
149 CallbackType* cb = NULL; in GetNext()
158 CallbackListBase<CallbackType>* list_;
[all …]
Dbind.h34 using CallbackType = OnceCallback<UnboundRunType>; in BindOnce() local
39 using PolymorphicInvoke = typename CallbackType::PolymorphicInvoke; in BindOnce()
43 return CallbackType(new BindState( in BindOnce()
56 using CallbackType = RepeatingCallback<UnboundRunType>; in BindRepeating() local
61 using PolymorphicInvoke = typename CallbackType::PolymorphicInvoke; in BindRepeating()
65 return CallbackType(new BindState( in BindRepeating()
Dbind_unittest.cc751 using CallbackType = RepeatingCallback<Signature>; typedef
755 static CallbackType<MakeUnboundRunType<F, Args...>>
763 using CallbackType = OnceCallback<Signature>; typedef
767 static CallbackType<MakeUnboundRunType<F, Args...>>
778 using CallbackType = typename TypeParam::template CallbackType<Signature>; typedef
806 CallbackType<TypeParam, NoRef*()> normal_non_refcounted_cb = in TYPED_TEST()
857 CallbackType<TypeParam, int()> normal_cb = TypeParam::Bind(&IntFunc0); in TYPED_TEST()
858 CallbackType<TypeParam, int()> method_cb = in TYPED_TEST()
860 CallbackType<TypeParam, int()> const_method_nonconst_obj_cb = in TYPED_TEST()
862 CallbackType<TypeParam, int()> const_method_const_obj_cb = in TYPED_TEST()
[all …]
Dbind_internal.h261 template <typename CallbackType, typename... RunArgs>
262 static R Invoke(CallbackType&& callback, RunArgs&&... args) {
264 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.h432 template<typename CallbackType>
435 const CallbackType& callback) { in Add()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dhidl_manager.cpp61 template <class CallbackType>
63 const android::sp<CallbackType> &callback, in registerForDeathAndAddCallbackHidlObjectToList()
64 const std::function<void(const android::sp<CallbackType> &)> in registerForDeathAndAddCallbackHidlObjectToList()
66 std::vector<android::sp<CallbackType>> &callback_list) in registerForDeathAndAddCallbackHidlObjectToList()
69 auto death_notifier = new CallbackObjectDeathNotifier<CallbackType>( in registerForDeathAndAddCallbackHidlObjectToList()
121 template <class CallbackType>
123 const std::string &ifname, const android::sp<CallbackType> &callback, in addIfaceCallbackHidlObjectToMap()
124 const std::function<void(const android::sp<CallbackType> &)> in addIfaceCallbackHidlObjectToMap()
126 std::map<const std::string, std::vector<android::sp<CallbackType>>> in addIfaceCallbackHidlObjectToMap()
138 return registerForDeathAndAddCallbackHidlObjectToList<CallbackType>( in addIfaceCallbackHidlObjectToMap()
[all …]
Dhidl_manager.h261 template <class CallbackType>
267 const android::sp<CallbackType> &callback,
268 const std::function<void(const android::sp<CallbackType> &)>
281 const android::sp<CallbackType> callback_;
283 const std::function<void(const android::sp<CallbackType> &)>
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/
Dhidl_manager.cpp61 template <class CallbackType>
63 const android::sp<CallbackType> &callback, in registerForDeathAndAddCallbackHidlObjectToList()
64 const std::function<void(const android::sp<CallbackType> &)> in registerForDeathAndAddCallbackHidlObjectToList()
66 std::vector<android::sp<CallbackType>> &callback_list) in registerForDeathAndAddCallbackHidlObjectToList()
69 auto death_notifier = new CallbackObjectDeathNotifier<CallbackType>( in registerForDeathAndAddCallbackHidlObjectToList()
121 template <class CallbackType>
123 const std::string &ifname, const android::sp<CallbackType> &callback, in addIfaceCallbackHidlObjectToMap()
124 const std::function<void(const android::sp<CallbackType> &)> in addIfaceCallbackHidlObjectToMap()
126 std::map<const std::string, std::vector<android::sp<CallbackType>>> in addIfaceCallbackHidlObjectToMap()
138 return registerForDeathAndAddCallbackHidlObjectToList<CallbackType>( in addIfaceCallbackHidlObjectToMap()
[all …]
Dhidl_manager.h270 template <class CallbackType>
276 const android::sp<CallbackType> &callback,
277 const std::function<void(const android::sp<CallbackType> &)>
290 const android::sp<CallbackType> callback_;
292 const std::function<void(const android::sp<CallbackType> &)>
/external/libmojo/mojo/public/cpp/bindings/tests/
Dsync_method_unittest.cc24 using CallbackType = base::Callback<void(Args...)>; typedef
32 static CallbackType BindLambda(Func func) { in BindLambda()
/external/google-breakpad/src/client/windows/handler/
Dexception_handler.cc871 switch (callback_input->CallbackType) { in MinidumpWriteDumpCallback()
/external/boringssl/src/ssl/
Dssl_test.cc2975 using CallbackType = decltype(cb); in TEST_P() typedef
2980 CallbackType *cb_ptr = reinterpret_cast<CallbackType *>(arg); in TEST_P()
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h1220 ULONG CallbackType; member