Lines Matching refs:__func
282 template<class _FD, class _Alloc, class _FB> class __func;
285 class __func<_Fp, _Alloc, _Rp(_ArgTypes...)>
291 explicit __func(_Fp&& __f)
295 explicit __func(const _Fp& __f, const _Alloc& __a)
299 explicit __func(const _Fp& __f, _Alloc&& __a)
303 explicit __func(_Fp&& __f, _Alloc&& __a)
319 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone() const
322 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
325 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
326 ::new ((void*)__hold.get()) __func(__f_.__target(), _Alloc(__a));
332 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone(__base<_Rp(_ArgTypes...)>* __p) const
334 ::new ((void*)__p) __func(__f_.__target(), __f_.__get_allocator());
339 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::destroy() _NOEXCEPT
346 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::destroy_deallocate() _NOEXCEPT
349 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
357 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::operator()(_ArgTypes&& ... __arg)
366 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::target(const type_info& __ti) const _NOEXCEPT
375 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::target_type() const _NOEXCEPT
390 typedef __base<_Rp(_ArgTypes...)> __func;
391 __func* __f_;
393 _LIBCPP_NO_CFI static __func* __as_base(void* __p)
395 return reinterpret_cast<__func*>(__p);
407 typedef __function::__func<_Fp, _Alloc, _Rp(_ArgTypes...)> _Fun;
424 unique_ptr<__func, _Dp> __hold(__af.allocate(1), _Dp(__af, 1));
498 __func* __f = __f_;
523 __func* __t = __as_base(&__tempbuf);
892 class __func<_Rp1(^)(_ArgTypes1...), _Alloc, _Rp(_ArgTypes...)>
900 explicit __func(__block_type const& __f)
911 explicit __func(__block_type __f, const _Alloc& /* unused */)
928 ::new ((void*)__p) __func(__f_);
952 if (__ti == typeid(__func::__block_type))
958 return typeid(__func::__block_type);
973 typedef __function::__value_func<_Rp(_ArgTypes...)> __func;
975 typedef __function::__policy_func<_Rp(_ArgTypes...)> __func;
978 __func __f_;
1335 template<class _FD, class _Alloc, class _FB> class __func;
1338 class __func<_Fp, _Alloc, _Rp()>
1343 explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) {}
1344 explicit __func(_Fp __f, _Alloc __a) : __f_(_VSTD::move(__f), _VSTD::move(__a)) {}
1358 __func<_Fp, _Alloc, _Rp()>::__clone() const
1361 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1364 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
1365 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1371 __func<_Fp, _Alloc, _Rp()>::__clone(__base<_Rp()>* __p) const
1373 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1378 __func<_Fp, _Alloc, _Rp()>::destroy()
1385 __func<_Fp, _Alloc, _Rp()>::destroy_deallocate()
1388 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1396 __func<_Fp, _Alloc, _Rp()>::operator()()
1406 __func<_Fp, _Alloc, _Rp()>::target(const type_info& __ti) const
1415 __func<_Fp, _Alloc, _Rp()>::target_type() const
1423 class __func<_Fp, _Alloc, _Rp(_A0)>
1428 …_LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) …
1429 _LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f, _Alloc __a)
1444 __func<_Fp, _Alloc, _Rp(_A0)>::__clone() const
1447 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1450 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
1451 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1457 __func<_Fp, _Alloc, _Rp(_A0)>::__clone(__base<_Rp(_A0)>* __p) const
1459 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1464 __func<_Fp, _Alloc, _Rp(_A0)>::destroy()
1471 __func<_Fp, _Alloc, _Rp(_A0)>::destroy_deallocate()
1474 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1482 __func<_Fp, _Alloc, _Rp(_A0)>::operator()(_A0 __a0)
1492 __func<_Fp, _Alloc, _Rp(_A0)>::target(const type_info& __ti) const
1501 __func<_Fp, _Alloc, _Rp(_A0)>::target_type() const
1509 class __func<_Fp, _Alloc, _Rp(_A0, _A1)>
1514 …_LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) …
1515 _LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f, _Alloc __a)
1530 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::__clone() const
1533 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1536 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
1537 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1543 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::__clone(__base<_Rp(_A0, _A1)>* __p) const
1545 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1550 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::destroy()
1557 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::destroy_deallocate()
1560 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1568 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::operator()(_A0 __a0, _A1 __a1)
1578 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::target(const type_info& __ti) const
1587 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::target_type() const
1595 class __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>
1600 …_LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) …
1601 _LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f, _Alloc __a)
1616 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::__clone() const
1619 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1622 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
1623 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1629 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::__clone(__base<_Rp(_A0, _A1, _A2)>* __p) const
1631 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1636 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::destroy()
1643 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::destroy_deallocate()
1646 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1654 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::operator()(_A0 __a0, _A1 __a1, _A2 __a2)
1664 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::target(const type_info& __ti) const
1673 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::target_type() const
1787 typedef __function::__func<_Fp, allocator<_Fp>, _Rp()> _FF;
1814 typedef __function::__func<_Fp, _Alloc, _Rp()> _FF;
2065 typedef __function::__func<_Fp, allocator<_Fp>, _Rp(_A0)> _FF;
2092 typedef __function::__func<_Fp, _Alloc, _Rp(_A0)> _FF;
2343 typedef __function::__func<_Fp, allocator<_Fp>, _Rp(_A0, _A1)> _FF;
2370 typedef __function::__func<_Fp, _Alloc, _Rp(_A0, _A1)> _FF;
2621 typedef __function::__func<_Fp, allocator<_Fp>, _Rp(_A0, _A1, _A2)> _FF;
2648 typedef __function::__func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)> _FF;