Home | History | Annotate | Download | only in src

Lines Matching refs:length_

18   if (length_ < capacity_) {
19 data_[length_++] = element;
34 int result_length = length_ + other.length();
37 data_[length_ + i] = other.at(i);
39 length_ = result_length;
53 DCHECK(length_ >= capacity_);
61 data_[length_++] = temp;
67 DCHECK_LE(length_, new_capacity);
69 MemCopy(new_data, data_, length_ * sizeof(T));
78 int start = length_;
86 DCHECK(index >= 0 && index <= length_);
93 DCHECK(index >= 0 && index <= length_);
95 for (int i = length_ - 1; i > index; --i) {
105 length_--;
106 while (i < length_) {
116 for (int i = 0; i < length_; i++) {
130 length_ = length;
141 length_ = 0;
147 DCHECK(0 <= pos && pos <= length_);
148 length_ = pos;
154 if (length_ < capacity_ / 4) {
162 for (int i = 0; i < length_; i++) callback(&data_[i]);
169 for (int i = 0; i < length_; i++) visitor->Apply(&data_[i]);
175 for (int i = 0; i < length_; i++) {
197 for (int i = 1; i < length_; i++)
214 length_ = 0;