Lines Matching refs:__v

793     void __swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v);
794 … pointer __swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v, pointer __p);
870 __RAII_IncreaseAnnotator(const vector &__v, size_type __n = 1)
871 : __commit(false), __v(__v), __n(__n) {
872 __v.__annotate_increase(__n);
877 __v.__annotate_shrink(__v.size() + __n);
881 const vector &__v;
894 …ctor<_Tp, _Allocator>::__swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v)
897 … __alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
898 _VSTD::swap(this->__begin_, __v.__begin_);
899 _VSTD::swap(this->__end_, __v.__end_);
900 _VSTD::swap(this->__end_cap(), __v.__end_cap());
901 __v.__first_ = __v.__begin_;
908 …locator>::__swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v, pointer __p)
911 pointer __r = __v.__begin_;
912 __alloc_traits::__construct_backward(this->__alloc(), this->__begin_, __p, __v.__begin_);
913 __alloc_traits::__construct_forward(this->__alloc(), __p, this->__end_, __v.__end_);
914 _VSTD::swap(this->__begin_, __v.__begin_);
915 _VSTD::swap(this->__end_, __v.__end_);
916 _VSTD::swap(this->__end_cap(), __v.__end_cap());
917 __v.__first_ = __v.__begin_;
1049 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), size(), __a);
1050 __v.__construct_at_end(__n);
1051 __swap_out_circular_buffer(__v);
1068 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), size(), __a);
1069 __v.__construct_at_end(__n, __x);
1070 __swap_out_circular_buffer(__v);
1542 __split_buffer<value_type, allocator_type&> __v(__n, size(), __a);
1543 __swap_out_circular_buffer(__v);
1558 __split_buffer<value_type, allocator_type&> __v(size(), size(), __a);
1559 __swap_out_circular_buffer(__v);
1579 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), __a);
1580 // __v.push_back(_VSTD::forward<_Up>(__x));
1581 __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Up>(__x));
1582 __v.__end_++;
1583 __swap_out_circular_buffer(__v);
1631 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), __a);
1632 // __v.emplace_back(_VSTD::forward<_Args>(__args)...);
1633 …__alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Args>(__args).…
1634 __v.__end_++;
1635 __swap_out_circular_buffer(__v);
1750 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1751 __v.push_back(__x);
1752 __p = __swap_out_circular_buffer(__v, __p);
1789 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1790 __v.push_back(_VSTD::move(__x));
1791 __p = __swap_out_circular_buffer(__v, __p);
1830 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1831 __v.emplace_back(_VSTD::forward<_Args>(__args)...);
1832 __p = __swap_out_circular_buffer(__v, __p);
1876 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), __p - this->__begin_, _…
1877 __v.__construct_at_end(__n, __x);
1878 __p = __swap_out_circular_buffer(__v, __p);
1912 __split_buffer<value_type, allocator_type&> __v(__a);
1919 __v.__construct_at_end(__first, __last);
1922 reserve(__recommend(size() + __v.size()));
1935 insert(__make_iter(__p), make_move_iterator(__v.begin()),
1936 make_move_iterator(__v.end()));
1985 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), __p - this->__begin_, _…
1986 __v.__construct_at_end(__first, __last);
1987 __p = __swap_out_circular_buffer(__v, __p);
2181 vector(size_type __n, const value_type& __v);
2182 vector(size_type __n, const value_type& __v, const allocator_type& __a);
2198 vector(const vector& __v);
2199 vector(const vector& __v, const allocator_type& __a);
2200 vector& operator=(const vector& __v);
2208 vector(vector&& __v)
2210 vector(vector&& __v, const allocator_type& __a);
2212 vector& operator=(vector&& __v)
2399 void __copy_assign_alloc(const vector& __v)
2400 {__copy_assign_alloc(__v, integral_constant<bool,
2759 vector<bool, _Allocator>::vector(const vector& __v)
2762 __cap_alloc_(0, __storage_traits::select_on_container_copy_construction(__v.__alloc()))
2764 if (__v.size() > 0)
2766 allocate(__v.size());
2767 __construct_at_end(__v.begin(), __v.end());
2772 vector<bool, _Allocator>::vector(const vector& __v, const allocator_type& __a)
2777 if (__v.size() > 0)
2779 allocate(__v.size());
2780 __construct_at_end(__v.begin(), __v.end());
2786 vector<bool, _Allocator>::operator=(const vector& __v)
2788 if (this != &__v)
2790 __copy_assign_alloc(__v);
2791 if (__v.__size_)
2793 if (__v.__size_ > capacity())
2796 allocate(__v.__size_);
2798 … _VSTD::copy(__v.__begin_, __v.__begin_ + __external_cap_to_internal(__v.__size_), __begin_);
2800 __size_ = __v.__size_;
2809 vector<bool, _Allocator>::vector(vector&& __v)
2811 : __begin_(__v.__begin_),
2812 __size_(__v.__size_),
2813 __cap_alloc_(__v.__cap_alloc_)
2815 __v.__begin_ = nullptr;
2816 __v.__size_ = 0;
2817 __v.__cap() = 0;
2821 vector<bool, _Allocator>::vector(vector&& __v, const allocator_type& __a)
2826 if (__a == allocator_type(__v.__alloc()))
2828 this->__begin_ = __v.__begin_;
2829 this->__size_ = __v.__size_;
2830 this->__cap() = __v.__cap();
2831 __v.__begin_ = nullptr;
2832 __v.__cap() = __v.__size_ = 0;
2834 else if (__v.size() > 0)
2836 allocate(__v.size());
2837 __construct_at_end(__v.begin(), __v.end());
2844 vector<bool, _Allocator>::operator=(vector&& __v)
2849 __move_assign(__v, integral_constant<bool,
2892 vector __v(__alloc());
2893 __v.reserve(__recommend(__n));
2894 __v.__size_ = __n;
2895 swap(__v);
2944 vector __v(this->__alloc());
2945 __v.allocate(__n);
2946 __v.__construct_at_end(this->begin(), this->end());
2947 swap(__v);
3014 vector __v(__alloc());
3015 __v.reserve(__recommend(__size_ + 1));
3016 __v.__size_ = __size_ + 1;
3017 __r = _VSTD::copy(cbegin(), __position, __v.begin());
3018 _VSTD::copy_backward(__position, cend(), __v.end());
3019 swap(__v);
3040 vector __v(__alloc());
3041 __v.reserve(__recommend(__size_ + __n));
3042 __v.__size_ = __size_ + __n;
3043 __r = _VSTD::copy(cbegin(), __position, __v.begin());
3044 _VSTD::copy_backward(__position, cend(), __v.end());
3045 swap(__v);
3069 vector __v(__alloc());
3076 __v.assign(__first, __last);
3079 reserve(__recommend(size() + __v.size()));
3092 insert(__p, __v.begin(), __v.end());
3117 vector __v(__alloc());
3118 __v.reserve(__recommend(__size_ + __n));
3119 __v.__size_ = __size_ + __n;
3120 __r = _VSTD::copy(cbegin(), __position, __v.begin());
3121 _VSTD::copy_backward(__position, cend(), __v.end());
3122 swap(__v);
3179 vector __v(__alloc());
3180 __v.reserve(__recommend(__size_ + __n));
3181 __v.__size_ = __size_ + __n;
3182 __r = _VSTD::copy(cbegin(), cend(), __v.begin());
3183 swap(__v);