Lines Matching defs:find
871 GrGpuResource* find = cache->findAndRefScratchResource(scratchKey);
872 find->resourcePriv().removeScratchKey();
879 find->unref();
885 find = cache->findAndRefScratchResource(scratchKey);
886 find->resourcePriv().removeScratchKey();
892 find->resourcePriv().removeScratchKey();
897 find->unref();
945 GrGpuResource* find = cache->findAndRefScratchResource(scratchKey);
946 REPORTER_ASSERT(reporter, find != nullptr);
947 find->unref();
950 find = cache->findAndRefScratchResource(scratchKey2);
951 REPORTER_ASSERT(reporter, find != nullptr);
952 REPORTER_ASSERT(reporter, find == a || find == b);
957 REPORTER_ASSERT(reporter, find2 != find);
959 find->unref();
1031 // Verify that we can find c, then remove its unique key. It should get purged immediately.