Home | History | Annotate | Download | only in include

Lines Matching full:__end_

48     pointer                                         __end_;
78 _LIBCPP_INLINE_VISIBILITY iterator end() _NOEXCEPT {return __end_;}
79 _LIBCPP_INLINE_VISIBILITY const_iterator end() const _NOEXCEPT {return __end_;}
84 _LIBCPP_INLINE_VISIBILITY size_type size() const {return static_cast<size_type>(__end_ - __begin_);}
85 _LIBCPP_INLINE_VISIBILITY bool empty() const {return __end_ == __begin_;}
88 _LIBCPP_INLINE_VISIBILITY size_type __back_spare() const {return static_cast<size_type>(__end_cap() - __end_);}
92 _LIBCPP_INLINE_VISIBILITY reference back() {return *(__end_ - 1);}
93 _LIBCPP_INLINE_VISIBILITY const_reference back() const {return *(__end_ - 1);}
109 _LIBCPP_INLINE_VISIBILITY void pop_back() {__destruct_at_end(__end_-1);}
188 if (__end_ != nullptr)
197 if (__end_ < __begin_)
199 if (__end_cap() < __end_)
205 // Default constructs __n objects starting at __end_
217 __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(this->__end_));
218 ++this->__end_;
223 // Copy constructs __n objects starting at __end_ from __x
236 __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(this->__end_), __x);
237 ++this->__end_;
255 if (__end_ == __end_cap())
260 for (pointer __p = __begin_; __p != __end_; ++__p, ++__buf.__end_)
262 _VSTD::__to_raw_pointer(__buf.__end_), _VSTD::move(*__p));
265 __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(this->__end_), *__first);
266 ++this->__end_;
282 __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(this->__end_), *__first);
283 ++this->__end_;
309 while (__new_last != __end_)
310 __alloc_traits::destroy(__alloc(), --__end_);
318 __end_ = __new_last;
326 __begin_ = __end_ = __first_ + __start;
334 : __first_(0), __begin_(0), __end_(0), __end_cap_(0)
341 : __first_(0), __begin_(0), __end_(0), __end_cap_(0, __a)
348 : __first_(0), __begin_(0), __end_(0), __end_cap_(0, __a)
367 __end_(_VSTD::move(__c.__end_)),
372 __c.__end_ = nullptr;
384 __end_ = __c.__end_;
388 __c.__end_ = nullptr;
395 __begin_ = __end_ = __first_;
413 __end_ = __c.__end_;
418 __c.__first_ = __c.__begin_ = __c.__end_ = __c.__end_cap() = nullptr;
432 _VSTD::swap(__end_, __x.__end_);
445 move_iterator<pointer>(__end_));
448 _VSTD::swap(__end_, __t.__end_);
465 move_iterator<pointer>(__end_));
466 __t.__end_ = __t.__begin_ + (__end_ - __begin_);
469 _VSTD::swap(__end_, __t.__end_);
486 if (__end_ < __end_cap())
488 difference_type __d = __end_cap() - __end_;
490 __begin_ = _VSTD::move_backward(__begin_, __end_, __end_ + __d);
491 __end_ += __d;
498 move_iterator<pointer>(__end_));
501 _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_);
548 if (__end_ == __end_cap())
554 __end_ = _VSTD::move(__begin_, __end_, __begin_ - __d);
562 move_iterator<pointer>(__end_));
565 _VSTD::swap(__end_, __t.__end_);
569 __alloc_traits::construct(__alloc(), _VSTD::__to_raw_pointer(__end_), __x);
570 ++__end_;
579 if (__end_ == __end_cap())
585 __end_ = _VSTD::move(__begin_, __end_, __begin_ - __d);
593 move_iterator<pointer>(__end_));
596 _VSTD::swap(__end_, __t.__end_);
600 __alloc_traits::construct(__alloc(), _VSTD::__to_raw_pointer(__end_),
602 ++__end_;
612 if (__end_ == __end_cap())
618 __end_ = _VSTD::move(__begin_, __end_, __begin_ - __d);
626 move_iterator<pointer>(__end_));
629 _VSTD::swap(__end_, __t.__end_);
633 __alloc_traits::construct(__alloc(), _VSTD::__to_raw_pointer(__end_),
635 ++__end_;