Lines Matching refs:index_
471 : index_(0), size_(0) {
485 if (index_ >= current_chunk_.length()) {
488 current_chunk_[index_] = value;
489 index_++;
499 if (size > current_chunk_.length() - index_) {
502 T* position = current_chunk_.start() + index_;
503 index_ += size;
517 if (source.length() > current_chunk_.length() - index_) {
520 T* position = current_chunk_.start() + index_;
521 index_ += source.length();
541 for (int i = 0; i < index_; i++) {
567 int index_; // Current index in current chunk.
590 DCHECK(index_ + min_capacity <= current_chunk_.length());
599 if (index_ > 0) {
600 chunks_.Add(current_chunk_.SubVector(0, index_));
605 index_ = 0;
630 sequence_start_ = this->index_;
637 if (sequence_start == this->index_) return Vector<T>();
638 return this->current_chunk_.SubVector(sequence_start, this->index_);
644 int sequence_length = this->index_ - sequence_start_;
645 this->index_ = sequence_start_;
666 int sequence_length = this->index_ - sequence_start_;
678 this->index_ = sequence_length;