Lines Matching defs:aKey

83   bool KeyEquals(const KeyTypePointer aKey) const { return mStr.Equals(*aKey); }  in KeyEquals()
85 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
86 static PLDHashNumber HashKey(const KeyTypePointer aKey) { in HashKey()
129 bool KeyEquals(const KeyTypePointer aKey) const { in KeyEquals()
133 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
134 static PLDHashNumber HashKey(const KeyTypePointer aKey) { in HashKey()
168 bool KeyEquals(KeyTypePointer aKey) const { return mStr.Equals(*aKey); } in KeyEquals()
170 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
171 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
198 explicit nsUint32HashKey(KeyTypePointer aKey) : mValue(*aKey) {} in nsUint32HashKey()
204 bool KeyEquals(KeyTypePointer aKey) const { return *aKey == mValue; } in KeyEquals()
206 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
207 static PLDHashNumber HashKey(KeyTypePointer aKey) { return *aKey; } in HashKey()
224 explicit nsUint64HashKey(KeyTypePointer aKey) : mValue(*aKey) {} in nsUint64HashKey()
230 bool KeyEquals(KeyTypePointer aKey) const { return *aKey == mValue; } in KeyEquals()
232 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
233 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
252 explicit nsFloatHashKey(KeyTypePointer aKey) : mValue(*aKey) {} in nsFloatHashKey()
258 bool KeyEquals(KeyTypePointer aKey) const { return *aKey == mValue; } in KeyEquals()
260 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
261 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
280 explicit IntPtrHashKey(KeyTypePointer aKey) : mValue(*aKey) {} in IntPtrHashKey()
286 bool KeyEquals(KeyTypePointer aKey) const { return *aKey == mValue; } in KeyEquals()
288 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
289 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
308 explicit nsISupportsHashKey(const nsISupports* aKey) in nsISupportsHashKey()
316 bool KeyEquals(KeyTypePointer aKey) const { return aKey == mSupports; } in KeyEquals()
318 static KeyTypePointer KeyToPointer(KeyType aKey) { return aKey; } in KeyToPointer()
319 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
339 explicit nsRefPtrHashKey(const T* aKey) : mKey(const_cast<T*>(aKey)) {} in nsRefPtrHashKey()
345 bool KeyEquals(KeyTypePointer aKey) const { return aKey == mKey; } in KeyEquals()
347 static KeyTypePointer KeyToPointer(KeyType aKey) { return aKey; } in KeyToPointer()
348 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
375 explicit nsClearingPtrHashKey(const T* aKey) : nsPtrHashKey<T>(aKey) {} in nsClearingPtrHashKey()
394 explicit nsFuncPtrHashKey(const T* aKey) : mKey(*const_cast<T*>(aKey)) {} in nsFuncPtrHashKey()
399 bool KeyEquals(KeyTypePointer aKey) const { return *aKey == mKey; } in KeyEquals()
401 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
402 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
427 bool KeyEquals(KeyTypePointer aKey) const { return aKey->Equals(mID); } in KeyEquals()
429 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
430 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
457 bool KeyEquals(KeyTypePointer aKey) const { return aKey->Equals(*mID); } in KeyEquals()
459 static KeyTypePointer KeyToPointer(KeyType aKey) { return aKey; } in KeyToPointer()
460 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
486 explicit nsDepCharHashKey(const char* aKey) : mKey(aKey) {} in nsDepCharHashKey()
492 bool KeyEquals(const char* aKey) const { return !strcmp(mKey, aKey); } in KeyEquals()
494 static const char* KeyToPointer(const char* aKey) { return aKey; } in KeyToPointer()
495 static PLDHashNumber HashKey(const char* aKey) { in HashKey()
514 explicit nsCharPtrHashKey(const char* aKey) : mKey(strdup(aKey)) {} in nsCharPtrHashKey()
529 bool KeyEquals(KeyTypePointer aKey) const { return !strcmp(mKey, aKey); } in KeyEquals()
531 static KeyTypePointer KeyToPointer(KeyType aKey) { return aKey; } in KeyToPointer()
532 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
556 explicit nsUnicharPtrHashKey(const char16_t* aKey) : mKey(NS_xstrdup(aKey)) {} in nsUnicharPtrHashKey()
570 bool KeyEquals(KeyTypePointer aKey) const { return !NS_strcmp(mKey, aKey); } in KeyEquals()
572 static KeyTypePointer KeyToPointer(KeyType aKey) { return aKey; } in KeyToPointer()
573 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()
606 explicit nsGenericHashKey(KeyTypePointer aKey) : mKey(*aKey) {} in nsGenericHashKey()
612 bool KeyEquals(KeyTypePointer aKey) const { return *aKey == mKey; } in KeyEquals()
614 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
615 static PLDHashNumber HashKey(KeyTypePointer aKey) { in HashKey()