Home | History | Annotate | Download | only in tests

Lines Matching defs:id

21     SkScaledImageCache::ID* id;
33 SkScaledImageCache::ID* id = cache.findAndLock(bm[i], scale, scale, &tmp);
34 REPORTER_ASSERT(reporter, NULL == id);
37 id = cache.addAndLock(bm[i], scale, scale, tmp);
38 REPORTER_ASSERT(reporter, NULL != id);
41 SkScaledImageCache::ID* id2 = cache.findAndLock(bm[i], scale, scale,
43 REPORTER_ASSERT(reporter, id == id2);
49 cache.unlock(id);
61 SkScaledImageCache::ID* id = cache.addAndLock(bm[0], incScale,
63 REPORTER_ASSERT(reporter, NULL != id);
64 cache.unlock(id);
71 id = cache.findAndLock(bm[i], scale, scale, &tmp);
72 if (id) {
73 cache.unlock(id);
121 SkScaledImageCache::ID* id1 = cache.addAndLock(original, 0.5f, 0.5f, scaled1);
122 SkScaledImageCache::ID* id2 = cache.addAndLock(original, 0.5f, 0.5f, scaled2);
129 SkScaledImageCache::ID* id = cache.findAndLock(original, 0.5f, 0.5f, &tmp);
130 REPORTER_ASSERT(r, NULL != id);
132 cache.unlock(id);