Searched refs:allocated_size_ (Results 1 – 2 of 2) sorted by relevance
53 memcpy(elements_, old_elements, allocated_size_ * sizeof(elements_[0])); in Reserve()62 int swap_allocated_size = allocated_size_; in Swap()67 allocated_size_ = other->allocated_size_; in Swap()72 other->allocated_size_ = swap_allocated_size; in Swap()
295 for (int i = start + num; i < allocated_size_; ++i) in CloseGap()298 allocated_size_ -= num; in CloseGap()344 int allocated_size_; variable863 allocated_size_(0),869 for (int i = 0; i < allocated_size_; i++) {902 if (current_size_ < allocated_size_) {905 if (allocated_size_ == total_size_) Reserve(total_size_ + 1);907 ++allocated_size_;978 for (int i = 0; i < allocated_size_; ++i) {986 if (current_size_ < allocated_size_) {[all …]