Lines Matching refs:fBytesAllocated
19 , fBytesAllocated(0) { in SkBitmapHeapEntry()
76 , fBytesAllocated(0) in SkBitmapHeap()
87 , fBytesAllocated(0) in SkBitmapHeap()
103 fBytesAllocated -= fStorage[i]->fBytesAllocated; in ~SkBitmapHeap()
106 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry)); in ~SkBitmapHeap()
108 SkASSERT(0 == fBytesAllocated); in ~SkBitmapHeap()
185 size_t origBytesAllocated = fBytesAllocated; in freeMemoryIfPossible()
201 if (origBytesAllocated - fBytesAllocated >= bytesToFree) { in freeMemoryIfPossible()
212 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry)); in freeMemoryIfPossible()
215 SkASSERT(0 == fBytesAllocated); in freeMemoryIfPossible()
221 return origBytesAllocated - fBytesAllocated; in freeMemoryIfPossible()
269 fBytesAllocated -= fStorage[entry->fStorageSlot]->fBytesAllocated; in removeEntryFromLookupTable()
326 fBytesAllocated += sizeof(SkBitmapHeapEntry); in insert()
347 fBytesAllocated -= sizeof(SkBitmapHeapEntry); in insert()
362 entry->fBytesAllocated = originalBitmap.getSize(); in insert()
365 fBytesAllocated += entry->fBytesAllocated; in insert()