Home
last modified time | relevance | path

Searched refs:HashTraits (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/gpu/text/
DGrStrikeCache.h34 struct HashTraits { struct
39 SkTHashTable<GrGlyph*, SkPackedGlyphID, HashTraits> fCache;
61 struct HashTraits { struct
66 using StrikeHash = SkTHashTable<sk_sp<GrTextStrike>, const SkDescriptor&, HashTraits>;
DGrStrikeCache.cpp34 const SkDescriptor& GrStrikeCache::HashTraits::GetKey(const sk_sp<GrTextStrike>& strike) { in GetKey()
38 uint32_t GrStrikeCache::HashTraits::Hash(const SkDescriptor& descriptor) { in Hash()
53 const SkPackedGlyphID& GrTextStrike::HashTraits::GetKey(const GrGlyph* glyph) { in GetKey()
57 uint32_t GrTextStrike::HashTraits::Hash(SkPackedGlyphID key) { in Hash()
/third_party/skia/src/core/
DSkTMultiMap.h18 typename HashTraits=T>
23 static const Key& GetKey(const ValueList& e) { return HashTraits::GetKey(*e.fValue); } in GetKey()
24 static uint32_t Hash(const Key& key) { return HashTraits::Hash(key); } in Hash()
39 HashTraits::OnFree(it->fValue); in reset()
DSkResourceCache.cpp67 struct HashTraits { struct
76 public SkTHashTable<SkResourceCache::Rec*, SkResourceCache::Key, HashTraits> {};
/third_party/flutter/skia/src/core/
DSkTMultiMap.h19 typename HashTraits=T>
24 static const Key& GetKey(const ValueList& e) { return HashTraits::GetKey(*e.fValue); } in GetKey()
25 static uint32_t Hash(const Key& key) { return HashTraits::Hash(key); } in Hash()
37 HashTraits::OnFree(cur->fValue); in ~SkTMultiMap()
DSkResourceCache.cpp67 struct HashTraits { struct
76 public SkTHashTable<SkResourceCache::Rec*, SkResourceCache::Key, HashTraits> {};
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNamedStreamMap.cpp49 NamedStreamMap::NamedStreamMap() : HashTraits(*this), OffsetIndexMap(1) {} in NamedStreamMap()
101 auto Iter = OffsetIndexMap.find_as(Stream, HashTraits); in get()
125 OffsetIndexMap.set_as(Stream, support::ulittle32_t(StreamNo), HashTraits); in set()
/third_party/flutter/skia/tests/
DHashTest.cpp188 struct HashTraits { in DEF_TEST() struct
193 SkTHashTable<Entry*, int, HashTraits> table; in DEF_TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DNamedStreamMap.h59 NamedStreamMapTraits HashTraits;
/third_party/skia/tests/
DHashTest.cpp270 struct HashTraits { in DEF_TEST() struct
275 SkTHashTable<Entry*, int, HashTraits> table; in DEF_TEST()