Lines Matching refs:TestingKey
14 struct TestingKey : public SkResourceCache::Key { struct
17 TestingKey(intptr_t value, uint64_t sharedID = 0) : fValue(value) { in TestingKey() argument
22 TestingRec(const TestingKey& key, uint32_t value) : fKey(key), fValue(value) {} in TestingRec()
24 TestingKey fKey;
47 TestingKey key(i); in test_cache()
62 TestingKey key(i); in test_cache()
70 (void)cache.find(TestingKey(i), TestingRec::Visitor, &value); in test_cache()
78 TestingKey key(i, i & 1); // every other key will have a 1 for its sharedID in test_cache_purge_shared_id()
84 TestingKey key(i, i & 1); // every other key will have a 1 for its sharedID in test_cache_purge_shared_id()
96 TestingKey key(i, i & 1); // every other key will have a 1 for its sharedID in test_cache_purge_shared_id()
143 TestingKey key(1); in DEF_TEST()