Searched defs:HashTraits (Results 1 – 4 of 4) sorted by relevance
35 struct HashTraits { struct45 SkTHashTable<GrGlyph*, SkPackedGlyphID, HashTraits> fCache; argument
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()
269 struct HashTraits { in DEF_TEST() struct270 static int GetKey(const Entry* e) { return e->key; } in DEF_TEST()271 static uint32_t Hash(int key) { return key; } in DEF_TEST()
67 struct HashTraits { struct68 static uint32_t Hash(const SkResourceCache::Key& key) { return key.hash(); } in Hash()69 static const SkResourceCache::Key& GetKey(const SkResourceCache::Rec* rec) { in GetKey()