Lines Matching refs:SkCachedData
8 #include "SkCachedData.h"
18 SkDebugf("SkCachedData inc %d\n", oldCount + 1);
23 SkDebugf("SkCachedData dec %d\n", oldCount - 1);
30 SkCachedData::SkCachedData(void* data, size_t size)
42 SkCachedData::SkCachedData(size_t size, SkDiscardableMemory* dm)
54 SkCachedData::~SkCachedData() {
66 class SkCachedData::AutoMutexWritable {
68 AutoMutexWritable(const SkCachedData* cd) : fCD(const_cast<SkCachedData*>(cd)) {
77 SkCachedData* get() { return fCD; }
78 SkCachedData* operator->() { return fCD; }
81 SkCachedData* fCD;
84 void SkCachedData::internalRef(bool fromCache) const {
88 void SkCachedData::internalUnref(bool fromCache) const {
97 void SkCachedData::inMutexRef(bool fromCache) {
109 bool SkCachedData::inMutexUnref(bool fromCache) {
138 void SkCachedData::inMutexLock() {
160 void SkCachedData::inMutexUnlock() {
182 void SkCachedData::validate() const {