Lines Matching refs:__func
268 template<class _FD, class _Alloc, class _FB> class __func;
271 class __func<_Fp, _Alloc, _Rp(_ArgTypes...)>
277 explicit __func(_Fp&& __f)
281 explicit __func(const _Fp& __f, const _Alloc& __a)
285 explicit __func(const _Fp& __f, _Alloc&& __a)
289 explicit __func(_Fp&& __f, _Alloc&& __a)
305 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone() const
308 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
311 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
312 ::new ((void*)__hold.get()) __func(__f_.__target(), _Alloc(__a));
318 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone(__base<_Rp(_ArgTypes...)>* __p) const
320 ::new ((void*)__p) __func(__f_.__target(), __f_.__get_allocator());
325 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::destroy() _NOEXCEPT
332 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::destroy_deallocate() _NOEXCEPT
335 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
343 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::operator()(_ArgTypes&& ... __arg)
352 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::target(const type_info& __ti) const _NOEXCEPT
361 __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::target_type() const _NOEXCEPT
376 typedef __base<_Rp(_ArgTypes...)> __func;
377 __func* __f_;
379 _LIBCPP_NO_CFI static __func* __as_base(void* p)
381 return reinterpret_cast<__func*>(p);
393 typedef __function::__func<_Fp, _Alloc, _Rp(_ArgTypes...)> _Fun;
410 unique_ptr<__func, _Dp> __hold(__af.allocate(1), _Dp(__af, 1));
484 __func* __f = __f_;
509 __func* __t = __as_base(&__tempbuf);
878 class __func<_Rp1(^)(_ArgTypes1...), _Alloc, _Rp(_ArgTypes...)>
886 explicit __func(__block_type const& __f)
893 explicit __func(__block_type __f, const _Alloc& /* unused */)
906 ::new ((void*)__p) __func(__f_);
928 if (__ti == typeid(__func::__block_type))
934 return typeid(__func::__block_type);
951 typedef __function::__value_func<_Rp(_ArgTypes...)> __func;
953 typedef __function::__policy_func<_Rp(_ArgTypes...)> __func;
956 __func __f_;
1313 template<class _FD, class _Alloc, class _FB> class __func;
1316 class __func<_Fp, _Alloc, _Rp()>
1321 explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) {}
1322 explicit __func(_Fp __f, _Alloc __a) : __f_(_VSTD::move(__f), _VSTD::move(__a)) {}
1336 __func<_Fp, _Alloc, _Rp()>::__clone() const
1339 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1342 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
1343 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1349 __func<_Fp, _Alloc, _Rp()>::__clone(__base<_Rp()>* __p) const
1351 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1356 __func<_Fp, _Alloc, _Rp()>::destroy()
1363 __func<_Fp, _Alloc, _Rp()>::destroy_deallocate()
1366 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1374 __func<_Fp, _Alloc, _Rp()>::operator()()
1384 __func<_Fp, _Alloc, _Rp()>::target(const type_info& __ti) const
1393 __func<_Fp, _Alloc, _Rp()>::target_type() const
1401 class __func<_Fp, _Alloc, _Rp(_A0)>
1406 …_LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) …
1407 _LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f, _Alloc __a)
1422 __func<_Fp, _Alloc, _Rp(_A0)>::__clone() const
1425 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1428 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
1429 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1435 __func<_Fp, _Alloc, _Rp(_A0)>::__clone(__base<_Rp(_A0)>* __p) const
1437 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1442 __func<_Fp, _Alloc, _Rp(_A0)>::destroy()
1449 __func<_Fp, _Alloc, _Rp(_A0)>::destroy_deallocate()
1452 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1460 __func<_Fp, _Alloc, _Rp(_A0)>::operator()(_A0 __a0)
1470 __func<_Fp, _Alloc, _Rp(_A0)>::target(const type_info& __ti) const
1479 __func<_Fp, _Alloc, _Rp(_A0)>::target_type() const
1487 class __func<_Fp, _Alloc, _Rp(_A0, _A1)>
1492 …_LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) …
1493 _LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f, _Alloc __a)
1508 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::__clone() const
1511 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1514 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
1515 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1521 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::__clone(__base<_Rp(_A0, _A1)>* __p) const
1523 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1528 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::destroy()
1535 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::destroy_deallocate()
1538 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1546 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::operator()(_A0 __a0, _A1 __a1)
1556 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::target(const type_info& __ti) const
1565 __func<_Fp, _Alloc, _Rp(_A0, _A1)>::target_type() const
1573 class __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>
1578 …_LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) …
1579 _LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f, _Alloc __a)
1594 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::__clone() const
1597 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1600 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
1601 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1607 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::__clone(__base<_Rp(_A0, _A1, _A2)>* __p) const
1609 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1614 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::destroy()
1621 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::destroy_deallocate()
1624 typedef typename __rebind_alloc_helper<__alloc_traits, __func>::type _Ap;
1632 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::operator()(_A0 __a0, _A1 __a1, _A2 __a2)
1642 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::target(const type_info& __ti) const
1651 __func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)>::target_type() const
1767 typedef __function::__func<_Fp, allocator<_Fp>, _Rp()> _FF;
1794 typedef __function::__func<_Fp, _Alloc, _Rp()> _FF;
2047 typedef __function::__func<_Fp, allocator<_Fp>, _Rp(_A0)> _FF;
2074 typedef __function::__func<_Fp, _Alloc, _Rp(_A0)> _FF;
2327 typedef __function::__func<_Fp, allocator<_Fp>, _Rp(_A0, _A1)> _FF;
2354 typedef __function::__func<_Fp, _Alloc, _Rp(_A0, _A1)> _FF;
2607 typedef __function::__func<_Fp, allocator<_Fp>, _Rp(_A0, _A1, _A2)> _FF;
2634 typedef __function::__func<_Fp, _Alloc, _Rp(_A0, _A1, _A2)> _FF;