Lines Matching refs:__f
764 _LIBCPP_HIDE_FROM_ABI explicit __deferred_assoc_state(_Fp&& __f);
770 …ferred_assoc_state<_Rp, _Fp>::__deferred_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {
794 _LIBCPP_HIDE_FROM_ABI explicit __deferred_assoc_state(_Fp&& __f);
800 …erred_assoc_state<void, _Fp>::__deferred_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {
827 _LIBCPP_HIDE_FROM_ABI explicit __async_assoc_state(_Fp&& __f);
833 … __async_assoc_state<_Rp, _Fp>::__async_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {}
863 _LIBCPP_HIDE_FROM_ABI explicit __async_assoc_state(_Fp&& __f);
869 …__async_assoc_state<void, _Fp>::__async_assoc_state(_Fp&& __f) : __func_(std::forward<_Fp>(__f)) {}
902 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_deferred_assoc_state(_Fp&& __f);
905 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_async_assoc_state(_Fp&& __f);
919 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
921 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
990 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
992 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1057 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1059 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1405 …_LIBCPP_HIDE_FROM_ABI explicit __packaged_task_func(const _Fp& __f) : __f_(__f, __default_init_tag…
1406 …_LIBCPP_HIDE_FROM_ABI explicit __packaged_task_func(_Fp&& __f) : __f_(std::move(__f), __default_in…
1407 _LIBCPP_HIDE_FROM_ABI __packaged_task_func(const _Fp& __f, const _Alloc& __a) : __f_(__f, __a) {}
1408 …_LIBCPP_HIDE_FROM_ABI __packaged_task_func(_Fp&& __f, const _Alloc& __a) : __f_(std::move(__f), __…
1461 _LIBCPP_HIDE_FROM_ABI __packaged_task_function(_Fp&& __f);
1463 _LIBCPP_HIDE_FROM_ABI __packaged_task_function(allocator_arg_t, const _Alloc& __a, _Fp&& __f);
1479 …k_function<_Rp(_ArgTypes...)>::__packaged_task_function(__packaged_task_function&& __f) _NOEXCEPT {
1480 if (__f.__f_ == nullptr)
1482 else if (__f.__f_ == __f.__get_buf()) {
1483 __f.__f_->__move_to(__get_buf());
1486 __f_ = __f.__f_;
1487 __f.__f_ = nullptr;
1493 __packaged_task_function<_Rp(_ArgTypes...)>::__packaged_task_function(_Fp&& __f) : __f_(nullptr) {
1497 ::new ((void*)&__buf_) _FF(std::forward<_Fp>(__f));
1504 ::new ((void*)__hold.get()) _FF(std::forward<_Fp>(__f), allocator<_FR>(__a));
1511 …nction<_Rp(_ArgTypes...)>::__packaged_task_function(allocator_arg_t, const _Alloc& __a0, _Fp&& __f)
1517 ::new ((void*)__f_) _FF(std::forward<_Fp>(__f));
1523 ::new ((void*)std::addressof(*__hold.get())) _FF(std::forward<_Fp>(__f), _Alloc(__a));
1530 __packaged_task_function<_Rp(_ArgTypes...)>::operator=(__packaged_task_function&& __f) _NOEXCEPT {
1536 if (__f.__f_ == nullptr)
1538 else if (__f.__f_ == __f.__get_buf()) {
1539 __f.__f_->__move_to(__get_buf());
1542 __f_ = __f.__f_;
1543 __f.__f_ = nullptr;
1557 _LIBCPP_NO_CFI void __packaged_task_function<_Rp(_ArgTypes...)>::swap(__packaged_task_function& __f…
1558 if (__f_ == (__base*)&__buf_ && __f.__f_ == (__base*)&__f.__buf_) {
1566 __f.__f_->__move_to((__base*)&__buf_);
1567 __f.__f_->destroy();
1568 __f.__f_ = nullptr;
1570 __t->__move_to((__base*)&__f.__buf_);
1572 __f.__f_ = (__base*)&__f.__buf_;
1574 __f_->__move_to((__base*)&__f.__buf_);
1576 __f_ = __f.__f_;
1577 __f.__f_ = (__base*)&__f.__buf_;
1578 } else if (__f.__f_ == (__base*)&__f.__buf_) {
1579 __f.__f_->__move_to((__base*)&__buf_);
1580 __f.__f_->destroy();
1581 __f.__f_ = __f_;
1584 std::swap(__f_, __f.__f_);
1606 _LIBCPP_HIDE_FROM_ABI explicit packaged_task(_Fp&& __f) : __f_(std::forward<_Fp>(__f)) {}
1609 _LIBCPP_HIDE_FROM_ABI packaged_task(allocator_arg_t, const _Allocator& __a, _Fp&& __f)
1610 : __f_(allocator_arg_t(), __a, std::forward<_Fp>(__f)), __p_(allocator_arg_t(), __a) {}
1697 _LIBCPP_HIDE_FROM_ABI explicit packaged_task(_Fp&& __f) : __f_(std::forward<_Fp>(__f)) {}
1699 _LIBCPP_HIDE_FROM_ABI packaged_task(allocator_arg_t, const _Allocator& __a, _Fp&& __f)
1700 : __f_(allocator_arg_t(), __a, std::forward<_Fp>(__f)), __p_(allocator_arg_t(), __a) {}
1796 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_deferred_assoc_state(_Fp&& __f) {
1798 new __deferred_assoc_state<_Rp, _Fp>(std::forward<_Fp>(__f)));
1803 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_async_assoc_state(_Fp&& __f) {
1805 new __async_assoc_state<_Rp, _Fp>(std::forward<_Fp>(__f)));
1819 _LIBCPP_HIDE_FROM_ABI explicit __async_func(_Fp&& __f, _Args&&... __args)
1820 : __f_(std::move(__f), std::move(__args)...) {}
1822 _LIBCPP_HIDE_FROM_ABI __async_func(__async_func&& __f) : __f_(std::move(__f.__f_)) {}
1842 async(launch __policy, _Fp&& __f, _Args&&... __args) {
1851 …_BF(_LIBCPP_AUTO_CAST(std::forward<_Fp>(__f)), _LIBCPP_AUTO_CAST(std::forward<_Args>(__args))...));
1861 …_BF(_LIBCPP_AUTO_CAST(std::forward<_Fp>(__f)), _LIBCPP_AUTO_CAST(std::forward<_Args>(__args))...));
1867 async(_Fp&& __f, _Args&&... __args) {
1868 return std::async(launch::any, std::forward<_Fp>(__f), std::forward<_Args>(__args)...);
1885 …_LIBCPP_HIDE_FROM_ABI shared_future(future<_Rp>&& __f) _NOEXCEPT : __state_(__f.__state_) { __f.__…
1941 …_LIBCPP_HIDE_FROM_ABI shared_future(future<_Rp&>&& __f) _NOEXCEPT : __state_(__f.__state_) { __f._…
1997 …_LIBCPP_HIDE_FROM_ABI shared_future(future<void>&& __f) _NOEXCEPT : __state_(__f.__state_) { __f._…