Lines Matching refs:__func
253 class __func;
256 class __func<_Fp, _Alloc, _Rp(_ArgTypes...)> : public __base<_Rp(_ArgTypes...)> {
260 _LIBCPP_HIDE_FROM_ABI explicit __func(_Fp&& __f) : __f_(std::move(__f)) {}
262 _LIBCPP_HIDE_FROM_ABI explicit __func(const _Fp& __f, const _Alloc& __a) : __f_(__f, __a) {}
264 _LIBCPP_HIDE_FROM_ABI explicit __func(const _Fp& __f, _Alloc&& __a) : __f_(__f, std::move(__a)) {}
266 …_LIBCPP_HIDE_FROM_ABI explicit __func(_Fp&& __f, _Alloc&& __a) : __f_(std::move(__f), std::move(__…
280 __base<_Rp(_ArgTypes...)>* __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone() const {
282 typedef __rebind_alloc<__alloc_traits, __func> _Ap;
285 unique_ptr<__func, _Dp> __hold(__a.allocate(1), _Dp(__a, 1));
286 ::new ((void*)__hold.get()) __func(__f_.__target(), _Alloc(__a));
291 void __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::__clone(__base<_Rp(_ArgTypes...)>* __p) const {
292 ::new ((void*)__p) __func(__f_.__target(), __f_.__get_allocator());
296 void __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::destroy() _NOEXCEPT {
301 void __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::destroy_deallocate() _NOEXCEPT {
303 typedef __rebind_alloc<__alloc_traits, __func> _Ap;
310 _Rp __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::operator()(_ArgTypes&&... __arg) {
317 const void* __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::target(const type_info& __ti) const _NOEXCEPT {
324 const std::type_info& __func<_Fp, _Alloc, _Rp(_ArgTypes...)>::target_type() const _NOEXCEPT {
341 typedef __base<_Rp(_ArgTypes...)> __func;
342 __func* __f_;
344 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_NO_CFI static __func* __as_base(void* __p) { return reinterpret_cast…
352 typedef __function::__func<_Fp, _Alloc, _Rp(_ArgTypes...)> _Fun;
362 unique_ptr<__func, _Dp> __hold(__af.allocate(1), _Dp(__af, 1));
416 __func* __f = __f_;
438 __func* __t = __as_base(&__tempbuf);
746 class __func<_Rp1 (^)(_ArgTypes1...), _Alloc, _Rp(_ArgTypes...)> : public __base<_Rp(_ArgTypes...)>…
751 _LIBCPP_HIDE_FROM_ABI explicit __func(__block_type const& __f)
762 _LIBCPP_HIDE_FROM_ABI explicit __func(__block_type __f, const _Alloc& /* unused */)
780 virtual void __clone(__base<_Rp(_ArgTypes...)>* __p) const { ::new ((void*)__p) __func(__f_); }
802 if (__ti == typeid(__func::__block_type))
807 …virtual const std::type_info& target_type() const _NOEXCEPT { return typeid(__func::__block_type);…
820 typedef __function::__value_func<_Rp(_ArgTypes...)> __func;
822 typedef __function::__policy_func<_Rp(_ArgTypes...)> __func;
825 __func __f_;