Home | History | Annotate | Download | only in private

Lines Matching full:newcount

155         int newCount = fCount - 1;
156 fCount = newCount;
158 if (n != newCount) {
159 this->move(n, newCount);
288 void resize_back(int newCount) {
289 SkASSERT(newCount >= 0);
291 if (newCount > fCount) {
292 this->push_back_n(newCount - fCount);
293 } else if (newCount < fCount) {
294 this->pop_back_n(fCount - newCount);
519 int newCount = fCount + delta;
521 // We allow fAllocCount to be in the range [newCount, 3*newCount]. We also never shrink
524 bool mustGrow = newCount > fAllocCount;
525 bool shouldShrink = fAllocCount > 3 * newCount && fOwnMemory && !fReserved;
531 int newAllocCount = newCount + ((newCount + 1) >> 1);