Lines Matching defs:newCount
246 void resize_back(int newCount) {
247 SkASSERT(newCount >= 0);
249 if (newCount > fCount) {
250 this->push_back_n(newCount - fCount);
251 } else if (newCount < fCount) {
252 this->pop_back_n(fCount - newCount);
400 int newCount = fCount + delta;
403 if (newCount > fAllocCount || newCount < (fAllocCount / 3)) {
406 newAllocCount = SkMax32(newCount + ((newCount + 1) >> 1), fReserveCount);