Lines Matching refs:newCount
156 int newCount = fCount - 1; in removeShuffle() local
157 fCount = newCount; in removeShuffle()
159 if (n != newCount) { in removeShuffle()
160 this->move(n, newCount); in removeShuffle()
289 void resize_back(int newCount) { in resize_back() argument
290 SkASSERT(newCount >= 0); in resize_back()
292 if (newCount > fCount) { in resize_back()
293 this->push_back_n(newCount - fCount); in resize_back()
294 } else if (newCount < fCount) { in resize_back()
295 this->pop_back_n(fCount - newCount); in resize_back()
526 int64_t newCount = fCount + delta; in checkRealloc() local
531 bool mustGrow = newCount > fAllocCount; in checkRealloc()
532 bool shouldShrink = fAllocCount > 3 * newCount && fOwnMemory && !fReserved; in checkRealloc()
539 int64_t newAllocCount = newCount + ((newCount + 1) >> 1); in checkRealloc()
549 SkASSERT(fAllocCount >= newCount); in checkRealloc()