• Home
  • Raw
  • Download

Lines Matching refs:__f

1082     _LIBCPP_INLINE_VISIBILITY explicit pointer_to_unary_function(_Result (*__f)(_Arg))
1083 : __f_(__f) {}
1091 ptr_fun(_Result (*__f)(_Arg))
1092 {return pointer_to_unary_function<_Arg,_Result>(__f);}
1100 _LIBCPP_INLINE_VISIBILITY explicit pointer_to_binary_function(_Result (*__f)(_Arg1, _Arg2))
1101 : __f_(__f) {}
1109 ptr_fun(_Result (*__f)(_Arg1,_Arg2))
1110 {return pointer_to_binary_function<_Arg1,_Arg2,_Result>(__f);}
1137 mem_fun(_Sp (_Tp::*__f)())
1138 {return mem_fun_t<_Sp,_Tp>(__f);}
1143 mem_fun(_Sp (_Tp::*__f)(_Ap))
1144 {return mem_fun1_t<_Sp,_Tp,_Ap>(__f);}
1171 mem_fun_ref(_Sp (_Tp::*__f)())
1172 {return mem_fun_ref_t<_Sp,_Tp>(__f);}
1177 mem_fun_ref(_Sp (_Tp::*__f)(_Ap))
1178 {return mem_fun1_ref_t<_Sp,_Tp,_Ap>(__f);}
1205 mem_fun(_Sp (_Tp::*__f)() const)
1206 {return const_mem_fun_t<_Sp,_Tp>(__f);}
1211 mem_fun(_Sp (_Tp::*__f)(_Ap) const)
1212 {return const_mem_fun1_t<_Sp,_Tp,_Ap>(__f);}
1240 mem_fun_ref(_Sp (_Tp::*__f)() const)
1241 {return const_mem_fun_ref_t<_Sp,_Tp>(__f);}
1246 mem_fun_ref(_Sp (_Tp::*__f)(_Ap) const)
1247 {return const_mem_fun1_ref_t<_Sp,_Tp,_Ap>(__f);}
1265 _LIBCPP_INLINE_VISIBILITY __mem_fn(type __f) _NOEXCEPT : __f_(__f) {}
1453 bool __not_null(function<_Fp> const& __f) { return !!__f; }
1491 explicit __func(_Fp&& __f)
1492 : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
1495 explicit __func(const _Fp& __f, const _Alloc& __a)
1496 : __f_(piecewise_construct, _VSTD::forward_as_tuple(__f),
1500 explicit __func(const _Fp& __f, _Alloc&& __a)
1501 : __f_(piecewise_construct, _VSTD::forward_as_tuple(__f),
1505 explicit __func(_Fp&& __f, _Alloc&& __a)
1506 : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
1645 function(allocator_arg_t, const _Alloc& __a, _Fp __f);
1662 void assign(_Fp&& __f, const _Alloc& __a)
1663 {function(allocator_arg, __a, _VSTD::forward<_Fp>(__f)).swap(*this);}
1688 function<_Rp(_ArgTypes...)>::function(const function& __f)
1690 if (__f.__f_ == 0)
1692 else if ((void *)__f.__f_ == &__f.__buf_)
1695 __f.__f_->__clone(__f_);
1698 __f_ = __f.__f_->__clone();
1705 const function& __f)
1707 if (__f.__f_ == 0)
1709 else if ((void *)__f.__f_ == &__f.__buf_)
1712 __f.__f_->__clone(__f_);
1715 __f_ = __f.__f_->__clone();
1720 function<_Rp(_ArgTypes...)>::function(function&& __f) _NOEXCEPT
1722 if (__f.__f_ == 0)
1724 else if ((void *)__f.__f_ == &__f.__buf_)
1727 __f.__f_->__clone(__f_);
1731 __f_ = __f.__f_;
1732 __f.__f_ = 0;
1740 function&& __f)
1742 if (__f.__f_ == 0)
1744 else if ((void *)__f.__f_ == &__f.__buf_)
1747 __f.__f_->__clone(__f_);
1751 __f_ = __f.__f_;
1752 __f.__f_ = 0;
1759 function<_Rp(_ArgTypes...)>::function(_Fp __f)
1762 if (__function::__not_null(__f))
1767 __f_ = ::new((void*)&__buf_) _FF(_VSTD::move(__f));
1775 ::new (__hold.get()) _FF(_VSTD::move(__f), allocator<_Fp>(__a));
1784 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f)
1788 if (__function::__not_null(__f))
1796 __f_ = ::new((void*)&__buf_) _FF(_VSTD::move(__f), _Alloc(__a));
1802 ::new (__hold.get()) _FF(_VSTD::move(__f), _Alloc(__a));
1811 function<_Rp(_ArgTypes...)>::operator=(const function& __f)
1813 function(__f).swap(*this);
1819 function<_Rp(_ArgTypes...)>::operator=(function&& __f) _NOEXCEPT
1826 if (__f.__f_ == 0)
1828 else if ((void *)__f.__f_ == &__f.__buf_)
1831 __f.__f_->__clone(__f_);
1835 __f_ = __f.__f_;
1836 __f.__f_ = 0;
1856 function<_Rp(_ArgTypes...)>::operator=(_Fp&& __f)
1858 function(_VSTD::forward<_Fp>(__f)).swap(*this);
1873 function<_Rp(_ArgTypes...)>::swap(function& __f) _NOEXCEPT
1875 if (_VSTD::addressof(__f) == this)
1877 if ((void *)__f_ == &__buf_ && (void *)__f.__f_ == &__f.__buf_)
1884 __f.__f_->__clone(__as_base(&__buf_));
1885 __f.__f_->destroy();
1886 __f.__f_ = 0;
1888 __t->__clone(__as_base(&__f.__buf_));
1890 __f.__f_ = __as_base(&__f.__buf_);
1894 __f_->__clone(__as_base(&__f.__buf_));
1896 __f_ = __f.__f_;
1897 __f.__f_ = __as_base(&__f.__buf_);
1899 else if ((void *)__f.__f_ == &__f.__buf_)
1901 __f.__f_->__clone(__as_base(&__buf_));
1902 __f.__f_->destroy();
1903 __f.__f_ = __f_;
1907 _VSTD::swap(__f_, __f.__f_);
1955 operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return !__f;}
1960 operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return !__f;}
1965 operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return (bool)__f;}
1970 operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return (bool)__f;}
2216 __apply_functor(_Fp& __f, _BoundArgs& __bound_args, __tuple_indices<_Indx...>,
2219 return _VSTD::__invoke(__f, _VSTD::__mu(_VSTD::get<_Indx>(__bound_args), __args)...);
2243 explicit __bind(_Gp&& __f, _BA&& ...__bound_args)
2244 : __f_(_VSTD::forward<_Gp>(__f)),
2288 explicit __bind_r(_Gp&& __f, _BA&& ...__bound_args)
2289 : base(_VSTD::forward<_Gp>(__f),
2327 bind(_Fp&& __f, _BoundArgs&&... __bound_args)
2330 return type(_VSTD::forward<_Fp>(__f), _VSTD::forward<_BoundArgs>(__bound_args)...);
2336 bind(_Fp&& __f, _BoundArgs&&... __bound_args)
2339 return type(_VSTD::forward<_Fp>(__f), _VSTD::forward<_BoundArgs>(__bound_args)...);
2350 invoke(_Fn&& __f, _Args&&... __args)
2351 noexcept(noexcept(_VSTD::__invoke(_VSTD::forward<_Fn>(__f), _VSTD::forward<_Args>(__args)...)))
2353 return _VSTD::__invoke(_VSTD::forward<_Fn>(__f), _VSTD::forward<_Args>(__args)...);
2504 default_searcher(_ForwardIterator __f, _ForwardIterator __l,
2506 : __first_(__f), __last_(__l), __pred_(__p) {}
2511 operator () (_ForwardIterator2 __f, _ForwardIterator2 __l) const
2513 return _VSTD::__search(__f, __l, __first_, __last_, __pred_,