Home
last modified time | relevance | path

Searched refs:growSize (Results 1 – 2 of 2) sorted by relevance

/external/skqp/include/private/
DSkPathRef.h462 size_t growSize = size - fFreeSpace; variable
467 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;
/external/icu/icu4c/source/common/
Dunistr.cpp358 int32_t growSize = (newLength >> 2) + kGrowSize; in getGrowCapacity() local
359 if(growSize <= (kMaxCapacity - newLength)) { in getGrowCapacity()
360 return newLength + growSize; in getGrowCapacity()