Lines Matching refs:fScratchMap
130 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource()
159 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource()
182 SkASSERT(!fScratchMap.count()); in abandonAll()
209 SkASSERT(!fScratchMap.count()); in releaseAll()
243 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(true)); in findAndRefScratchResource()
260 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(false)); in findAndRefScratchResource()
271 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey()
285 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in removeUniqueKey()
306 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in changeUniqueKey()
730 const ScratchMap* fScratchMap; in validate() member
735 fScratchMap = &cache->fScratchMap; in validate()
752 SkASSERT(fScratchMap->countForKey(scratchKey)); in validate()
759 SkASSERT(fScratchMap->countForKey(scratchKey)); in validate()
770 SkASSERT(!fScratchMap->has(resource, scratchKey)); in validate()
782 ScratchMap::ConstIter iter(&fScratchMap); in validate()
791 SkASSERT(count == fScratchMap.count()); // ensure the iterator is working correctly in validate()
828 SkASSERT(stats.fScratch + stats.fCouldBeScratch == fScratchMap.count()); in validate()