Lines Matching refs:__f_

140     __compressed_pair<_Fp, _Ap> __f_;
147 const _Target& __target() const { return __f_.first(); }
151 const _Alloc& __get_allocator() const { return __f_.second(); }
155 : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
162 : __f_(piecewise_construct, _VSTD::forward_as_tuple(__f),
169 : __f_(piecewise_construct, _VSTD::forward_as_tuple(__f),
176 : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
185 return _Invoker::__call(__f_.first(),
196 _AA __a(__f_.second());
199 ::new ((void*)__hold.get()) __alloc_func(__f_.first(), _Alloc(__a));
204 void destroy() _NOEXCEPT { __f_.~__compressed_pair<_Target, _Alloc>(); }
218 _Fp __f_;
224 const _Target& __target() const { return __f_; }
227 explicit __default_alloc_func(_Target&& __f) : __f_(_VSTD::move(__f)) {}
230 explicit __default_alloc_func(const _Target& __f) : __f_(__f) {}
235 return _Invoker::__call(__f_, _VSTD::forward<_ArgTypes>(__arg)...);
243 ::new ((void*)__hold.get()) __default_alloc_func(__f_);
249 void destroy() _NOEXCEPT { __f_.~_Target(); }
288 __alloc_func<_Fp, _Alloc, _Rp(_ArgTypes...)> __f_;
292 : __f_(_VSTD::move(__f)) {}
296 : __f_(__f, __a) {}
300 : __f_(__f, _VSTD::move(__a)) {}
304 : __f_(_VSTD::move(__f), _VSTD::move(__a)) {}
323 _Ap __a(__f_.__get_allocator());
326 ::new ((void*)__hold.get()) __func(__f_.__target(), _Alloc(__a));
334 ::new ((void*)__p) __func(__f_.__target(), __f_.__get_allocator());
341 __f_.destroy();
350 _Ap __a(__f_.__get_allocator());
351 __f_.destroy();
359 return __f_(_VSTD::forward<_ArgTypes>(__arg)...);
369 return _VSTD::addressof(__f_.__target());
391 __func* __f_;
400 __value_func() _NOEXCEPT : __f_(nullptr) {}
404 : __f_(nullptr)
418 __f_ =
426 __f_ = __hold.release();
439 if (__f.__f_ == nullptr)
440 __f_ = nullptr;
441 else if ((void*)__f.__f_ == &__f.__buf_)
443 __f_ = __as_base(&__buf_);
444 __f.__f_->__clone(__f_);
447 __f_ = __f.__f_->__clone();
453 if (__f.__f_ == nullptr)
454 __f_ = nullptr;
455 else if ((void*)__f.__f_ == &__f.__buf_)
457 __f_ = __as_base(&__buf_);
458 __f.__f_->__clone(__f_);
462 __f_ = __f.__f_;
463 __f.__f_ = nullptr;
470 if ((void*)__f_ == &__buf_)
471 __f_->destroy();
472 else if (__f_)
473 __f_->destroy_deallocate();
480 if (__f.__f_ == nullptr)
481 __f_ = nullptr;
482 else if ((void*)__f.__f_ == &__f.__buf_)
484 __f_ = __as_base(&__buf_);
485 __f.__f_->__clone(__f_);
489 __f_ = __f.__f_;
490 __f.__f_ = nullptr;
498 __func* __f = __f_;
499 __f_ = nullptr;
510 if (__f_ == nullptr)
512 return (*__f_)(_VSTD::forward<_ArgTypes>(__args)...);
520 if ((void*)__f_ == &__buf_ && (void*)__f.__f_ == &__f.__buf_)
524 __f_->__clone(__t);
525 __f_->destroy();
526 __f_ = nullptr;
527 __f.__f_->__clone(__as_base(&__buf_));
528 __f.__f_->destroy();
529 __f.__f_ = nullptr;
530 __f_ = __as_base(&__buf_);
533 __f.__f_ = __as_base(&__f.__buf_);
535 else if ((void*)__f_ == &__buf_)
537 __f_->__clone(__as_base(&__f.__buf_));
538 __f_->destroy();
539 __f_ = __f.__f_;
540 __f.__f_ = __as_base(&__f.__buf_);
542 else if ((void*)__f.__f_ == &__f.__buf_)
544 __f.__f_->__clone(__as_base(&__buf_));
545 __f.__f_->destroy();
546 __f.__f_ = __f_;
547 __f_ = __as_base(&__buf_);
550 _VSTD::swap(__f_, __f.__f_);
554 explicit operator bool() const _NOEXCEPT { return __f_ != nullptr; }
560 if (__f_ == nullptr)
562 return __f_->target_type();
568 if (__f_ == nullptr)
570 return (const _Tp*)__f_->target(typeid(_Tp));
896 __block_type __f_;
902 : __f_(__f)
904 : __f_(reinterpret_cast<__block_type>(__f ? _Block_copy(__f) : nullptr))
913 : __f_(__f)
915 : __f_(reinterpret_cast<__block_type>(__f ? _Block_copy(__f) : nullptr))
928 ::new ((void*)__p) __func(__f_);
933 if (__f_)
934 _Block_release(__f_);
936 __f_ = 0;
947 return _VSTD::__invoke(__f_, _VSTD::forward<_ArgTypes>(__arg)...);
953 return &__f_;
978 __func __f_;
1049 return static_cast<bool>(__f_);
1117 function<_Rp(_ArgTypes...)>::function(const function& __f) : __f_(__f.__f_) {}
1123 const function& __f) : __f_(__f.__f_) {}
1128 : __f_(_VSTD::move(__f.__f_)) {}
1135 : __f_(_VSTD::move(__f.__f_)) {}
1140 function<_Rp(_ArgTypes...)>::function(_Fp __f) : __f_(_VSTD::move(__f)) {}
1147 : __f_(_VSTD::move(__f), __a) {}
1162 __f_ = _VSTD::move(__f.__f_);
1170 __f_ = nullptr;
1190 __f_.swap(__f.__f_);
1197 return __f_(_VSTD::forward<_ArgTypes>(__arg)...);
1206 return __f_.target_type();
1214 return (_Tp*)(__f_.template target<_Tp>());
1222 return __f_.template target<_Tp>();
1341 __compressed_pair<_Fp, _Alloc> __f_;
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)) {}
1362 _Ap __a(__f_.second());
1365 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1373 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1380 __f_.~__compressed_pair<_Fp, _Alloc>();
1389 _Ap __a(__f_.second());
1390 __f_.~__compressed_pair<_Fp, _Alloc>();
1399 return _Invoker::__call(__f_.first());
1409 return _VSTD::addressof(__f_.first());
1426 __compressed_pair<_Fp, _Alloc> __f_;
1428 …_LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) …
1430 : __f_(_VSTD::move(__f), _VSTD::move(__a)) {}
1448 _Ap __a(__f_.second());
1451 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1459 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1466 __f_.~__compressed_pair<_Fp, _Alloc>();
1475 _Ap __a(__f_.second());
1476 __f_.~__compressed_pair<_Fp, _Alloc>();
1485 return _Invoker::__call(__f_.first(), __a0);
1495 return &__f_.first();
1512 __compressed_pair<_Fp, _Alloc> __f_;
1514 …_LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) …
1516 : __f_(_VSTD::move(__f), _VSTD::move(__a)) {}
1534 _Ap __a(__f_.second());
1537 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1545 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1552 __f_.~__compressed_pair<_Fp, _Alloc>();
1561 _Ap __a(__f_.second());
1562 __f_.~__compressed_pair<_Fp, _Alloc>();
1571 return _Invoker::__call(__f_.first(), __a0, __a1);
1581 return &__f_.first();
1598 __compressed_pair<_Fp, _Alloc> __f_;
1600 …_LIBCPP_INLINE_VISIBILITY explicit __func(_Fp __f) : __f_(_VSTD::move(__f), __default_init_tag()) …
1602 : __f_(_VSTD::move(__f), _VSTD::move(__a)) {}
1620 _Ap __a(__f_.second());
1623 ::new ((void*)__hold.get()) __func(__f_.first(), _Alloc(__a));
1631 ::new ((void*)__p) __func(__f_.first(), __f_.second());
1638 __f_.~__compressed_pair<_Fp, _Alloc>();
1647 _Ap __a(__f_.second());
1648 __f_.~__compressed_pair<_Fp, _Alloc>();
1657 return _Invoker::__call(__f_.first(), __a0, __a1, __a2);
1667 return &__f_.first();
1687 __base* __f_;
1693 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
1694 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
1702 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
1705 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
1732 _LIBCPP_INLINE_VISIBILITY explicit operator bool() const {return __f_;}
1753 if (__f.__f_ == 0)
1754 __f_ = 0;
1755 else if (__f.__f_ == (const __base*)&__f.__buf_)
1757 __f_ = (__base*)&__buf_;
1758 __f.__f_->__clone(__f_);
1761 __f_ = __f.__f_->__clone();
1768 if (__f.__f_ == 0)
1769 __f_ = 0;
1770 else if (__f.__f_ == (const __base*)&__f.__buf_)
1772 __f_ = (__base*)&__buf_;
1773 __f.__f_->__clone(__f_);
1776 __f_ = __f.__f_->__clone();
1783 : __f_(0)
1790 __f_ = (__base*)&__buf_;
1791 ::new ((void*)__f_) _FF(__f);
1800 __f_ = __hold.release();
1809 : __f_(0)
1817 __f_ = (__base*)&__buf_;
1818 ::new ((void*)__f_) _FF(__f, __a0);
1827 __f_ = __hold.release();
1847 __base* __t = __f_;
1848 __f_ = 0;
1872 if (__f_ == (__base*)&__buf_)
1873 __f_->destroy();
1874 else if (__f_)
1875 __f_->destroy_deallocate();
1884 if (__f_ == (__base*)&__buf_ && __f.__f_ == (__base*)&__f.__buf_)
1888 __f_->__clone(__t);
1889 __f_->destroy();
1890 __f_ = 0;
1891 __f.__f_->__clone((__base*)&__buf_);
1892 __f.__f_->destroy();
1893 __f.__f_ = 0;
1894 __f_ = (__base*)&__buf_;
1897 __f.__f_ = (__base*)&__f.__buf_;
1899 else if (__f_ == (__base*)&__buf_)
1901 __f_->__clone((__base*)&__f.__buf_);
1902 __f_->destroy();
1903 __f_ = __f.__f_;
1904 __f.__f_ = (__base*)&__f.__buf_;
1906 else if (__f.__f_ == (__base*)&__f.__buf_)
1908 __f.__f_->__clone((__base*)&__buf_);
1909 __f.__f_->destroy();
1910 __f.__f_ = __f_;
1911 __f_ = (__base*)&__buf_;
1914 _VSTD::swap(__f_, __f.__f_);
1921 if (__f_ == 0)
1923 return (*__f_)();
1932 if (__f_ == 0)
1934 return __f_->target_type();
1942 if (__f_ == 0)
1944 return (_Tp*) const_cast<void *>(__f_->target(typeid(_Tp)));
1952 if (__f_ == 0)
1954 return (const _Tp*)__f_->target(typeid(_Tp));
1965 __base* __f_;
1971 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
1972 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
1980 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
1983 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
2010 _LIBCPP_INLINE_VISIBILITY explicit operator bool() const {return __f_;}
2031 if (__f.__f_ == 0)
2032 __f_ = 0;
2033 else if (__f.__f_ == (const __base*)&__f.__buf_)
2035 __f_ = (__base*)&__buf_;
2036 __f.__f_->__clone(__f_);
2039 __f_ = __f.__f_->__clone();
2046 if (__f.__f_ == 0)
2047 __f_ = 0;
2048 else if (__f.__f_ == (const __base*)&__f.__buf_)
2050 __f_ = (__base*)&__buf_;
2051 __f.__f_->__clone(__f_);
2054 __f_ = __f.__f_->__clone();
2061 : __f_(0)
2068 __f_ = (__base*)&__buf_;
2069 ::new ((void*)__f_) _FF(__f);
2078 __f_ = __hold.release();
2087 : __f_(0)
2095 __f_ = (__base*)&__buf_;
2096 ::new ((void*)__f_) _FF(__f, __a0);
2105 __f_ = __hold.release();
2125 __base* __t = __f_;
2126 __f_ = 0;
2150 if (__f_ == (__base*)&__buf_)
2151 __f_->destroy();
2152 else if (__f_)
2153 __f_->destroy_deallocate();
2162 if (__f_ == (__base*)&__buf_ && __f.__f_ == (__base*)&__f.__buf_)
2166 __f_->__clone(__t);
2167 __f_->destroy();
2168 __f_ = 0;
2169 __f.__f_->__clone((__base*)&__buf_);
2170 __f.__f_->destroy();
2171 __f.__f_ = 0;
2172 __f_ = (__base*)&__buf_;
2175 __f.__f_ = (__base*)&__f.__buf_;
2177 else if (__f_ == (__base*)&__buf_)
2179 __f_->__clone((__base*)&__f.__buf_);
2180 __f_->destroy();
2181 __f_ = __f.__f_;
2182 __f.__f_ = (__base*)&__f.__buf_;
2184 else if (__f.__f_ == (__base*)&__f.__buf_)
2186 __f.__f_->__clone((__base*)&__buf_);
2187 __f.__f_->destroy();
2188 __f.__f_ = __f_;
2189 __f_ = (__base*)&__buf_;
2192 _VSTD::swap(__f_, __f.__f_);
2199 if (__f_ == 0)
2201 return (*__f_)(__a0);
2210 if (__f_ == 0)
2212 return __f_->target_type();
2220 if (__f_ == 0)
2222 return (_Tp*) const_cast<void *>(__f_->target(typeid(_Tp)));
2230 if (__f_ == 0)
2232 return (const _Tp*)__f_->target(typeid(_Tp));
2243 __base* __f_;
2249 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
2250 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
2258 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
2261 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
2288 _LIBCPP_INLINE_VISIBILITY explicit operator bool() const {return __f_;}
2309 if (__f.__f_ == 0)
2310 __f_ = 0;
2311 else if (__f.__f_ == (const __base*)&__f.__buf_)
2313 __f_ = (__base*)&__buf_;
2314 __f.__f_->__clone(__f_);
2317 __f_ = __f.__f_->__clone();
2324 if (__f.__f_ == 0)
2325 __f_ = 0;
2326 else if (__f.__f_ == (const __base*)&__f.__buf_)
2328 __f_ = (__base*)&__buf_;
2329 __f.__f_->__clone(__f_);
2332 __f_ = __f.__f_->__clone();
2339 : __f_(0)
2346 __f_ = (__base*)&__buf_;
2347 ::new ((void*)__f_) _FF(__f);
2356 __f_ = __hold.release();
2365 : __f_(0)
2373 __f_ = (__base*)&__buf_;
2374 ::new ((void*)__f_) _FF(__f, __a0);
2383 __f_ = __hold.release();
2403 __base* __t = __f_;
2404 __f_ = 0;
2428 if (__f_ == (__base*)&__buf_)
2429 __f_->destroy();
2430 else if (__f_)
2431 __f_->destroy_deallocate();
2440 if (__f_ == (__base*)&__buf_ && __f.__f_ == (__base*)&__f.__buf_)
2444 __f_->__clone(__t);
2445 __f_->destroy();
2446 __f_ = 0;
2447 __f.__f_->__clone((__base*)&__buf_);
2448 __f.__f_->destroy();
2449 __f.__f_ = 0;
2450 __f_ = (__base*)&__buf_;
2453 __f.__f_ = (__base*)&__f.__buf_;
2455 else if (__f_ == (__base*)&__buf_)
2457 __f_->__clone((__base*)&__f.__buf_);
2458 __f_->destroy();
2459 __f_ = __f.__f_;
2460 __f.__f_ = (__base*)&__f.__buf_;
2462 else if (__f.__f_ == (__base*)&__f.__buf_)
2464 __f.__f_->__clone((__base*)&__buf_);
2465 __f.__f_->destroy();
2466 __f.__f_ = __f_;
2467 __f_ = (__base*)&__buf_;
2470 _VSTD::swap(__f_, __f.__f_);
2477 if (__f_ == 0)
2479 return (*__f_)(__a0, __a1);
2488 if (__f_ == 0)
2490 return __f_->target_type();
2498 if (__f_ == 0)
2500 return (_Tp*) const_cast<void *>(__f_->target(typeid(_Tp)));
2508 if (__f_ == 0)
2510 return (const _Tp*)__f_->target(typeid(_Tp));
2520 __base* __f_;
2526 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
2527 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
2535 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
2538 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
2565 _LIBCPP_INLINE_VISIBILITY explicit operator bool() const {return __f_;}
2586 if (__f.__f_ == 0)
2587 __f_ = 0;
2588 else if (__f.__f_ == (const __base*)&__f.__buf_)
2590 __f_ = (__base*)&__buf_;
2591 __f.__f_->__clone(__f_);
2594 __f_ = __f.__f_->__clone();
2602 if (__f.__f_ == 0)
2603 __f_ = 0;
2604 else if (__f.__f_ == (const __base*)&__f.__buf_)
2606 __f_ = (__base*)&__buf_;
2607 __f.__f_->__clone(__f_);
2610 __f_ = __f.__f_->__clone();
2617 : __f_(0)
2624 __f_ = (__base*)&__buf_;
2625 ::new ((void*)__f_) _FF(__f);
2634 __f_ = __hold.release();
2643 : __f_(0)
2651 __f_ = (__base*)&__buf_;
2652 ::new ((void*)__f_) _FF(__f, __a0);
2661 __f_ = __hold.release();
2681 __base* __t = __f_;
2682 __f_ = 0;
2706 if (__f_ == (__base*)&__buf_)
2707 __f_->destroy();
2708 else if (__f_)
2709 __f_->destroy_deallocate();
2718 if (__f_ == (__base*)&__buf_ && __f.__f_ == (__base*)&__f.__buf_)
2722 __f_->__clone(__t);
2723 __f_->destroy();
2724 __f_ = 0;
2725 __f.__f_->__clone((__base*)&__buf_);
2726 __f.__f_->destroy();
2727 __f.__f_ = 0;
2728 __f_ = (__base*)&__buf_;
2731 __f.__f_ = (__base*)&__f.__buf_;
2733 else if (__f_ == (__base*)&__buf_)
2735 __f_->__clone((__base*)&__f.__buf_);
2736 __f_->destroy();
2737 __f_ = __f.__f_;
2738 __f.__f_ = (__base*)&__f.__buf_;
2740 else if (__f.__f_ == (__base*)&__f.__buf_)
2742 __f.__f_->__clone((__base*)&__buf_);
2743 __f.__f_->destroy();
2744 __f.__f_ = __f_;
2745 __f_ = (__base*)&__buf_;
2748 _VSTD::swap(__f_, __f.__f_);
2755 if (__f_ == 0)
2757 return (*__f_)(__a0, __a1, __a2);
2766 if (__f_ == 0)
2768 return __f_->target_type();
2776 if (__f_ == 0)
2778 return (_Tp*) const_cast<void *>(__f_->target(typeid(_Tp)));
2786 if (__f_ == 0)
2788 return (const _Tp*)__f_->target(typeid(_Tp));