Searched refs:Functor (Results 1 – 6 of 6) sorted by relevance
/system/bt/gd/os/ |
D | handler.h | 55 template <typename Functor, typename... Args> 56 void Call(Functor&& functor, Args&&... args) { in Call() 57 Post(common::BindOnce(std::forward<Functor>(functor), std::forward<Args>(args)...)); in Call() 60 template <typename T, typename Functor, typename... Args> 61 void CallOn(T* obj, Functor&& functor, Args&&... args) { in CallOn() 62 …Post(common::BindOnce(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(… in CallOn() 65 template <typename Functor, typename... Args> 66 common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, Args...>> BindOnce( in BindOnce() 67 Functor&& functor, Args&&... args) { in BindOnce() 68 return common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, Args...>>( in BindOnce() [all …]
|
/system/core/libutils/include/utils/ |
D | Functor.h | 28 class Functor { 30 Functor() {} in Functor() function 31 virtual ~Functor() {} in ~Functor()
|
/system/bt/gd/common/ |
D | bind.h | 33 template <typename T, typename Functor, typename... Args> 34 inline base::Callback<MakeUnboundRunType<Functor, T, Args...>> BindOn(T* obj, Functor&& functor, Ar… in BindOn() 35 …return common::Bind(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(ar… in BindOn()
|
/system/libbase/include/android-base/ |
D | scopeguard.h | 35 template <typename Functor> 36 ScopeGuard(ScopeGuard<Functor>&& that) : f_(std::move(that.f_)), active_(that.active_) { in ScopeGuard() 54 template <typename Functor>
|
/system/libbase/ |
D | function_ref_test.cpp | 33 struct Functor { in TEST() struct 36 EmptyFunc f2(Functor{}); in TEST() 37 Functor fctr; in TEST()
|
/system/bt/gd/ |
D | module.h | 106 template <typename Functor, typename... Args> 107 void Call(Functor&& functor, Args&&... args) { in Call() 108 GetHandler()->Call(std::forward<Functor>(functor), std::forward<Args>(args)...); in Call() 111 template <typename T, typename Functor, typename... Args> 112 void CallOn(T* obj, Functor&& functor, Args&&... args) { in CallOn() 113 GetHandler()->CallOn(obj, std::forward<Functor>(functor), std::forward<Args>(args)...); in CallOn()
|