Home
last modified time | relevance | path

Searched refs:fAllocCount (Results 1 – 8 of 8) sorted by relevance

/external/skia/include/private/
DSkTArray.h309 swap(fAllocCount, that.fAllocCount); in swap()
448 fAllocCount = 0;
453 fAllocCount = SkTMax(count, SkTMax(kMinHeapAllocCount, reserveCount));
454 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T));
468 fAllocCount = SkTMax(count, kMinHeapAllocCount); in initWithPreallocatedStorage()
469 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); in initWithPreallocatedStorage()
472 fAllocCount = preallocCount; in initWithPreallocatedStorage()
522 SkASSERT(fAllocCount >= 0); in checkRealloc()
531 bool mustGrow = newCount > fAllocCount; in checkRealloc()
532 bool shouldShrink = fAllocCount > 3 * newCount && fOwnMemory && !fReserved; in checkRealloc()
[all …]
/external/skqp/include/private/
DSkTArray.h309 swap(fAllocCount, that.fAllocCount); in swap()
448 fAllocCount = 0;
453 fAllocCount = SkTMax(count, SkTMax(kMinHeapAllocCount, reserveCount));
454 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T));
468 fAllocCount = SkTMax(count, kMinHeapAllocCount); in initWithPreallocatedStorage()
469 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); in initWithPreallocatedStorage()
472 fAllocCount = preallocCount; in initWithPreallocatedStorage()
522 SkASSERT(fAllocCount >= 0); in checkRealloc()
531 bool mustGrow = newCount > fAllocCount; in checkRealloc()
532 bool shouldShrink = fAllocCount > 3 * newCount && fOwnMemory && !fReserved; in checkRealloc()
[all …]
/external/skqp/src/core/
DSkDeque.cpp32 , fAllocCount(allocCount) { in SkDeque()
42 , fAllocCount(allocCount) { in SkDeque()
73 fFrontBlock = this->allocateBlock(fAllocCount); in push_front()
88 first = this->allocateBlock(fAllocCount); in push_front()
113 fBackBlock = this->allocateBlock(fAllocCount); in push_back()
128 last = this->allocateBlock(fAllocCount); in push_back()
/external/skia/src/core/
DSkDeque.cpp32 , fAllocCount(allocCount) { in SkDeque()
42 , fAllocCount(allocCount) { in SkDeque()
73 fFrontBlock = this->allocateBlock(fAllocCount); in push_front()
88 first = this->allocateBlock(fAllocCount); in push_front()
113 fBackBlock = this->allocateBlock(fAllocCount); in push_back()
128 last = this->allocateBlock(fAllocCount); in push_back()
/external/skqp/include/core/
DSkDeque.h127 int fAllocCount; // number of elements to allocate per block variable
/external/skia/include/core/
DSkDeque.h127 int fAllocCount; // number of elements to allocate per block variable
/external/skia/tests/
DTArrayTest.cpp123 return fAllocCount; in allocCntForTest()
/external/skqp/tests/
DTArrayTest.cpp123 return fAllocCount; in allocCntForTest()