Lines Matching refs:fAllocCount
309 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()
544 if (newAllocCount == fAllocCount) { in checkRealloc()
548 fAllocCount = Sk64_pin_to_s32(newAllocCount); in checkRealloc()
549 SkASSERT(fAllocCount >= newCount); in checkRealloc()
550 void* newMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); in checkRealloc()
566 int fAllocCount; variable