Lines Matching refs:isValid
148 if (resource->resourcePriv().getScratchKey().isValid()) { in insertResource()
176 if (resource->resourcePriv().getScratchKey().isValid()) { in removeResource()
179 if (resource->getUniqueKey().isValid()) { in removeResource()
250 SkASSERT(scratchKey.isValid()); in findAndRefScratchResource()
274 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey()
281 if (resource->getUniqueKey().isValid()) { in removeUniqueKey()
294 if (resource->getUniqueKey().isValid()) { in changeUniqueKey()
301 if (newKey.isValid()) { in changeUniqueKey()
304 if (!old->resourcePriv().getScratchKey().isValid() && old->isPurgeable()) { in changeUniqueKey()
373 resource->resourcePriv().getScratchKey().isValid()) { in notifyCntReachedZero()
384 bool noKey = !resource->resourcePriv().getScratchKey().isValid() && in notifyCntReachedZero()
385 !resource->getUniqueKey().isValid(); in notifyCntReachedZero()
645 SkASSERT(!resource->getUniqueKey().isValid()); in validate()
649 } else if (resource->resourcePriv().getScratchKey().isValid()) { in validate()
651 resource->getUniqueKey().isValid()); in validate()
657 if (uniqueKey.isValid()) { in validate()