Lines Matching defs:aKey

85     virtual PRBool Equals(const nsHashKey *aKey) const = 0;
117 (*PR_CALLBACK nsHashtableEnumFunc)(nsHashKey *aKey, void *aData, void* aClosure);
121 nsHashKey **aKey,
124 // NB: may be called with null aKey or aData, to free just one of the two.
127 nsHashKey *aKey,
146 PRBool Exists(nsHashKey *aKey);
147 void *Put(nsHashKey *aKey, void *aData);
148 void *Get(nsHashKey *aKey);
149 void *Remove(nsHashKey *aKey);
167 typedef void* (*PR_CALLBACK nsHashtableCloneElementFunc)(nsHashKey *aKey, void *aData, void* aClosure);
180 PRBool RemoveAndDelete(nsHashKey *aKey);
202 typedef PRBool (* PR_CALLBACK EnumFunc) (nsHashKey *aKey, void *aData, void* aClosure);
211 PRBool Exists(nsHashKey *aKey) {
212 return nsHashtable::Exists (aKey);
214 PRBool Put(nsHashKey *aKey,
217 nsISupports* Get(nsHashKey *aKey);
218 PRBool Remove(nsHashKey *aKey, nsISupports **value = nsnull);
242 nsISupportsKey(const nsISupportsKey& aKey) : mKey(aKey.mKey) {
265 PRBool Equals(const nsHashKey *aKey) const {
266 NS_ASSERTION(aKey->GetKeyType() == SupportsKey, "mismatched key types");
267 return (mKey == ((nsISupportsKey *) aKey)->mKey);
294 PRBool Equals(const nsHashKey *aKey) const {
295 return mKey == ((const nsPRUint32Key *) aKey)->mKey;
311 nsVoidKey(const nsVoidKey& aKey) : mKey(aKey.mKey) {
313 mKeyType = aKey.mKeyType;
328 PRBool Equals(const nsHashKey *aKey) const {
329 NS_ASSERTION(aKey->GetKeyType() == VoidKey, "mismatched key types");
330 return (mKey == ((const nsVoidKey *) aKey)->mKey);
350 nsIDKey(const nsIDKey& aKey) : mID(aKey.mID) {
367 PRBool Equals(const nsHashKey *aKey) const {
368 NS_ASSERTION(aKey->GetKeyType() == IDKey, "mismatched key types");
369 return (mID.Equals(((const nsIDKey *) aKey)->mID));
402 PRBool Equals(const nsHashKey* aKey) const;
429 nsStringKey(const nsStringKey& aKey);
436 PRBool Equals(const nsHashKey* aKey) const;