Lines Matching refs:internal
97 inline OnceCallback<internal::MakeUnboundRunType<Functor, Args...>> BindOnce( in BindOnce()
100 static_assert(!internal::IsOnceCallback<std::decay_t<Functor>>() || in BindOnce()
107 internal::AssertBindArgIsNotBasePassed<std::decay_t<Args>>...>::value, in BindOnce()
110 return internal::BindImpl<OnceCallback>(std::forward<Functor>(functor), in BindOnce()
116 inline RepeatingCallback<internal::MakeUnboundRunType<Functor, Args...>>
119 !internal::IsOnceCallback<std::decay_t<Functor>>(), in BindRepeating()
122 return internal::BindImpl<RepeatingCallback>(std::forward<Functor>(functor), in BindRepeating()
167 inline internal::UnretainedWrapper<T> Unretained(T* o) { in Unretained()
168 return internal::UnretainedWrapper<T>(o); in Unretained()
187 inline internal::RetainedRefWrapper<T> RetainedRef(T* o) { in RetainedRef()
188 return internal::RetainedRefWrapper<T>(o); in RetainedRef()
191 inline internal::RetainedRefWrapper<T> RetainedRef(scoped_refptr<T> o) { in RetainedRef()
192 return internal::RetainedRefWrapper<T>(std::move(o)); in RetainedRef()
216 inline internal::OwnedWrapper<T> Owned(T* o) { in Owned()
217 return internal::OwnedWrapper<T>(o); in Owned()
221 inline internal::OwnedWrapper<T, Deleter> Owned( in Owned()
223 return internal::OwnedWrapper<T, Deleter>(std::move(ptr)); in Owned()
253 internal::OwnedRefWrapper<std::decay_t<T>> OwnedRef(T&& t) { in OwnedRef()
254 return internal::OwnedRefWrapper<std::decay_t<T>>(std::forward<T>(t)); in OwnedRef()
300 inline internal::PassedWrapper<T> Passed(T&& scoper) { in Passed()
301 return internal::PassedWrapper<T>(std::move(scoper)); in Passed()
304 inline internal::PassedWrapper<T> Passed(T* scoper) { in Passed()
305 return internal::PassedWrapper<T>(std::move(*scoper)); in Passed()
324 inline internal::IgnoreResultHelper<T> IgnoreResult(T data) { in IgnoreResult()
325 return internal::IgnoreResultHelper<T>(std::move(data)); in IgnoreResult()