Lines Matching defs:nsHashKey

69 class NS_COM nsHashKey {
71 nsHashKey(void) {
75 MOZ_COUNT_CTOR(nsHashKey);
81 // nsHashKey pointer.
83 virtual ~nsHashKey(void);
85 virtual PRBool Equals(const nsHashKey *aKey) const = 0;
86 virtual nsHashKey *Clone() const = 0;
117 (*PR_CALLBACK nsHashtableEnumFunc)(nsHashKey *aKey, void *aData, void* aClosure);
121 nsHashKey **aKey,
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) {
214 PRBool Put(nsHashKey *aKey,
217 nsISupports* Get(nsHashKey *aKey);
218 PRBool Remove(nsHashKey *aKey, nsISupports **value = nsnull);
226 static PRBool PR_CALLBACK ReleaseElement(nsHashKey *, void *, void *);
237 class NS_COM nsISupportsKey : public nsHashKey {
265 PRBool Equals(const nsHashKey *aKey) const {
270 nsHashKey *Clone() const {
279 class nsPRUint32Key : public nsHashKey {
294 PRBool Equals(const nsHashKey *aKey) const {
297 nsHashKey *Clone() const {
306 class nsVoidKey : public nsHashKey {
328 PRBool Equals(const nsHashKey *aKey) const {
333 nsHashKey *Clone() const {
345 class NS_COM nsIDKey : public nsHashKey {
367 PRBool Equals(const nsHashKey *aKey) const {
372 nsHashKey *Clone() const {
385 class NS_COM nsCStringKey : public nsHashKey {
402 PRBool Equals(const nsHashKey* aKey) const;
403 nsHashKey* Clone() const;
419 class NS_COM nsStringKey : public nsHashKey {
436 PRBool Equals(const nsHashKey* aKey) const;
437 nsHashKey* Clone() const;