Home
last modified time | relevance | path

Searched refs:aKey (Results 76 – 100 of 4379) sorted by relevance

12345678910>>...176

/dports/lang/spidermonkey60/firefox-60.9.0/netwerk/base/
H A DnsURIHashKey.h22 explicit nsURIHashKey(const nsIURI* aKey) : mKey(const_cast<nsIURI*>(aKey)) { in nsURIHashKey() argument
32 bool KeyEquals(const nsIURI* aKey) const { in KeyEquals() argument
35 return !aKey; in KeyEquals()
37 if (NS_SUCCEEDED(mKey->Equals(const_cast<nsIURI*>(aKey), &eq))) { in KeyEquals()
43 static const nsIURI* KeyToPointer(nsIURI* aKey) { return aKey; } in KeyToPointer() argument
44 static PLDHashNumber HashKey(const nsIURI* aKey) { in HashKey() argument
45 if (!aKey) { in HashKey()
52 mozilla::Unused << const_cast<nsIURI*>(aKey)->GetSpec(spec); in HashKey()
/dports/www/firefox-legacy/firefox-52.8.0esr/netwerk/base/
H A DnsURIHashKey.h23 explicit nsURIHashKey(const nsIURI* aKey) : in nsURIHashKey() argument
24 mKey(const_cast<nsIURI*>(aKey)) { MOZ_COUNT_CTOR(nsURIHashKey); } in nsURIHashKey()
31 bool KeyEquals(const nsIURI* aKey) const { in KeyEquals() argument
34 return !aKey; in KeyEquals()
36 if (NS_SUCCEEDED(mKey->Equals(const_cast<nsIURI*>(aKey), &eq))) { in KeyEquals()
42 static const nsIURI* KeyToPointer(nsIURI* aKey) { return aKey; } in KeyToPointer() argument
43 static PLDHashNumber HashKey(const nsIURI* aKey) { in HashKey() argument
44 if (!aKey) { in HashKey()
51 mozilla::Unused << const_cast<nsIURI*>(aKey)->GetSpec(spec); in HashKey()
/dports/lang/spidermonkey60/firefox-60.9.0/xpcom/ds/
H A DnsBaseHashtable.h33 explicit nsBaseHashtableET(KeyTypePointer aKey);
83 EntryType* ent = this->GetEntry(aKey); in Get()
105 UserDataType Get(KeyType aKey) const { in Get() argument
106 EntryType* ent = this->GetEntry(aKey); in Get()
119 DataType& GetOrInsert(const KeyType& aKey) { in GetOrInsert() argument
120 EntryType* ent = this->PutEntry(aKey); in GetOrInsert()
130 if (!Put(aKey, aData, mozilla::fallible)) { in Put()
152 void Put(KeyType aKey, UserDataType&& aData) { in Put() argument
179 if (auto* ent = this->GetEntry(aKey)) {
332 EntryType* ent = this->PutEntry(aKey); in LookupForAdd()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/xpcom/glue/
H A DnsClassHashtable.h51 bool Get(KeyType aKey, UserDataType* aData) const;
57 UserDataType Get(KeyType aKey) const;
70 void RemoveAndForget(KeyType aKey, nsAutoPtr<T>& aOut);
80 nsClassHashtable<KeyClass, T>::LookupOrAdd(KeyType aKey, in LookupOrAdd() argument
83 typename base_type::EntryType* ent = this->PutEntry(aKey); in LookupOrAdd()
92 nsClassHashtable<KeyClass, T>::Get(KeyType aKey, T** aRetVal) const in Get() argument
94 typename base_type::EntryType* ent = this->GetEntry(aKey); in Get()
113 nsClassHashtable<KeyClass, T>::Get(KeyType aKey) const in Get() argument
115 typename base_type::EntryType* ent = this->GetEntry(aKey); in Get()
129 typename base_type::EntryType* ent = this->GetEntry(aKey); in RemoveAndForget()
[all …]
H A DnsBaseHashtable.h34 explicit nsBaseHashtableET(KeyTypePointer aKey);
84 bool Get(KeyType aKey, UserDataType* aData) const in Get() argument
86 EntryType* ent = this->GetEntry(aKey); in Get()
108 UserDataType Get(KeyType aKey) const in Get() argument
110 EntryType* ent = this->GetEntry(aKey); in Get()
123 DataType& GetOrInsert(const KeyType& aKey) in GetOrInsert() argument
125 EntryType* ent = this->GetEntry(aKey); in GetOrInsert()
130 ent = this->PutEntry(aKey); in GetOrInsert()
142 if (!Put(aKey, aData, mozilla::fallible)) { in Put()
164 void Remove(KeyType aKey) { this->RemoveEntry(aKey); } in Remove() argument
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/media/
H A DAudioStreamTrack.cpp13 void AudioStreamTrack::AddAudioOutput(void* aKey) { in AddAudioOutput() argument
17 if (UniquePtr<CrossGraphPort>* cgm = mCrossGraphs.Get(aKey)) { in AddAudioOutput()
18 (*cgm)->AddAudioOutput(aKey); in AddAudioOutput()
21 mTrack->AddAudioOutput(aKey); in AddAudioOutput()
24 void AudioStreamTrack::RemoveAudioOutput(void* aKey) { in RemoveAudioOutput() argument
28 if (UniquePtr<CrossGraphPort>* cgm = mCrossGraphs.Get(aKey)) { in RemoveAudioOutput()
29 (*cgm)->RemoveAudioOutput(aKey); in RemoveAudioOutput()
32 mTrack->RemoveAudioOutput(aKey); in RemoveAudioOutput()
39 if (UniquePtr<CrossGraphPort>* cgm = mCrossGraphs.Get(aKey)) { in SetAudioOutputVolume()
40 (*cgm)->SetAudioOutputVolume(aKey, aVolume); in SetAudioOutputVolume()
[all …]
/dports/www/firefox/firefox-99.0/dom/media/
H A DAudioStreamTrack.cpp13 void AudioStreamTrack::AddAudioOutput(void* aKey) { in AddAudioOutput() argument
17 if (UniquePtr<CrossGraphPort>* cgm = mCrossGraphs.Get(aKey)) { in AddAudioOutput()
18 (*cgm)->AddAudioOutput(aKey); in AddAudioOutput()
21 mTrack->AddAudioOutput(aKey); in AddAudioOutput()
24 void AudioStreamTrack::RemoveAudioOutput(void* aKey) { in RemoveAudioOutput() argument
28 if (UniquePtr<CrossGraphPort>* cgm = mCrossGraphs.Get(aKey)) { in RemoveAudioOutput()
29 (*cgm)->RemoveAudioOutput(aKey); in RemoveAudioOutput()
32 mTrack->RemoveAudioOutput(aKey); in RemoveAudioOutput()
39 if (UniquePtr<CrossGraphPort>* cgm = mCrossGraphs.Get(aKey)) { in SetAudioOutputVolume()
40 (*cgm)->SetAudioOutputVolume(aKey, aVolume); in SetAudioOutputVolume()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/
H A DAudioStreamTrack.cpp13 void AudioStreamTrack::AddAudioOutput(void* aKey) { in AddAudioOutput() argument
17 if (UniquePtr<CrossGraphPort>* cgm = mCrossGraphs.Get(aKey)) { in AddAudioOutput()
18 (*cgm)->AddAudioOutput(aKey); in AddAudioOutput()
21 mTrack->AddAudioOutput(aKey); in AddAudioOutput()
24 void AudioStreamTrack::RemoveAudioOutput(void* aKey) { in RemoveAudioOutput() argument
28 if (UniquePtr<CrossGraphPort>* cgm = mCrossGraphs.Get(aKey)) { in RemoveAudioOutput()
29 (*cgm)->RemoveAudioOutput(aKey); in RemoveAudioOutput()
32 mTrack->RemoveAudioOutput(aKey); in RemoveAudioOutput()
39 if (UniquePtr<CrossGraphPort>* cgm = mCrossGraphs.Get(aKey)) { in SetAudioOutputVolume()
40 (*cgm)->SetAudioOutputVolume(aKey, aVolume); in SetAudioOutputVolume()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/netwerk/base/
H A DnsURIHashKey.h25 explicit nsURIHashKey(const nsIURI* aKey) : mKey(const_cast<nsIURI*>(aKey)) { in nsURIHashKey() argument
41 bool KeyEquals(const nsIURI* aKey) const { in KeyEquals() argument
44 return !aKey; in KeyEquals()
46 if (NS_SUCCEEDED(mKey->Equals(const_cast<nsIURI*>(aKey), &eq))) { in KeyEquals()
52 static const nsIURI* KeyToPointer(nsIURI* aKey) { return aKey; } in KeyToPointer() argument
53 static PLDHashNumber HashKey(const nsIURI* aKey) { in HashKey() argument
54 if (!aKey) { in HashKey()
61 mozilla::Unused << const_cast<nsIURI*>(aKey)->GetSpec(spec); in HashKey()
/dports/www/firefox/firefox-99.0/netwerk/base/
H A DnsURIHashKey.h25 explicit nsURIHashKey(const nsIURI* aKey) : mKey(const_cast<nsIURI*>(aKey)) { in nsURIHashKey() argument
41 bool KeyEquals(const nsIURI* aKey) const { in KeyEquals() argument
44 return !aKey; in KeyEquals()
46 if (NS_SUCCEEDED(mKey->Equals(const_cast<nsIURI*>(aKey), &eq))) { in KeyEquals()
52 static const nsIURI* KeyToPointer(nsIURI* aKey) { return aKey; } in KeyToPointer() argument
53 static PLDHashNumber HashKey(const nsIURI* aKey) { in HashKey() argument
54 if (!aKey) { in HashKey()
61 mozilla::Unused << const_cast<nsIURI*>(aKey)->GetSpec(spec); in HashKey()
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/base/
H A DnsURIHashKey.h25 explicit nsURIHashKey(const nsIURI* aKey) : mKey(const_cast<nsIURI*>(aKey)) { in nsURIHashKey() argument
41 bool KeyEquals(const nsIURI* aKey) const { in KeyEquals() argument
44 return !aKey; in KeyEquals()
46 if (NS_SUCCEEDED(mKey->Equals(const_cast<nsIURI*>(aKey), &eq))) { in KeyEquals()
52 static const nsIURI* KeyToPointer(nsIURI* aKey) { return aKey; } in KeyToPointer() argument
53 static PLDHashNumber HashKey(const nsIURI* aKey) { in HashKey() argument
54 if (!aKey) { in HashKey()
61 mozilla::Unused << const_cast<nsIURI*>(aKey)->GetSpec(spec); in HashKey()
/dports/lang/spidermonkey78/firefox-78.9.0/netwerk/base/
H A DnsURIHashKey.h25 explicit nsURIHashKey(const nsIURI* aKey) : mKey(const_cast<nsIURI*>(aKey)) { in nsURIHashKey() argument
41 bool KeyEquals(const nsIURI* aKey) const { in KeyEquals() argument
44 return !aKey; in KeyEquals()
46 if (NS_SUCCEEDED(mKey->Equals(const_cast<nsIURI*>(aKey), &eq))) { in KeyEquals()
52 static const nsIURI* KeyToPointer(nsIURI* aKey) { return aKey; } in KeyToPointer() argument
53 static PLDHashNumber HashKey(const nsIURI* aKey) { in HashKey() argument
54 if (!aKey) { in HashKey()
61 mozilla::Unused << const_cast<nsIURI*>(aKey)->GetSpec(spec); in HashKey()
/dports/mail/thunderbird/thunderbird-91.8.0/xpcom/ds/
H A DnsTHashtable.h297 bool Contains(KeyType aKey) const { return !!GetEntry(aKey); } in Contains() argument
304 EntryType* PutEntry(KeyType aKey) { in PutEntry() argument
334 EntryType* entry = PutEntry(aKey);
345 void RemoveEntry(KeyType aKey) { in RemoveEntry() argument
356 bool EnsureRemoved(KeyType aKey) { in EnsureRemoved() argument
357 auto* entry = GetEntry(aKey); in EnsureRemoved()
764 explicit VoidPtrHashKey(const void* aKey) : Base(aKey) {} in VoidPtrHashKey() argument
809 bool Contains(T* aKey) const { return Base::Contains(aKey); } in Contains() argument
811 EntryType* PutEntry(T* aKey) { in PutEntry() argument
825 void RemoveEntry(T* aKey) { Base::RemoveEntry(aKey); } in RemoveEntry() argument
[all …]
/dports/www/firefox/firefox-99.0/xpcom/ds/
H A DnsTHashtable.h297 bool Contains(KeyType aKey) const { return !!GetEntry(aKey); } in Contains() argument
304 EntryType* PutEntry(KeyType aKey) { in PutEntry() argument
334 EntryType* entry = PutEntry(aKey);
345 void RemoveEntry(KeyType aKey) { in RemoveEntry() argument
356 bool EnsureRemoved(KeyType aKey) { in EnsureRemoved() argument
357 auto* entry = GetEntry(aKey); in EnsureRemoved()
764 explicit VoidPtrHashKey(const void* aKey) : Base(aKey) {} in VoidPtrHashKey() argument
809 bool Contains(T* aKey) const { return Base::Contains(aKey); } in Contains() argument
811 EntryType* PutEntry(T* aKey) { in PutEntry() argument
825 void RemoveEntry(T* aKey) { Base::RemoveEntry(aKey); } in RemoveEntry() argument
[all …]
/dports/www/firefox-esr/firefox-91.8.0/xpcom/ds/
H A DnsTHashtable.h297 bool Contains(KeyType aKey) const { return !!GetEntry(aKey); } in Contains() argument
304 EntryType* PutEntry(KeyType aKey) { in PutEntry() argument
334 EntryType* entry = PutEntry(aKey);
345 void RemoveEntry(KeyType aKey) { in RemoveEntry() argument
356 bool EnsureRemoved(KeyType aKey) { in EnsureRemoved() argument
357 auto* entry = GetEntry(aKey); in EnsureRemoved()
764 explicit VoidPtrHashKey(const void* aKey) : Base(aKey) {} in VoidPtrHashKey() argument
809 bool Contains(T* aKey) const { return Base::Contains(aKey); } in Contains() argument
811 EntryType* PutEntry(T* aKey) { in PutEntry() argument
825 void RemoveEntry(T* aKey) { Base::RemoveEntry(aKey); } in RemoveEntry() argument
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/xslt/xslt/
H A DtxKey.h38 explicit txKeyValueHashEntry(KeyTypePointer aKey) in txKeyValueHashEntry()
39 : mKey(*aKey), mNodeSet(new txNodeSet(nullptr)) {} in txKeyValueHashEntry()
44 bool KeyEquals(KeyTypePointer aKey) const;
46 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
48 static PLDHashNumber HashKey(KeyTypePointer aKey);
72 explicit txIndexedKeyHashEntry(KeyTypePointer aKey) in txIndexedKeyHashEntry()
73 : mKey(*aKey), mIndexed(false) {} in txIndexedKeyHashEntry()
78 bool KeyEquals(KeyTypePointer aKey) const;
80 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
82 static PLDHashNumber HashKey(KeyTypePointer aKey);
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/xslt/xslt/
H A DtxKey.h37 explicit txKeyValueHashEntry(KeyTypePointer aKey) in txKeyValueHashEntry()
38 : mKey(*aKey), mNodeSet(new txNodeSet(nullptr)) {} in txKeyValueHashEntry()
43 bool KeyEquals(KeyTypePointer aKey) const;
45 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
47 static PLDHashNumber HashKey(KeyTypePointer aKey);
71 explicit txIndexedKeyHashEntry(KeyTypePointer aKey) in txIndexedKeyHashEntry()
72 : mKey(*aKey), mIndexed(false) {} in txIndexedKeyHashEntry()
77 bool KeyEquals(KeyTypePointer aKey) const;
79 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
81 static PLDHashNumber HashKey(KeyTypePointer aKey);
[all …]
/dports/www/firefox/firefox-99.0/dom/xslt/xslt/
H A DtxKey.h38 explicit txKeyValueHashEntry(KeyTypePointer aKey) in txKeyValueHashEntry()
39 : mKey(*aKey), mNodeSet(new txNodeSet(nullptr)) {} in txKeyValueHashEntry()
44 bool KeyEquals(KeyTypePointer aKey) const;
46 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
48 static PLDHashNumber HashKey(KeyTypePointer aKey);
72 explicit txIndexedKeyHashEntry(KeyTypePointer aKey) in txIndexedKeyHashEntry()
73 : mKey(*aKey), mIndexed(false) {} in txIndexedKeyHashEntry()
78 bool KeyEquals(KeyTypePointer aKey) const;
80 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
82 static PLDHashNumber HashKey(KeyTypePointer aKey);
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/xslt/xslt/
H A DtxKey.h42 explicit txKeyValueHashEntry(KeyTypePointer aKey) in txKeyValueHashEntry()
43 : mKey(*aKey), in txKeyValueHashEntry()
50 bool KeyEquals(KeyTypePointer aKey) const;
52 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
54 static PLDHashNumber HashKey(KeyTypePointer aKey);
84 explicit txIndexedKeyHashEntry(KeyTypePointer aKey) in txIndexedKeyHashEntry()
85 : mKey(*aKey), in txIndexedKeyHashEntry()
92 bool KeyEquals(KeyTypePointer aKey) const;
94 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
96 static PLDHashNumber HashKey(KeyTypePointer aKey);
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/xslt/xslt/
H A DtxKey.h38 explicit txKeyValueHashEntry(KeyTypePointer aKey) in txKeyValueHashEntry()
39 : mKey(*aKey), mNodeSet(new txNodeSet(nullptr)) {} in txKeyValueHashEntry()
44 bool KeyEquals(KeyTypePointer aKey) const;
46 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
48 static PLDHashNumber HashKey(KeyTypePointer aKey);
72 explicit txIndexedKeyHashEntry(KeyTypePointer aKey) in txIndexedKeyHashEntry()
73 : mKey(*aKey), mIndexed(false) {} in txIndexedKeyHashEntry()
78 bool KeyEquals(KeyTypePointer aKey) const;
80 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
82 static PLDHashNumber HashKey(KeyTypePointer aKey);
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/xslt/xslt/
H A DtxKey.h37 explicit txKeyValueHashEntry(KeyTypePointer aKey) in txKeyValueHashEntry()
38 : mKey(*aKey), mNodeSet(new txNodeSet(nullptr)) {} in txKeyValueHashEntry()
43 bool KeyEquals(KeyTypePointer aKey) const;
45 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
47 static PLDHashNumber HashKey(KeyTypePointer aKey);
71 explicit txIndexedKeyHashEntry(KeyTypePointer aKey) in txIndexedKeyHashEntry()
72 : mKey(*aKey), mIndexed(false) {} in txIndexedKeyHashEntry()
77 bool KeyEquals(KeyTypePointer aKey) const;
79 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
81 static PLDHashNumber HashKey(KeyTypePointer aKey);
[all …]
/dports/benchmarks/polygraph/polygraph-4.13.0/src/loganalyzers/
H A DStex.h30 Stex(const String &aKey, const String &aName);
64 HitsStex(const String &aKey, const String &aName);
74 MissesStex(const String &aKey, const String &aName);
84 HitMissesStex(const String &aKey, const String &aName);
148 CachableStex(const String &aKey, const String &aName);
157 UnCachableStex(const String &aKey, const String &aName);
179 FillStex(const String &aKey, const String &aName);
205 AllMethodsStex(const String &aKey, const String &aName);
220 AllRepsStex(const String &aKey, const String &aName);
382 AllAuthEdStex(const String &aKey, const String &aName);
[all …]
/dports/lang/seed7/seed7/lib/
H A Dhash.s7i142 * with the key ''aKey''.
145 return INDEX(aHashMap, aKey, hashCode(aKey), hashType.keyCompare);
148 return var INDEX(aHashMap, aKey, hashCode(aKey), hashType.keyCompare);
154 * with the key ''aKey''.
157 return INDEX2(aHashMap, aKey, hashCode(aKey), defaultValue,
167 return CONTAINS(aHashMap, aKey, hashCode(aKey), hashType.keyCompare);
176 return not CONTAINS(aHashMap, aKey, hashCode(aKey), hashType.keyCompare);
186 INCL(aHashMap, aKey, anElem, hashCode(aKey), hashType.keyCompare,
195 EXCL(aHashMap, aKey, hashCode(aKey), hashType.keyCompare,
207 INCL(aHashMap, aKey, anElem, hashCode(aKey), hashType.keyCompare,
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/thebes/
H A DgfxGradientCache.cpp43 static PLDHashNumber HashKey(const KeyTypePointer aKey) { in HashKey()
46 hash = AddToHash(hash, int(aKey->mBackendType)); in HashKey()
47 hash = AddToHash(hash, int(aKey->mExtend)); in HashKey()
48 for (uint32_t i = 0; i < aKey->mStops.Length(); i++) { in HashKey()
52 convert.f = aKey->mStops[i].offset; in HashKey()
58 bool KeyEquals(KeyTypePointer aKey) const { in KeyEquals()
60 if (aKey->mStops.Length() != mStops.Length()) { in KeyEquals()
65 mStops[i].offset != aKey->mStops[i].offset) { in KeyEquals()
73 (aKey->mExtend == mExtend); in KeyEquals()
75 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } in KeyToPointer()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/thebes/
H A DgfxGradientCache.cpp43 HashKey(const KeyTypePointer aKey) in HashKey()
47 hash = AddToHash(hash, int(aKey->mBackendType)); in HashKey()
48 hash = AddToHash(hash, int(aKey->mExtend)); in HashKey()
52 convert.f = aKey->mStops[i].offset; in HashKey()
58 bool KeyEquals(KeyTypePointer aKey) const in KeyEquals()
61 if (aKey->mStops.Length() != mStops.Length()) { in KeyEquals()
74 (aKey->mBackendType == mBackendType) && in KeyEquals()
75 (aKey->mExtend == mExtend); in KeyEquals()
77 static KeyTypePointer KeyToPointer(KeyType aKey) in KeyToPointer()
79 return &aKey; in KeyToPointer()
[all …]

12345678910>>...176