Home | History | Annotate | Download | only in core

Lines Matching refs:Key

15 /** A set that contains pointers to instances of T. Instances can be looked up with key Key.
16 * Multiple (possibly same) values can have the same key.
19 typename Key,
25 static const Key& GetKey(const ValueList& e) { return HashTraits::GetKey(*e.fValue); }
26 static uint32_t Hash(const Key& key) { return HashTraits::Hash(key); }
38 void insert(const Key& key, T* value) {
39 ValueList* list = fHash.find(key);
56 void remove(const Key& key, const T* value) {
57 ValueList* list = fHash.find(key);
76 fHash.remove(key);
83 T* find(const Key& key) const {
84 ValueList* list = fHash.find(key);
92 T* find(const Key& key, const FindPredicate f) {
93 ValueList* list = fHash.find(key);
107 int countForKey(const Key& key) const {
109 ValueList* list = fHash.find(key);
119 SkTDynamicHash<ValueList, Key> fHash;