Home | History | Annotate | Download | only in threads

Lines Matching refs:Args

25 template <typename HalType, typename Impl, typename R, typename... Args>
26 struct ThunkerImpl<HalType, R (Impl::*)(Args...)> {
27 template <R (Impl::*MemFn)(Args...)>
28 static R call(HalType* in, Args... args) {
29 return (reinterpret_cast<Impl*>(in)->*MemFn)(args...);
33 template <typename HalType, typename Impl, typename R, typename... Args>
34 struct ThunkerImpl<HalType, R (Impl::*)(Args...) const> {
35 template <R (Impl::*MemFn)(Args...) const>
36 static R call(const HalType* in, Args... args) {
37 return (reinterpret_cast<const Impl*>(in)->*MemFn)(args...);