Lines Matching refs:fAllocCount
63 fAllocCount = that.fAllocCount; in SkTArray()
69 that.fAllocCount = 0; in SkTArray()
345 auto allocCount = fAllocCount; in swap()
346 fAllocCount = that.fAllocCount; in swap()
347 that.fAllocCount = allocCount; in swap()
438 return fAllocCount; in capacity()
466 fAllocCount = 0; in init()
469 fAllocCount = SkToU32(std::max(count, kMinHeapAllocCount)); in init()
470 fItemArray = (T*)sk_malloc_throw((size_t)fAllocCount, sizeof(T)); in init()
484 fAllocCount = std::max(count, kMinHeapAllocCount); in initWithPreallocatedStorage()
485 fItemArray = (T*)sk_malloc_throw(fAllocCount, sizeof(T)); in initWithPreallocatedStorage()
488 fAllocCount = preallocCount; in initWithPreallocatedStorage()
538 SkASSERT(fAllocCount >= 0); in checkRealloc()
547 bool mustGrow = newCount > fAllocCount; in checkRealloc()
548 bool shouldShrink = fAllocCount > 3 * newCount && fOwnMemory && !fReserved; in checkRealloc()
563 if (newAllocCount == fAllocCount) { in checkRealloc()
567 fAllocCount = SkToU32(Sk64_pin_to_s32(newAllocCount)); in checkRealloc()
568 SkASSERT(fAllocCount >= newCount); in checkRealloc()
569 T* newItemArray = (T*)sk_malloc_throw((size_t)fAllocCount, sizeof(T)); in checkRealloc()
583 uint32_t fAllocCount : 31; variable