Lines Matching refs:index_
565 : index_(0), size_(0) {
579 if (index_ >= current_chunk_.length()) {
582 current_chunk_[index_] = value;
583 index_++;
593 if (size > current_chunk_.length() - index_) {
596 T* position = current_chunk_.start() + index_;
597 index_ += size;
611 if (source.length() > current_chunk_.length() - index_) {
614 T* position = current_chunk_.start() + index_;
615 index_ += source.length();
635 for (int i = 0; i < index_; i++) {
657 index_ = 0;
668 int index_; // Current index in current chunk.
691 DCHECK(index_ + min_capacity <= current_chunk_.length());
700 if (index_ > 0) {
701 chunks_.Add(current_chunk_.SubVector(0, index_));
706 index_ = 0;
731 sequence_start_ = this->index_;
738 if (sequence_start == this->index_) return Vector<T>();
739 return this->current_chunk_.SubVector(sequence_start, this->index_);
745 int sequence_length = this->index_ - sequence_start_;
746 this->index_ = sequence_start_;
767 int sequence_length = this->index_ - sequence_start_;
779 this->index_ = sequence_length;