• Home
  • Raw
  • Download

Lines Matching refs:__v

785     void __swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v);
786 … pointer __swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v, pointer __p);
862 __RAII_IncreaseAnnotator(const vector &__v, size_type __n = 1)
863 : __commit(false), __v(__v), __old_size(__v.size() + __n) {
864 __v.__annotate_increase(__n);
869 __v.__annotate_shrink(__old_size);
872 const vector &__v;
886 …ctor<_Tp, _Allocator>::__swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v)
889 … __alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
890 _VSTD::swap(this->__begin_, __v.__begin_);
891 _VSTD::swap(this->__end_, __v.__end_);
892 _VSTD::swap(this->__end_cap(), __v.__end_cap());
893 __v.__first_ = __v.__begin_;
900 …locator>::__swap_out_circular_buffer(__split_buffer<value_type, allocator_type&>& __v, pointer __p)
903 pointer __r = __v.__begin_;
904 __alloc_traits::__construct_backward(this->__alloc(), this->__begin_, __p, __v.__begin_);
905 __alloc_traits::__construct_forward(this->__alloc(), __p, this->__end_, __v.__end_);
906 _VSTD::swap(this->__begin_, __v.__begin_);
907 _VSTD::swap(this->__end_, __v.__end_);
908 _VSTD::swap(this->__end_cap(), __v.__end_cap());
909 __v.__first_ = __v.__begin_;
1037 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), size(), __a);
1038 __v.__construct_at_end(__n);
1039 __swap_out_circular_buffer(__v);
1056 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), size(), __a);
1057 __v.__construct_at_end(__n, __x);
1058 __swap_out_circular_buffer(__v);
1534 __split_buffer<value_type, allocator_type&> __v(__n, size(), __a);
1535 __swap_out_circular_buffer(__v);
1550 __split_buffer<value_type, allocator_type&> __v(size(), size(), __a);
1551 __swap_out_circular_buffer(__v);
1571 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), __a);
1572 // __v.push_back(_VSTD::forward<_Up>(__x));
1573 __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Up>(__x));
1574 __v.__end_++;
1575 __swap_out_circular_buffer(__v);
1623 __split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), __a);
1624 // __v.emplace_back(_VSTD::forward<_Args>(__args)...);
1625 …__alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Args>(__args).…
1626 __v.__end_++;
1627 __swap_out_circular_buffer(__v);
1742 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1743 __v.push_back(__x);
1744 __p = __swap_out_circular_buffer(__v, __p);
1781 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1782 __v.push_back(_VSTD::move(__x));
1783 __p = __swap_out_circular_buffer(__v, __p);
1822 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1823 __v.emplace_back(_VSTD::forward<_Args>(__args)...);
1824 __p = __swap_out_circular_buffer(__v, __p);
1868 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), __p - this->__begin_, _…
1869 __v.__construct_at_end(__n, __x);
1870 __p = __swap_out_circular_buffer(__v, __p);
1906 __split_buffer<value_type, allocator_type&> __v(__a);
1913 __v.__construct_at_end(__first, __last);
1916 reserve(__recommend(size() + __v.size()));
1929 insert(__make_iter(__p), make_move_iterator(__v.begin()),
1930 make_move_iterator(__v.end()));
1980 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), __p - this->__begin_, _…
1981 __v.__construct_at_end(__first, __last);
1982 __p = __swap_out_circular_buffer(__v, __p);
2180 vector(size_type __n, const value_type& __v);
2181 vector(size_type __n, const value_type& __v, const allocator_type& __a);
2197 vector(const vector& __v);
2198 vector(const vector& __v, const allocator_type& __a);
2199 vector& operator=(const vector& __v);
2207 vector(vector&& __v)
2213 vector(vector&& __v, const allocator_type& __a);
2215 vector& operator=(vector&& __v)
2406 void __copy_assign_alloc(const vector& __v)
2407 {__copy_assign_alloc(__v, integral_constant<bool,
2751 vector<bool, _Allocator>::vector(const vector& __v)
2754 __cap_alloc_(0, __storage_traits::select_on_container_copy_construction(__v.__alloc()))
2756 if (__v.size() > 0)
2758 allocate(__v.size());
2759 __construct_at_end(__v.begin(), __v.end());
2764 vector<bool, _Allocator>::vector(const vector& __v, const allocator_type& __a)
2769 if (__v.size() > 0)
2771 allocate(__v.size());
2772 __construct_at_end(__v.begin(), __v.end());
2778 vector<bool, _Allocator>::operator=(const vector& __v)
2780 if (this != &__v)
2782 __copy_assign_alloc(__v);
2783 if (__v.__size_)
2785 if (__v.__size_ > capacity())
2788 allocate(__v.__size_);
2790 … _VSTD::copy(__v.__begin_, __v.__begin_ + __external_cap_to_internal(__v.__size_), __begin_);
2792 __size_ = __v.__size_;
2801 vector<bool, _Allocator>::vector(vector&& __v)
2807 : __begin_(__v.__begin_),
2808 __size_(__v.__size_),
2809 __cap_alloc_(__v.__cap_alloc_)
2811 __v.__begin_ = nullptr;
2812 __v.__size_ = 0;
2813 __v.__cap() = 0;
2817 vector<bool, _Allocator>::vector(vector&& __v, const allocator_type& __a)
2822 if (__a == allocator_type(__v.__alloc()))
2824 this->__begin_ = __v.__begin_;
2825 this->__size_ = __v.__size_;
2826 this->__cap() = __v.__cap();
2827 __v.__begin_ = nullptr;
2828 __v.__cap() = __v.__size_ = 0;
2830 else if (__v.size() > 0)
2832 allocate(__v.size());
2833 __construct_at_end(__v.begin(), __v.end());
2840 vector<bool, _Allocator>::operator=(vector&& __v)
2845 __move_assign(__v, integral_constant<bool,
2888 vector __v(__alloc());
2889 __v.reserve(__recommend(__n));
2890 __v.__size_ = __n;
2891 swap(__v);
2940 vector __v(this->__alloc());
2941 __v.allocate(__n);
2942 __v.__construct_at_end(this->begin(), this->end());
2943 swap(__v);
3010 vector __v(__alloc());
3011 __v.reserve(__recommend(__size_ + 1));
3012 __v.__size_ = __size_ + 1;
3013 __r = _VSTD::copy(cbegin(), __position, __v.begin());
3014 _VSTD::copy_backward(__position, cend(), __v.end());
3015 swap(__v);
3036 vector __v(__alloc());
3037 __v.reserve(__recommend(__size_ + __n));
3038 __v.__size_ = __size_ + __n;
3039 __r = _VSTD::copy(cbegin(), __position, __v.begin());
3040 _VSTD::copy_backward(__position, cend(), __v.end());
3041 swap(__v);
3065 vector __v(__alloc());
3072 __v.assign(__first, __last);
3075 reserve(__recommend(size() + __v.size()));
3088 insert(__p, __v.begin(), __v.end());
3113 vector __v(__alloc());
3114 __v.reserve(__recommend(__size_ + __n));
3115 __v.__size_ = __size_ + __n;
3116 __r = _VSTD::copy(cbegin(), __position, __v.begin());
3117 _VSTD::copy_backward(__position, cend(), __v.end());
3118 swap(__v);
3180 vector __v(__alloc());
3181 __v.reserve(__recommend(__size_ + __n));
3182 __v.__size_ = __size_ + __n;
3183 __r = _VSTD::copy(cbegin(), cend(), __v.begin());
3184 swap(__v);