Searched defs:HashTraits (Results 1 – 4 of 4) sorted by relevance
188 struct HashTraits { in DEF_TEST() struct189 static int GetKey(const Entry* e) { return e->key; } in DEF_TEST()190 static uint32_t Hash(int key) { return key; } in DEF_TEST()
66 struct HashTraits { struct67 static uint32_t Hash(const SkResourceCache::Key& key) { return key.hash(); } in Hash()68 static const SkResourceCache::Key& GetKey(const SkResourceCache::Rec* rec) { in GetKey()