Searched refs:growSize (Results 1 – 3 of 3) 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;
463 size_t growSize = size - fFreeSpace; variable468 growSize = (growSize + 7) & ~static_cast<size_t>(7);470 if (growSize < oldSize) {471 growSize = oldSize;473 if (growSize < kMinSize) {474 growSize = kMinSize;480 if (growSize <= maxSize - oldSize) {481 newSize = oldSize + growSize;493 fFreeSpace += growSize;
359 int32_t growSize = (newLength >> 2) + kGrowSize; in getGrowCapacity() local360 if(growSize <= (kMaxCapacity - newLength)) { in getGrowCapacity()361 return newLength + growSize; in getGrowCapacity()