Lines Matching refs:__v

718 …EXPR_AFTER_CXX17 void __swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v);
719 … pointer __swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v, pointer __p);
790 explicit _ConstructTransaction(vector &__v, size_type __n)
791 : __v_(__v), __pos_(__v.__end_), __new_end_(__v.__end_ + __n) {
920 …ctor<_Tp, _Allocator>::__swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v)
924 __v.__begin_ = std::__uninitialized_allocator_move_if_noexcept(
925 __alloc(), _RevIter(__end_), _RevIter(__begin_), _RevIter(__v.__begin_))
927 _VSTD::swap(this->__begin_, __v.__begin_);
928 _VSTD::swap(this->__end_, __v.__end_);
929 _VSTD::swap(this->__end_cap(), __v.__end_cap());
930 __v.__first_ = __v.__begin_;
938 …locator>::__swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v, pointer __p)
941 pointer __r = __v.__begin_;
943 __v.__begin_ = std::__uninitialized_allocator_move_if_noexcept(
944 __alloc(), _RevIter(__p), _RevIter(__begin_), _RevIter(__v.__begin_))
946 … __v.__end_ = std::__uninitialized_allocator_move_if_noexcept(__alloc(), __p, __end_, __v.__end_);
947 _VSTD::swap(this->__begin_, __v.__begin_);
948 _VSTD::swap(this->__end_, __v.__end_);
949 _VSTD::swap(this->__end_cap(), __v.__end_cap());
950 __v.__first_ = __v.__begin_;
1058 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), size(), __a);
1059 __v.__construct_at_end(__n);
1060 __swap_out_circular_buffer(__v);
1078 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), size(), __a);
1079 __v.__construct_at_end(__n, __x);
1080 __swap_out_circular_buffer(__v);
1534 __split_buffer<value_type, allocator_type&> __v(__n, size(), __a);
1535 __swap_out_circular_buffer(__v);
1551 __split_buffer<value_type, allocator_type&> __v(size(), size(), __a);
1552 __swap_out_circular_buffer(__v);
1569 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), __a);
1570 // __v.push_back(_VSTD::forward<_Up>(__x));
1571 __alloc_traits::construct(__a, _VSTD::__to_address(__v.__end_), _VSTD::forward<_Up>(__x));
1572 __v.__end_++;
1573 __swap_out_circular_buffer(__v);
1611 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), __a);
1612 // __v.emplace_back(_VSTD::forward<_Args>(__args)...);
1613 … __alloc_traits::construct(__a, _VSTD::__to_address(__v.__end_), _VSTD::forward<_Args>(__args)...);
1614 __v.__end_++;
1615 __swap_out_circular_buffer(__v);
1737 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1738 __v.push_back(__x);
1739 __p = __swap_out_circular_buffer(__v, __p);
1767 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1768 __v.push_back(_VSTD::move(__x));
1769 __p = __swap_out_circular_buffer(__v, __p);
1799 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1800 __v.emplace_back(_VSTD::forward<_Args>(__args)...);
1801 __p = __swap_out_circular_buffer(__v, __p);
1839 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), __p - this->__begin_, _…
1840 __v.__construct_at_end(__n, __x);
1841 __p = __swap_out_circular_buffer(__v, __p);
1867 __split_buffer<value_type, allocator_type&> __v(__a);
1874 __v.__construct_at_end(__first, __last);
1877 reserve(__recommend(size() + __v.size()));
1890 insert(iterator(this, __p), _VSTD::make_move_iterator(__v.begin()),
1891 _VSTD::make_move_iterator(__v.end()));
1937 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), __p - this->__begin_, _…
1938 __v.__construct_at_end(__first, __last);
1939 __p = __swap_out_circular_buffer(__v, __p);
2171 _LIBCPP_CONSTEXPR_AFTER_CXX17 vector(size_type __n, const value_type& __v);
2172 …_LIBCPP_CONSTEXPR_AFTER_CXX17 vector(size_type __n, const value_type& __v, const allocator_type& _…
2186 _LIBCPP_CONSTEXPR_AFTER_CXX17 vector(const vector& __v);
2187 _LIBCPP_CONSTEXPR_AFTER_CXX17 vector(const vector& __v, const allocator_type& __a);
2188 _LIBCPP_CONSTEXPR_AFTER_CXX17 vector& operator=(const vector& __v);
2201 vector(vector&& __v)
2207 … _LIBCPP_CONSTEXPR_AFTER_CXX17 vector(vector&& __v, const __type_identity_t<allocator_type>& __a);
2209 vector& operator=(vector&& __v)
2427 void __copy_assign_alloc(const vector& __v)
2428 {__copy_assign_alloc(__v, integral_constant<bool,
2767 vector<bool, _Allocator>::vector(const vector& __v)
2770 __cap_alloc_(0, __storage_traits::select_on_container_copy_construction(__v.__alloc()))
2772 if (__v.size() > 0)
2774 __vallocate(__v.size());
2775 __construct_at_end(__v.begin(), __v.end());
2781 vector<bool, _Allocator>::vector(const vector& __v, const allocator_type& __a)
2786 if (__v.size() > 0)
2788 __vallocate(__v.size());
2789 __construct_at_end(__v.begin(), __v.end());
2796 vector<bool, _Allocator>::operator=(const vector& __v)
2798 if (this != _VSTD::addressof(__v))
2800 __copy_assign_alloc(__v);
2801 if (__v.__size_)
2803 if (__v.__size_ > capacity())
2806 __vallocate(__v.__size_);
2808 … _VSTD::copy(__v.__begin_, __v.__begin_ + __external_cap_to_internal(__v.__size_), __begin_);
2810 __size_ = __v.__size_;
2816 …BCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 vector<bool, _Allocator>::vector(vector&& __v)
2822 : __begin_(__v.__begin_),
2823 __size_(__v.__size_),
2824 __cap_alloc_(_VSTD::move(__v.__cap_alloc_)) {
2825 __v.__begin_ = nullptr;
2826 __v.__size_ = 0;
2827 __v.__cap() = 0;
2832 vector<bool, _Allocator>::vector(vector&& __v, const __type_identity_t<allocator_type>& __a)
2837 if (__a == allocator_type(__v.__alloc()))
2839 this->__begin_ = __v.__begin_;
2840 this->__size_ = __v.__size_;
2841 this->__cap() = __v.__cap();
2842 __v.__begin_ = nullptr;
2843 __v.__cap() = __v.__size_ = 0;
2845 else if (__v.size() > 0)
2847 __vallocate(__v.size());
2848 __construct_at_end(__v.begin(), __v.end());
2855 vector<bool, _Allocator>::operator=(vector&& __v)
2858 __move_assign(__v, integral_constant<bool,
2899 vector __v(get_allocator());
2900 __v.reserve(__recommend(__n));
2901 __v.__size_ = __n;
2902 swap(__v);
2954 vector __v(this->get_allocator());
2955 __v.__vallocate(__n);
2956 __v.__construct_at_end(this->begin(), this->end());
2957 swap(__v);
3024 vector __v(get_allocator());
3025 __v.reserve(__recommend(__size_ + 1));
3026 __v.__size_ = __size_ + 1;
3027 __r = _VSTD::copy(cbegin(), __position, __v.begin());
3028 _VSTD::copy_backward(__position, cend(), __v.end());
3029 swap(__v);
3050 vector __v(get_allocator());
3051 __v.reserve(__recommend(__size_ + __n));
3052 __v.__size_ = __size_ + __n;
3053 __r = _VSTD::copy(cbegin(), __position, __v.begin());
3054 _VSTD::copy_backward(__position, cend(), __v.end());
3055 swap(__v);
3076 vector __v(get_allocator());
3083 __v.assign(__first, __last);
3086 reserve(__recommend(size() + __v.size()));
3099 insert(__p, __v.begin(), __v.end());
3127 vector __v(get_allocator());
3128 __v.reserve(__recommend(__size_ + __n));
3129 __v.__size_ = __size_ + __n;
3130 __r = _VSTD::copy(cbegin(), __position, __v.begin());
3131 _VSTD::copy_backward(__position, cend(), __v.end());
3132 swap(__v);
3195 vector __v(get_allocator());
3196 __v.reserve(__recommend(__size_ + __n));
3197 __v.__size_ = __size_ + __n;
3198 __r = _VSTD::copy(cbegin(), cend(), __v.begin());
3199 swap(__v);
3342 erase(vector<_Tp, _Allocator>& __c, const _Up& __v) {
3344 __c.erase(_VSTD::remove(__c.begin(), __c.end(), __v), __c.end());