Searched refs:fAllocCount (Results 1 – 4 of 4) sorted by relevance
307 SkTSwap(fAllocCount, that->fAllocCount); in swap()442 fAllocCount = 0;447 fAllocCount = SkTMax(count, SkTMax(kMinHeapAllocCount, reserveCount));448 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T));462 fAllocCount = SkTMax(count, kMinHeapAllocCount); in initWithPreallocatedStorage()463 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); in initWithPreallocatedStorage()466 fAllocCount = preallocCount; in initWithPreallocatedStorage()516 SkASSERT(fAllocCount >= 0); in checkRealloc()524 bool mustGrow = newCount > fAllocCount; in checkRealloc()525 bool shouldShrink = fAllocCount > 3 * newCount && fOwnMemory && !fReserved; in checkRealloc()[all …]
32 , 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()
126 int fAllocCount; // number of elements to allocate per block variable
224 return fAllocCount; in allocCntForTest()