Lines Matching refs:size_
117 return size_; in size()
125 return dense_.begin() + size_; in end()
132 return dense_.begin() + size_; in end()
147 size_ = 0; in clear()
223 int size_; variable
234 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(), valgrind_(RunningOnValgrind()) {} in SparseArray()
262 DCHECK_LT(i, size_); in iv()
287 if (size_ > max_size_) in resize()
288 size_ = max_size_; in resize()
301 return (uint)sparse_to_dense_[i] < (uint)size_ && in has_index()
401 if (di < size_ - 1) { in erase_existing()
402 dense_[di] = dense_[size_ - 1]; in erase_existing()
405 size_--; in erase_existing()
412 DCHECK_LT(size_, max_size_); in create_index()
413 sparse_to_dense_[i] = size_; in create_index()
414 dense_[size_].index_ = i; in create_index()
415 size_++; in create_index()
430 size_ = 0; in SparseArray()
440 DCHECK_LE(0, size_); in DebugCheckInvariants()
441 DCHECK_LE(size_, max_size_); in DebugCheckInvariants()
442 DCHECK(size_ == 0 || sparse_to_dense_ != NULL); in DebugCheckInvariants()