Home
last modified time | relevance | path

Searched defs:HashTraits (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DHashTest.cpp188 struct HashTraits { in DEF_TEST() struct
189 static int GetKey(const Entry* e) { return e->key; } in DEF_TEST()
190 static uint32_t Hash(int key) { return key; } in DEF_TEST()
/external/skqp/tests/
DHashTest.cpp188 struct HashTraits { in DEF_TEST() struct
189 static int GetKey(const Entry* e) { return e->key; } in DEF_TEST()
190 static uint32_t Hash(int key) { return key; } in DEF_TEST()
/external/skia/src/core/
DSkResourceCache.cpp66 struct HashTraits { struct
67 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()
/external/skqp/src/core/
DSkResourceCache.cpp66 struct HashTraits { struct
67 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()