Lines Matching refs:current_chunk_
30 current_chunk_ = Vector<T>::New(initial_capacity);
35 current_chunk_.Dispose(); in ~Collector()
43 if (index_ >= current_chunk_.length()) { in Add()
46 current_chunk_[index_] = value; in Add()
57 if (size > current_chunk_.length() - index_) { in AddBlock()
60 T* position = current_chunk_.start() + index_; in AddBlock()
74 if (source.length() > current_chunk_.length() - index_) { in AddBlock()
77 T* position = current_chunk_.start() + index_; in AddBlock()
97 destination[position] = current_chunk_[i]; in WriteTo()
128 Vector<T> current_chunk_; // Block of memory currently being written into. variable
136 int current_length = current_chunk_.length(); in Grow()
152 DCHECK(index_ + min_capacity <= current_chunk_.length()); in Grow()
162 chunks_.push_back(current_chunk_.SubVector(0, index_)); in NewChunk()
164 current_chunk_.Dispose(); in NewChunk()
166 current_chunk_ = new_chunk; in NewChunk()
199 return this->current_chunk_.SubVector(sequence_start, this->index_); in EndSequence()
231 new_chunk[i] = this->current_chunk_[sequence_start_ + i]; in NewChunk()
235 this->current_chunk_.SubVector(0, sequence_start_)); in NewChunk()
237 this->current_chunk_.Dispose(); in NewChunk()
239 this->current_chunk_ = new_chunk; in NewChunk()