Home
last modified time | relevance | path

Searched refs:SafeCount (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkPicture.cpp35 template <typename T> int SafeCount(const T* obj) { in SafeCount() function
197 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()
DSkPicturePlayback.cpp21 template <typename T> int SafeCount(const T* obj) { in SafeCount() function
189 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()
/external/chromium_org/third_party/skia/src/core/
DSkPictureData.cpp22 template <typename T> int SafeCount(const T* obj) { in SafeCount() function
110 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()
DSkPicture.cpp46 template <typename T> int SafeCount(const T* obj) { in SafeCount() function