Lines Matching refs:old_size
775 size_type old_size = this->my_size++; in internal_emplace_back() local
777 …nt_address = &base_type::template internal_subscript</*allow_out_of_range_access=*/true>(old_size); in internal_emplace_back()
787 return iterator(*this, old_size, element_address); in internal_emplace_back()
865 size_type old_size = this->my_size.load(std::memory_order_relaxed); in internal_grow_to_at_least() local
867 while (old_size < new_size && !this->my_size.compare_exchange_weak(old_size, new_size)) in internal_grow_to_at_least()
870 int delta = static_cast<int>(new_size) - static_cast<int>(old_size); in internal_grow_to_at_least()
872 return internal_grow(old_size, new_size, args...); in internal_grow_to_at_least()
907 size_type old_size = this->my_size.load(std::memory_order_acquire); in internal_resize() local
908 if (n > old_size) { in internal_resize()
912 if (old_size == n) { in internal_resize()
915 size_type last_segment = this->segment_index_of(old_size - 1); in internal_resize()
924 …dex_to_destroy = std::min(this->segment_base(n_segment) + this->segment_size(n_segment), old_size); in internal_resize()