Lines Matching defs:Traits
21 // Traits must have:
26 template <typename T, typename K, typename Traits = T>
99 if (hash == s.hash && key == Traits::GetKey(*s)) {
126 if (hash == s.hash && key == Traits::GetKey(*s)) {
163 using TTable = SkTHashTable<T, K, Traits>;
237 const K& key = Traits::GetKey(val);
249 if (hash == s.hash && key == Traits::GetKey(*s)) {
319 uint32_t hash = Traits::Hash(key) & 0xffffffff;
528 struct Traits {
534 using Iter = typename SkTHashTable<T, T, Traits>::template Iter<T>;
545 SkTHashTable<T, T, Traits> fTable;