Home | History | Annotate | Download | only in tests

Lines Matching refs:id

21     SkScaledImageCache::ID* id;
30 id = cache.findAndLock(bm[i], scale, scale, &tmp);
31 REPORTER_ASSERT(reporter, NULL == id);
34 id = cache.addAndLock(bm[i], scale, scale, tmp);
35 REPORTER_ASSERT(reporter, NULL != id);
38 SkScaledImageCache::ID* id2 = cache.findAndLock(bm[i], scale, scale,
40 REPORTER_ASSERT(reporter, id == id2);
46 cache.unlock(id);
56 id = cache.addAndLock(bm[0], scale, scale, tmp);
57 REPORTER_ASSERT(reporter, NULL != id);
58 cache.unlock(id);