Lines Matching refs:current_chunk_
527 current_chunk_ = Vector<T>::New(initial_capacity);
532 current_chunk_.Dispose();
540 if (index_ >= current_chunk_.length()) {
543 current_chunk_[index_] = value;
554 if (size > current_chunk_.length() - index_) {
557 T* position = current_chunk_.start() + index_;
572 if (source.length() > current_chunk_.length() - index_) {
575 T* position = current_chunk_.start() + index_;
597 destination[position] = current_chunk_[i];
621 Vector<T> current_chunk_; // Block of memory currently being written into.
629 int current_length = current_chunk_.length();
645 ASSERT(index_ + min_capacity <= current_chunk_.length());
655 chunks_.Add(current_chunk_.SubVector(0, index_));
657 current_chunk_.Dispose();
659 current_chunk_ = new_chunk;
693 return this->current_chunk_.SubVector(sequence_start, this->index_);
725 new_chunk[i] = this->current_chunk_[sequence_start_ + i];
728 this->chunks_.Add(this->current_chunk_.SubVector(0, sequence_start_));
730 this->current_chunk_.Dispose();
732 this->current_chunk_ = new_chunk;