Searched refs:growSize (Results 1 – 2 of 2) sorted by relevance
462 size_t growSize = size - fFreeSpace; variable467 growSize = (growSize + 7) & ~static_cast<size_t>(7);469 if (growSize < oldSize) {470 growSize = oldSize;472 if (growSize < kMinSize) {473 growSize = kMinSize;479 if (growSize <= maxSize - oldSize) {480 newSize = oldSize + growSize;492 fFreeSpace += growSize;
358 int32_t growSize = (newLength >> 2) + kGrowSize; in getGrowCapacity() local359 if(growSize <= (kMaxCapacity - newLength)) { in getGrowCapacity()360 return newLength + growSize; in getGrowCapacity()