Lines Matching refs:fScratchMap
165 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource()
195 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource()
222 SkASSERT(!fScratchMap.count()); in abandonAll()
259 SkASSERT(!fScratchMap.count()); in releaseAll()
305 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(true)); in findAndRefScratchResource()
322 resource = fScratchMap.find(scratchKey, AvailableForScratchUse(false)); in findAndRefScratchResource()
334 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey()
348 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in removeUniqueKey()
386 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in changeUniqueKey()
853 const ScratchMap* fScratchMap; in validate() member
858 fScratchMap = &cache->fScratchMap; in validate()
875 SkASSERT(fScratchMap->countForKey(scratchKey)); in validate()
882 SkASSERT(fScratchMap->countForKey(scratchKey)); in validate()
893 SkASSERT(!fScratchMap->has(resource, scratchKey)); in validate()
905 ScratchMap::ConstIter iter(&fScratchMap); in validate()
914 SkASSERT(count == fScratchMap.count()); // ensure the iterator is working correctly in validate()
960 SkASSERT(stats.fScratch + stats.fCouldBeScratch == fScratchMap.count()); in validate()