Lines Matching refs:isValid
149 if (resource->resourcePriv().getScratchKey().isValid()) { in insertResource()
177 if (resource->resourcePriv().getScratchKey().isValid()) { in removeResource()
180 if (resource->getUniqueKey().isValid()) { in removeResource()
252 SkASSERT(scratchKey.isValid()); in findAndRefScratchResource()
282 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey()
289 if (resource->getUniqueKey().isValid()) { in removeUniqueKey()
302 if (resource->getUniqueKey().isValid()) { in changeUniqueKey()
309 if (newKey.isValid()) { in changeUniqueKey()
312 if (!old->resourcePriv().getScratchKey().isValid() && old->isPurgeable()) { in changeUniqueKey()
381 resource->resourcePriv().getScratchKey().isValid()) { in notifyCntReachedZero()
392 bool noKey = !resource->resourcePriv().getScratchKey().isValid() && in notifyCntReachedZero()
393 !resource->getUniqueKey().isValid(); in notifyCntReachedZero()
662 SkASSERT(!resource->getUniqueKey().isValid()); in validate()
666 } else if (resource->resourcePriv().getScratchKey().isValid()) { in validate()
668 resource->getUniqueKey().isValid()); in validate()
674 if (uniqueKey.isValid()) { in validate()