Home
last modified time | relevance | path

Searched refs:CallbackType (Results 1 – 19 of 19) 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>
119 InvokeHelper(const CallbackType& handler,
147 template <typename CallbackType, typename... Args>
148 static bool Invoke(const CallbackType& handler,
Ddbus_object.h441 template<typename CallbackType>
444 const CallbackType& callback) { in Add()
/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/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dhidl_manager.cpp66 template <class CallbackType>
69 const android::sp<CallbackType> &callback, in registerForDeathAndAddCallbackHidlObjectToList()
70 std::vector<android::sp<CallbackType>> &callback_list) in registerForDeathAndAddCallbackHidlObjectToList()
111 template <class CallbackType>
114 const std::string &ifname, const android::sp<CallbackType> &callback, in addIfaceCallbackHidlObjectToMap()
115 std::map<const std::string, std::vector<android::sp<CallbackType>>> in addIfaceCallbackHidlObjectToMap()
127 return registerForDeathAndAddCallbackHidlObjectToList<CallbackType>( in addIfaceCallbackHidlObjectToMap()
131 template <class CallbackType>
135 const android::sp<CallbackType> &callback, in addNetworkCallbackHidlObjectToMap()
136 std::map<const std::string, std::vector<android::sp<CallbackType>>> in addNetworkCallbackHidlObjectToMap()
[all …]
/external/llvm-project/lldb/source/Core/
DPluginManager.cpp184 typedef Callback CallbackType; typedef
204 typename Instance::CallbackType callback, in RegisterPlugin()
215 bool UnregisterPlugin(typename Instance::CallbackType callback) { in UnregisterPlugin()
229 typename Instance::CallbackType GetCallbackAtIndex(uint32_t idx) { in GetCallbackAtIndex()
247 typename Instance::CallbackType GetCallbackForName(ConstString name) { in GetCallbackForName()
527 ConstString name, std::string description, CallbackType create_callback, in LanguageRuntimeInstance()
615 ConstString name, std::string description, CallbackType create_callback, in ObjectFileInstance()
704 ConstString name, std::string description, CallbackType create_callback, in ObjectContainerInstance()
847 CallbackType create_callback, in ScriptInterpreterInstance()
904 ConstString name, std::string description, CallbackType create_callback, in StructuredDataPluginInstance()
[all …]
/external/llvm-project/clang/include/clang/AST/
DExternalASTMerger.h190 template <typename CallbackType>
191 void ForEachMatchingDC(const DeclContext *DC, CallbackType Callback);
/external/llvm-project/clang/lib/Analysis/
DBodyFarm.cpp335 QualType CallbackType = Callback->getType().getNonReferenceType(); in create_call_once() local
338 CXXRecordDecl *CallbackRecordDecl = CallbackType->getAsCXXRecordDecl(); in create_call_once()
385 } else if (!CallbackType->getPointeeType().isNull()) { in create_call_once()
387 CallbackType->getPointeeType()->getAs<FunctionProtoType>(); in create_call_once()
389 CallbackFunctionType = CallbackType->getAs<FunctionProtoType>(); in create_call_once()
/external/llvm-project/clang/lib/AST/
DExternalASTMerger.cpp279 template <typename CallbackType>
281 CallbackType Callback) { in ForEachMatchingDC()
/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.cc878 switch (callback_input->CallbackType) { in MinidumpWriteDumpCallback()
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h1220 ULONG CallbackType; member
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_test.cc3070 using CallbackType = decltype(cb); in TEST_P() typedef
3075 CallbackType *cb_ptr = reinterpret_cast<CallbackType *>(arg); in TEST_P()
/external/boringssl/src/ssl/
Dssl_test.cc3070 using CallbackType = decltype(cb); in TEST_P() typedef
3075 CallbackType *cb_ptr = reinterpret_cast<CallbackType *>(arg); in TEST_P()