Lines Matching refs:fScratchMap
141 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource()
171 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource()
199 SkASSERT(!fScratchMap.count()); in abandonAll()
239 SkASSERT(!fScratchMap.count()); in releaseAll()
274 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(true)); in findAndRefScratchResource()
291 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(false)); in findAndRefScratchResource()
303 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey()
317 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in removeUniqueKey()
355 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in changeUniqueKey()
737 const ScratchMap* fScratchMap; in validate() member
742 fScratchMap = &cache->fScratchMap; in validate()
759 SkASSERT(fScratchMap->countForKey(scratchKey)); in validate()
766 SkASSERT(fScratchMap->countForKey(scratchKey)); in validate()
777 SkASSERT(!fScratchMap->has(resource, scratchKey)); in validate()
789 ScratchMap::ConstIter iter(&fScratchMap); in validate()
798 SkASSERT(count == fScratchMap.count()); // ensure the iterator is working correctly in validate()
835 SkASSERT(stats.fScratch + stats.fCouldBeScratch == fScratchMap.count()); in validate()