Searched refs:BindStateBase (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/ |
D | callback_internal.h | 25 class BindStateBase; variable 31 static void Destruct(const BindStateBase*); 48 class BASE_EXPORT BindStateBase 49 : public RefCountedThreadSafe<BindStateBase, BindStateBaseRefCountTraits> { 56 BindStateBase(InvokeFuncStorage polymorphic_invoke, 57 void (*destructor)(const BindStateBase*)); 58 BindStateBase(InvokeFuncStorage polymorphic_invoke, 59 void (*destructor)(const BindStateBase*), 60 bool (*is_cancelled)(const BindStateBase*)); 62 ~BindStateBase() = default; [all …]
|
D | callback_internal.cc | 14 bool ReturnFalse(const BindStateBase*) { in ReturnFalse() argument 20 void BindStateBaseRefCountTraits::Destruct(const BindStateBase* bind_state) { in Destruct() 24 BindStateBase::BindStateBase(InvokeFuncStorage polymorphic_invoke, in BindStateBase() function in base::internal::BindStateBase 25 void (*destructor)(const BindStateBase*)) in BindStateBase() argument 26 : BindStateBase(polymorphic_invoke, destructor, &ReturnFalse) { in BindStateBase() 29 BindStateBase::BindStateBase(InvokeFuncStorage polymorphic_invoke, in BindStateBase() function in base::internal::BindStateBase 30 void (*destructor)(const BindStateBase*), in BindStateBase() argument 31 bool (*is_cancelled)(const BindStateBase*)) in BindStateBase() argument
|
D | callback.h | 59 using PolymorphicInvoke = R (*)(internal::BindStateBase*, 65 explicit OnceCallback(internal::BindStateBase* bind_state) in OnceCallback() 107 using PolymorphicInvoke = R (*)(internal::BindStateBase*, 113 explicit RepeatingCallback(internal::BindStateBase* bind_state) in RepeatingCallback()
|
D | callback_unittest.cc | 24 struct FakeBindState : internal::BindStateBase { 25 FakeBindState() : BindStateBase(&NopInvokeFunc, &Destroy, &IsCancelled) {} in FakeBindState() 29 static void Destroy(const internal::BindStateBase* self) { in Destroy() 32 static bool IsCancelled(const internal::BindStateBase*) { in IsCancelled()
|
D | bind_internal.h | 641 static R RunOnce(BindStateBase* base, 655 static R Run(BindStateBase* base, PassingType<UnboundArgs>... unbound_args) { 740 bool ApplyCancellationTraits(const BindStateBase* base) { 753 struct BindState final : BindStateBase { 760 explicit BindState(BindStateBase::InvokeFuncStorage invoke_func, 777 BindStateBase::InvokeFuncStorage invoke_func, 780 : BindStateBase(invoke_func, 790 BindStateBase::InvokeFuncStorage invoke_func, 793 : BindStateBase(invoke_func, &Destroy), 801 static void Destroy(const BindStateBase* self) {
|
D | bind.h | 218 using InvokeFuncStorage = internal::BindStateBase::InvokeFuncStorage; 259 using InvokeFuncStorage = internal::BindStateBase::InvokeFuncStorage;
|