Lines Matching refs:__func
255 class __func;
258 class __func<_Fp, _Alloc, _Rp(_ArgTypes...)> : public __base<_Rp(_ArgTypes...)> {
262 _LIBCPP_HIDE_FROM_ABI explicit __func(_Fp&& __f) : __f_(std::move(__f)) {}
264 _LIBCPP_HIDE_FROM_ABI explicit __func(const _Fp& __f, const _Alloc& __a) : __f_(__f, __a) {}
266 _LIBCPP_HIDE_FROM_ABI explicit __func(const _Fp& __f, _Alloc&& __a) : __f_(__f, std::move(__a)) {}
268 …_LIBCPP_HIDE_FROM_ABI explicit __func(_Fp&& __f, _Alloc&& __a) : __f_(std::move(__f), std::move(__…
282 __base<_Rp(_ArgTypes...)>* __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone() const {
284 typedef __rebind_alloc<__alloc_traits, __func> _Ap;
287 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
288 ::new ((void*)__hold.get()) __func(__f_.__target(), _Alloc(__a));
293 void __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone(__base<_Rp(_ArgTypes...)>* __p) const {
294 ::new ((void*)__p) __func(__f_.__target(), __f_.__get_allocator());
298 void __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::destroy() _NOEXCEPT {
303 void __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::destroy_deallocate() _NOEXCEPT {
305 typedef __rebind_alloc<__alloc_traits, __func> _Ap;
312 _Rp __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::operator()(_ArgTypes&&... __arg) {
319 const void* __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::target(const type_info& __ti) const _NOEXCEPT {
326 const std::type_info& __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::target_type() const _NOEXCEPT {
343 typedef __base<_Rp(_ArgTypes...)> __func;
344 __func* __f_;
346 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_NO_CFI static __func* __as_base(void* __p) { return reinterpret_cast…
354 typedef __function::__func<_Fp, _Alloc, _Rp(_ArgTypes...)> _Fun;
364 unique_ptr<__func, _Dp> __hold(__af.allocate(1), _Dp(__af, 1));
418 __func* __f = __f_;
440 __func* __t = __as_base(&__tempbuf);
748 class __func<_Rp1 (^)(_ArgTypes1...), _Alloc, _Rp(_ArgTypes...)> : public __base<_Rp(_ArgTypes...)>…
753 _LIBCPP_HIDE_FROM_ABI explicit __func(__block_type const& __f)
764 _LIBCPP_HIDE_FROM_ABI explicit __func(__block_type __f, const _Alloc& /* unused */)
783 ::new ((void*)__p) __func(__f_);
808 if (__ti == typeid(__func::__block_type))
814 return typeid(__func::__block_type);
828 typedef __function::__value_func<_Rp(_ArgTypes...)> __func;
830 typedef __function::__policy_func<_Rp(_ArgTypes...)> __func;
833 __func __f_;