Lines Matching refs:__end_
59 pointer __end_;
90 …TEXPR_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY iterator end() _NOEXCEPT {return __end_;}
91 …TEXPR_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY const_iterator end() const _NOEXCEPT {return __end_;}
96 …LIBCPP_INLINE_VISIBILITY size_type size() const {return static_cast<size_type>(__end_ - __begin_);}
97 …_LIBCPP_CONSTEXPR_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY bool empty() const {return __end_ == _…
100 …NE_VISIBILITY size_type __back_spare() const {return static_cast<size_type>(__end_cap() - __end_);}
104 …NSTEXPR_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY reference back() {return *(__end_ - 1);}
105 …NSTEXPR_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY const_reference back() const {return *(__end_ - 1);}
117 …BCPP_CONSTEXPR_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY void pop_back() {__destruct_at_end(__end_-1);}
163 : __pos_(*__p), __end_(*__p + __n), __dest_(__p) {
169 const pointer __end_;
184 if (__end_ != nullptr)
193 if (__end_ < __begin_)
195 if (__end_cap() < __end_)
201 // Default constructs __n objects starting at __end_
211 _ConstructTransaction __tx(&this->__end_, __n);
212 for (; __tx.__pos_ != __tx.__end_; ++__tx.__pos_) {
217 // Copy constructs __n objects starting at __end_ from __x
228 _ConstructTransaction __tx(&this->__end_, __n);
229 for (; __tx.__pos_ != __tx.__end_; ++__tx.__pos_) {
243 if (__end_ == __end_cap())
248 for (pointer __p = __begin_; __p != __end_; ++__p, (void) ++__buf.__end_)
250 _VSTD::__to_address(__buf.__end_), _VSTD::move(*__p));
253 __alloc_traits::construct(__a, _VSTD::__to_address(this->__end_), *__first);
254 ++this->__end_;
263 _ConstructTransaction __tx(&this->__end_, _VSTD::distance(__first, __last));
264 for (; __tx.__pos_ != __tx.__end_; ++__tx.__pos_, (void) ++__first) {
295 while (__new_last != __end_)
296 __alloc_traits::destroy(__alloc(), _VSTD::__to_address(--__end_));
305 __end_ = __new_last;
320 __begin_ = __end_ = __first_ + __start;
329 … : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __default_init_tag())
337 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a)
345 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a)
364 __end_(_VSTD::move(__c.__end_)),
369 __c.__end_ = nullptr;
382 __end_ = __c.__end_;
386 __c.__end_ = nullptr;
393 __begin_ = __end_ = __first_;
412 __end_ = __c.__end_;
417 __c.__first_ = __c.__begin_ = __c.__end_ = __c.__end_cap() = nullptr;
430 _VSTD::swap(__end_, __x.__end_);
444 move_iterator<pointer>(__end_));
447 _VSTD::swap(__end_, __t.__end_);
465 move_iterator<pointer>(__end_));
466 __t.__end_ = __t.__begin_ + (__end_ - __begin_);
469 _VSTD::swap(__end_, __t.__end_);
487 if (__end_ < __end_cap())
489 difference_type __d = __end_cap() - __end_;
491 __begin_ = _VSTD::move_backward(__begin_, __end_, __end_ + __d);
492 __end_ += __d;
499 move_iterator<pointer>(__end_));
502 _VSTD::swap(__end_, __t.__end_);
517 if (__end_ < __end_cap())
519 difference_type __d = __end_cap() - __end_;
521 __begin_ = _VSTD::move_backward(__begin_, __end_, __end_ + __d);
522 __end_ += __d;
529 move_iterator<pointer>(__end_));
532 _VSTD::swap(__end_, __t.__end_);
547 if (__end_ == __end_cap())
553 __end_ = _VSTD::move(__begin_, __end_, __begin_ - __d);
561 move_iterator<pointer>(__end_));
564 _VSTD::swap(__end_, __t.__end_);
568 __alloc_traits::construct(__alloc(), _VSTD::__to_address(__end_), __x);
569 ++__end_;
577 if (__end_ == __end_cap())
583 __end_ = _VSTD::move(__begin_, __end_, __begin_ - __d);
591 move_iterator<pointer>(__end_));
594 _VSTD::swap(__end_, __t.__end_);
598 __alloc_traits::construct(__alloc(), _VSTD::__to_address(__end_),
600 ++__end_;
609 if (__end_ == __end_cap())
615 __end_ = _VSTD::move(__begin_, __end_, __begin_ - __d);
623 move_iterator<pointer>(__end_));
626 _VSTD::swap(__end_, __t.__end_);
630 __alloc_traits::construct(__alloc(), _VSTD::__to_address(__end_),
632 ++__end_;