Searched refs:growSize (Results 1 – 2 of 2) sorted by relevance
436 ptrdiff_t growSize = size - fFreeSpace; in makeSpace()437 if (growSize <= 0) { in makeSpace()442 growSize = (growSize + 7) & ~static_cast<size_t>(7); in makeSpace()444 if (static_cast<size_t>(growSize) < oldSize) { in makeSpace()445 growSize = oldSize; in makeSpace()447 if (growSize < kMinSize) { in makeSpace()448 growSize = kMinSize; in makeSpace()450 size_t newSize = oldSize + growSize; in makeSpace()461 fFreeSpace += growSize; in makeSpace()
359 int32_t growSize = (newLength >> 2) + kGrowSize; in getGrowCapacity() local360 if(growSize <= (kMaxCapacity - newLength)) { in getGrowCapacity()361 return newLength + growSize; in getGrowCapacity()