Lines Matching refs:__begin_
529 if (__vec_.__begin_ != nullptr) {
532 __alloc_traits::deallocate(__vec_.__alloc(), __vec_.__begin_, __vec_.capacity());
635 return static_cast<size_type>(this->__end_ - this->__begin_);
638 return static_cast<size_type>(__end_cap() - this->__begin_);
641 return this->__begin_ == this->__end_;
654 return *this->__begin_;
658 return *this->__begin_;
670 return std::__to_address(this->__begin_);
674 return std::__to_address(this->__begin_);
766 pointer __begin_ = nullptr;
774 // Precondition: __begin_ == __end_ == __end_cap() == 0
782 __begin_ = __allocation.ptr;
784 __end_cap() = __begin_ + __allocation.count;
852 std::__wrap_iter<pointer>(this->__begin_),
864 std::__wrap_iter<const_pointer>(this->__begin_),
945 __v_.__annotate_shrink(__new_end_ - __v_.__begin_);
979 __base_destruct_at_end(this->__begin_);
1007 __alloc_traits::deallocate(__alloc(), this->__begin_, capacity());
1008 this->__begin_ = this->__end_ = __end_cap() = nullptr;
1044 // __swap_out_circular_buffer relocates the objects in [__begin_, __end_) into the front of __v and…
1045 // *this and __v. It is assumed that __v provides space for exactly (__end_ - __begin_) objects in …
1051 auto __new_begin = __v.__begin_ - (__end_ - __begin_);
1053 …__alloc(), std::__to_address(__begin_), std::__to_address(__end_), std::__to_address(__new_begin));
1054 __v.__begin_ = __new_begin;
1055 __end_ = __begin_; // All the objects have been destroyed by relocating them.
1056 std::swap(this->__begin_, __v.__begin_);
1059 __v.__first_ = __v.__begin_;
1063 // __swap_out_circular_buffer relocates the objects in [__begin_, __p) into the front of __v, the o…
1065 // exactly (__p - __begin_) objects in the front and space for at least (__end_ - __p) objects in t…
1066 // function has a strong exception guarantee if __begin_ == __p || __end_ == __p.
1071 pointer __ret = __v.__begin_;
1073 // Relocate [__p, __end_) first to avoid having a hole in [__begin_, __end_)
1074 // in case something in [__begin_, __p) throws.
1079 auto __new_begin = __v.__begin_ - (__p - __begin_);
1082 … __alloc(), std::__to_address(__begin_), std::__to_address(__p), std::__to_address(__new_begin));
1083 __v.__begin_ = __new_begin;
1084 __end_ = __begin_; // All the objects have been destroyed by relocating them.
1086 std::swap(this->__begin_, __v.__begin_);
1089 __v.__first_ = __v.__begin_;
1096 if (this->__begin_ != nullptr) {
1099 __alloc_traits::deallocate(this->__alloc(), this->__begin_, capacity());
1100 this->__begin_ = this->__end_ = this->__end_cap() = nullptr;
1238 __init_with_size(__x.__begin_, __x.__end_, __x.size());
1245 __init_with_size(__x.__begin_, __x.__end_, __x.size());
1256 this->__begin_ = __x.__begin_;
1259 __x.__begin_ = __x.__end_ = __x.__end_cap() = nullptr;
1267 this->__begin_ = __x.__begin_;
1270 __x.__begin_ = __x.__end_ = __x.__end_cap() = nullptr;
1329 this->__begin_ = __c.__begin_;
1332 __c.__begin_ = __c.__end_ = __c.__end_cap() = nullptr;
1340 assign(__x.__begin_, __x.__end_);
1380 std::copy(__first, __mid, this->__begin_);
1383 pointer __m = std::__copy<_ClassicAlgPolicy>(__first, __last, this->__begin_).second;
1397 std::fill_n(this->__begin_, std::min(__n, __s), __u);
1401 this->__destruct_at_end(this->__begin_ + __n);
1412 return __make_iter(this->__begin_);
1418 return __make_iter(this->__begin_);
1437 return this->__begin_[__n];
1444 return this->__begin_[__n];
1451 return this->__begin_[__n];
1459 return this->__begin_[__n];
1578 pointer __p = this->__begin_ + __ps;
1587 pointer __p = this->__begin_ + (__first - begin());
1612 pointer __p = this->__begin_ + (__position - begin());
1625 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1635 pointer __p = this->__begin_ + (__position - begin());
1645 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1656 pointer __p = this->__begin_ + (__position - begin());
1667 …__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), __p - this->__begin_, __a…
1677 pointer __p = this->__begin_ + (__position - begin());
1697 …plit_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), __p - this->__begin_, __a);
1719 pointer __p = this->__begin_ + __off;
1731 difference_type __old_size = __old_last - this->__begin_;
1732 difference_type __old_p = __p - this->__begin_;
1734 __p = this->__begin_ + __old_p;
1735 __old_last = this->__begin_ + __old_size;
1764 pointer __p = this->__begin_ + (__position - begin());
1784 …plit_buffer<value_type, allocator_type&> __v(__recommend(size() + __n), __p - this->__begin_, __a);
1798 this->__destruct_at_end(this->__begin_ + __sz);
1807 this->__destruct_at_end(this->__begin_ + __sz);
1822 std::swap(this->__begin_, __x.__begin_);
1831 if (this->__begin_ == nullptr) {
1835 if (this->__begin_ > this->__end_)
1837 if (this->__begin_ == this->__end_cap())
1881 __storage_pointer __begin_;
1933 if (__vec_.__begin_ != nullptr)
1934 __storage_traits::deallocate(__vec_.__alloc(), __vec_.__begin_, __vec_.__cap());
1965 : __begin_(nullptr), __size_(0), __cap_alloc_(0, static_cast<__storage_allocator>(__a)) {
2195 if (__begin_ != nullptr)
2196 __storage_traits::deallocate(__alloc(), __begin_, __cap());
2220 // Precondition: __begin_ == __end_ == __cap() == 0
2228 __begin_ = __allocation.ptr;
2233 std::__construct_at(std::__to_address(__begin_) + __i);
2248 …return reference(__begin_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per_word);
2252 __begin_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per_word);
2255 …return iterator(__begin_ + __pos / __bits_per_word, static_cast<unsigned>(__pos % __bits_per_word)…
2258 …return const_iterator(__begin_ + __pos / __bits_per_word, static_cast<unsigned>(__pos % __bits_per…
2304 if (this->__begin_ != nullptr) {
2305 __storage_traits::deallocate(this->__alloc(), this->__begin_, __cap());
2306 this->__begin_ = nullptr;
2345 this->__begin_[0] = __storage_type(0);
2347 this->__begin_[(this->__size_ - 1) / __bits_per_word] = __storage_type(0);
2360 this->__begin_[0] = __storage_type(0);
2362 this->__begin_[(this->__size_ - 1) / __bits_per_word] = __storage_type(0);
2370 : __begin_(nullptr), __size_(0), __cap_alloc_(0, __default_init_tag()) {}
2379 : __begin_(nullptr), __size_(0), __cap_alloc_(0, static_cast<__storage_allocator>(__a)) {
2384 : __begin_(nullptr), __size_(0), __cap_alloc_(0, __default_init_tag()) {
2394 : __begin_(nullptr), __size_(0), __cap_alloc_(0, static_cast<__storage_allocator>(__a)) {
2404 : __begin_(nullptr), __size_(0), __cap_alloc_(0, __default_init_tag()) {
2414 : __begin_(nullptr), __size_(0), __cap_alloc_(0, static_cast<__storage_allocator>(__a)) {
2424 : __begin_(nullptr), __size_(0), __cap_alloc_(0, __default_init_tag()) {
2432 : __begin_(nullptr), __size_(0), __cap_alloc_(0, static_cast<__storage_allocator>(__a)) {
2439 : __begin_(nullptr), __size_(0), __cap_alloc_(0, __default_init_tag()) {
2448 : __begin_(nullptr), __size_(0), __cap_alloc_(0, static_cast<__storage_allocator>(__a)) {
2457 : __begin_(nullptr), __size_(0), __cap_alloc_(0, __default_init_tag()) {
2468 : __begin_(nullptr), __size_(0), __cap_alloc_(0, static_cast<__storage_allocator>(__a)) {
2480 : __begin_(nullptr),
2491 : __begin_(nullptr), __size_(0), __cap_alloc_(0, __a) {
2507 std::copy(__v.__begin_, __v.__begin_ + __external_cap_to_internal(__v.__size_), __begin_);
2521 : __begin_(__v.__begin_),
2524 __v.__begin_ = nullptr;
2532 : __begin_(nullptr), __size_(0), __cap_alloc_(0, __a) {
2534 this->__begin_ = __v.__begin_;
2537 __v.__begin_ = nullptr;
2566 this->__begin_ = __c.__begin_;
2569 __c.__begin_ = nullptr;
2821 std::swap(this->__begin_, __x.__begin_);
2854 __storage_pointer __p = __begin_;
2868 if (this->__begin_ == nullptr) {
2885 __storage_pointer __p = __begin_;