Lines Matching refs:Args
108 typename Args,
114 typename... Args,
118 TypeList<Args...>,
121 : AssertConstructible<Ns, Args, std::decay_t<Args>, Unwrapped, Params>... {
160 template <bool is_once, bool is_method, typename... Args>
162 using Type = TypeList<TransformToUnwrappedType<is_once, Args>...>;
169 template <bool is_once, typename Receiver, typename... Args>
170 struct MakeUnwrappedTypeListImpl<is_once, true, Receiver, Args...> {
173 TransformToUnwrappedType<is_once, Args>...>;
176 template <bool is_once, bool is_method, typename... Args>
178 typename MakeUnwrappedTypeListImpl<is_once, is_method, Args...>::Type;
183 template <typename Functor, typename... Args>
184 inline OnceCallback<MakeUnboundRunType<Functor, Args...>>
185 BindOnce(Functor&& functor, Args&&... args) {
195 using Helper = internal::BindTypeHelper<Functor, Args...>;
200 Args&&...>;
207 using BindState = internal::MakeBindStateType<Functor, Args...>;
208 using UnboundRunType = MakeUnboundRunType<Functor, Args...>;
222 std::forward<Args>(args)...));
226 template <typename Functor, typename... Args>
227 inline RepeatingCallback<MakeUnboundRunType<Functor, Args...>>
228 BindRepeating(Functor&& functor, Args&&... args) {
236 using Helper = internal::BindTypeHelper<Functor, Args...>;
241 Args&&...>;
248 using BindState = internal::MakeBindStateType<Functor, Args...>;
249 using UnboundRunType = MakeUnboundRunType<Functor, Args...>;
263 std::forward<Args>(args)...));
269 template <typename Functor, typename... Args>
270 inline Callback<MakeUnboundRunType<Functor, Args...>>
271 Bind(Functor&& functor, Args&&... args) {
273 std::forward<Args>(args)...);
472 template <typename R, typename... Args>
473 base::mac::ScopedBlock<R (^)(Args...)> RetainBlock(R (^block)(Args...)) {
474 return base::mac::ScopedBlock<R (^)(Args...)>(block,