Lines Matching refs:newCount
156 int newCount = fCount - 1; in removeShuffle() local
157 fCount = newCount; in removeShuffle()
159 if (n != newCount) { in removeShuffle()
160 SkTArrayExt::copy(this, n, newCount); in removeShuffle()
161 fItemArray[newCount].~T(); in removeShuffle()
263 void resize_back(int newCount) { in resize_back() argument
264 SkASSERT(newCount >= 0); in resize_back()
266 if (newCount > fCount) { in resize_back()
267 this->push_back_n(newCount - fCount); in resize_back()
268 } else if (newCount < fCount) { in resize_back()
269 this->pop_back_n(fCount - newCount); in resize_back()
437 int newCount = fCount + delta; in checkRealloc() local
440 if (newCount > fAllocCount || newCount < (fAllocCount / 3)) { in checkRealloc()
443 newAllocCount = SkMax32(newCount + ((newCount + 1) >> 1), fReserveCount); in checkRealloc()