Lines Matching refs:__begin_
49 // __split_buffer allocates a contiguous chunk of memory and stores objects in the range [__begin_,…
50 // It has uninitialized memory in the ranges [__first_, __begin_) and [__end_, __end_cap_.first())…
79 pointer __begin_;
91 …: __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __default_init_tag())…
94 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a) {}
97 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a) {}
124 …_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator begin() _NOEXCEPT { return __begin_; }
125 …TEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_iterator begin() const _NOEXCEPT { return __begin_; }
130 …CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void clear() _NOEXCEPT { __destruct_at_end(__begin_); }
133 return static_cast<size_type>(__end_ - __begin_);
136 …IBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI bool empty() const { return __end_ == __begin_; }
143 return static_cast<size_type>(__begin_ - __first_);
150 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI reference front() { return *__begin_; }
151 …CPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_reference front() const { return *__begin_; }
165 …CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void pop_front() { __destruct_at_begin(__begin_ + 1); }
233 if (__begin_ != nullptr)
240 if (__begin_ < __first_)
242 if (__end_ < __begin_)
295 for (pointer __p = __begin_; __p != __end_; ++__p, (void)++__buf.__end_)
323 while (__begin_ != __new_begin)
324 __alloc_traits::destroy(__alloc(), std::__to_address(__begin_++));
330 __begin_ = __new_begin;
357 __begin_ = __end_ = __first_ + __start;
372 __begin_(std::move(__c.__begin_)),
376 __c.__begin_ = nullptr;
387 __begin_ = __c.__begin_;
391 __c.__begin_ = nullptr;
397 __begin_ = __end_ = __first_;
413 __begin_ = __c.__begin_;
417 __c.__first_ = __c.__begin_ = __c.__end_ = __c.__end_cap() = nullptr;
425 std::swap(__begin_, __x.__begin_);
435 __t.__construct_at_end(move_iterator<pointer>(__begin_), move_iterator<pointer>(__end_));
437 std::swap(__begin_, __t.__begin_);
450 __t.__construct_at_end(move_iterator<pointer>(__begin_), move_iterator<pointer>(__end_));
451 __t.__end_ = __t.__begin_ + (__end_ - __begin_);
453 std::swap(__begin_, __t.__begin_);
465 if (__begin_ == __first_) {
469 __begin_ = std::move_backward(__begin_, __end_, __end_ + __d);
474 __t.__construct_at_end(move_iterator<pointer>(__begin_), move_iterator<pointer>(__end_));
476 std::swap(__begin_, __t.__begin_);
481 __alloc_traits::construct(__alloc(), std::__to_address(__begin_ - 1), __x);
482 --__begin_;
487 if (__begin_ == __first_) {
491 __begin_ = std::move_backward(__begin_, __end_, __end_ + __d);
496 __t.__construct_at_end(move_iterator<pointer>(__begin_), move_iterator<pointer>(__end_));
498 std::swap(__begin_, __t.__begin_);
503 __alloc_traits::construct(__alloc(), std::__to_address(__begin_ - 1), std::move(__x));
504 --__begin_;
511 if (__begin_ > __first_) {
512 difference_type __d = __begin_ - __first_;
514 __end_ = std::move(__begin_, __end_, __begin_ - __d);
515 __begin_ -= __d;
519 __t.__construct_at_end(move_iterator<pointer>(__begin_), move_iterator<pointer>(__end_));
521 std::swap(__begin_, __t.__begin_);
533 if (__begin_ > __first_) {
534 difference_type __d = __begin_ - __first_;
536 __end_ = std::move(__begin_, __end_, __begin_ - __d);
537 __begin_ -= __d;
541 __t.__construct_at_end(move_iterator<pointer>(__begin_), move_iterator<pointer>(__end_));
543 std::swap(__begin_, __t.__begin_);
556 if (__begin_ > __first_) {
557 difference_type __d = __begin_ - __first_;
559 __end_ = std::move(__begin_, __end_, __begin_ - __d);
560 __begin_ -= __d;
564 __t.__construct_at_end(move_iterator<pointer>(__begin_), move_iterator<pointer>(__end_));
566 std::swap(__begin_, __t.__begin_);