Lines Matching refs:__first_

49 // It has uninitialized memory in the ranges  [__first_, __begin_) and [__end_, __end_cap_.first())…
68 pointer __first_;
81 …: __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __default_init_tag())…
84 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a) {}
87 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a) {}
129 return static_cast<size_type>(__end_cap() - __first_);
133 return static_cast<size_type>(__begin_ - __first_);
222 if (__first_ == nullptr) {
230 if (__begin_ < __first_)
282 size_type __old_cap = __end_cap() - __first_;
341 __first_ = nullptr;
344 __first_ = __allocation.ptr;
347 __begin_ = __end_ = __first_ + __start;
348 __end_cap() = __first_ + __cap;
354 if (__first_)
355 __alloc_traits::deallocate(__alloc(), __first_, capacity());
361 : __first_(std::move(__c.__first_)),
365 __c.__first_ = nullptr;
376 __first_ = __c.__first_;
380 __c.__first_ = nullptr;
386 __first_ = __allocation.ptr;
387 __begin_ = __end_ = __first_;
388 __end_cap() = __first_ + __allocation.count;
402 __first_ = __c.__first_;
407 __c.__first_ = __c.__begin_ = __c.__end_ = __c.__end_cap() = nullptr;
414 std::swap(__first_, __x.__first_);
426 std::swap(__first_, __t.__first_);
442 std::swap(__first_, __t.__first_);
455 if (__begin_ == __first_) {
462 size_type __c = std::max<size_type>(2 * static_cast<size_t>(__end_cap() - __first_), 1);
465 std::swap(__first_, __t.__first_);
477 if (__begin_ == __first_) {
484 size_type __c = std::max<size_type>(2 * static_cast<size_t>(__end_cap() - __first_), 1);
487 std::swap(__first_, __t.__first_);
501 if (__begin_ > __first_) {
502 difference_type __d = __begin_ - __first_;
507 size_type __c = std::max<size_type>(2 * static_cast<size_t>(__end_cap() - __first_), 1);
510 std::swap(__first_, __t.__first_);
523 if (__begin_ > __first_) {
524 difference_type __d = __begin_ - __first_;
529 size_type __c = std::max<size_type>(2 * static_cast<size_t>(__end_cap() - __first_), 1);
532 std::swap(__first_, __t.__first_);
546 if (__begin_ > __first_) {
547 difference_type __d = __begin_ - __first_;
552 size_type __c = std::max<size_type>(2 * static_cast<size_t>(__end_cap() - __first_), 1);
555 std::swap(__first_, __t.__first_);