Home
last modified time | relevance | path

Searched refs:growSize (Results 1 – 3 of 3) 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/skia/include/private/
DSkPathRef.h463 size_t growSize = size - fFreeSpace; variable
468 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;
/external/icu/icu4c/source/common/
Dunistr.cpp359 int32_t growSize = (newLength >> 2) + kGrowSize; in getGrowCapacity() local
360 if(growSize <= (kMaxCapacity - newLength)) { in getGrowCapacity()
361 return newLength + growSize; in getGrowCapacity()