Searched refs:SafeCount (Results 1 – 4 of 4) sorted by relevance
35 template <typename T> int SafeCount(const T* obj) { in SafeCount() function197 int paintCount = SafeCount(fPlayback->fPaints); in clone()219 SkDEBUGCODE(int heapSize = SafeCount(fPlayback->fBitmapHeap.get());) in clone()231 SkASSERT(SafeCount(fPlayback->fBitmapHeap.get()) == heapSize); in clone()
21 template <typename T> int SafeCount(const T* obj) { in SafeCount() function189 int paintCount = SafeCount(src.fPaints); in SkPicturePlayback()264 SafeCount(fBitmaps), SafeCount(fBitmaps) * sizeof(SkBitmap), in dumpSize()265 SafeCount(fPaints), SafeCount(fPaints) * sizeof(SkPaint)); in dumpSize()267 SafeCount(fPathHeap.get())); in dumpSize()350 if ((n = SafeCount(fBitmaps)) > 0) { in flattenToBuffer()357 if ((n = SafeCount(fPaints)) > 0) { in flattenToBuffer()364 if ((n = SafeCount(fPathHeap.get())) > 0) { in flattenToBuffer()
22 template <typename T> int SafeCount(const T* obj) { in SafeCount() function110 int paintCount = SafeCount(src.fPaints); in SkPictureData()271 if ((n = SafeCount(fBitmaps)) > 0) { in flattenToBuffer()278 if ((n = SafeCount(fPaints)) > 0) { in flattenToBuffer()285 if ((n = SafeCount(fPathHeap.get())) > 0) { in flattenToBuffer()
46 template <typename T> int SafeCount(const T* obj) { in SafeCount() function