Searched defs:aKey (Results 1 - 25 of 32) sorted by relevance

12

/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsClassHashtable.h65 PRBool Get(KeyType aKey, UserDataType* pData) const;
88 PRBool Get(KeyType aKey, UserDataType* pData) const;
98 nsClassHashtable<KeyClass,T>::Get(KeyType aKey, T** retVal) const argument
101 this->GetEntry(aKey);
124 nsClassHashtableMT<KeyClass,T>::Get(KeyType aKey, T** retVal) const argument
129 this->GetEntry(aKey);
H A DnsInterfaceHashtable.h66 PRBool Get(KeyType aKey, UserDataType* pData) const;
74 Interface* GetWeak(KeyType aKey, PRBool* aFound = nsnull) const;
96 PRBool Get(KeyType aKey, UserDataType* pData) const;
111 (KeyType aKey, UserDataType* pInterface) const
114 this->GetEntry(aKey);
139 (KeyType aKey, PRBool* aFound) const
142 this->GetEntry(aKey);
165 (KeyType aKey, UserDataType* pInterface) const
170 this->GetEntry(aKey);
110 Get(KeyType aKey, UserDataType* pInterface) const argument
138 GetWeak(KeyType aKey, PRBool* aFound) const argument
164 Get(KeyType aKey, UserDataType* pInterface) const argument
H A DnsRefPtrHashtable.h67 PRBool Get(KeyType aKey, UserDataType* pData) const;
75 RefPtr* GetWeak(KeyType aKey, PRBool* aFound = nsnull) const;
97 PRBool Get(KeyType aKey, UserDataType* pData) const;
112 (KeyType aKey, UserDataType* pRefPtr) const
115 this->GetEntry(aKey);
140 (KeyType aKey, PRBool* aFound) const
143 this->GetEntry(aKey);
166 (KeyType aKey, UserDataType* pRefPtr) const
171 this->GetEntry(aKey);
111 Get(KeyType aKey, UserDataType* pRefPtr) const argument
139 GetWeak(KeyType aKey, PRBool* aFound) const argument
165 Get(KeyType aKey, UserDataType* pRefPtr) const argument
H A DnsPersistentProperties.h87 nsPropertyElement(const nsACString& aKey, const nsAString& aValue) argument
88 : mKey(aKey), mValue(aValue)
H A DnsDoubleHashtable.h84 * DictionaryEntry(const void* aKey) : PLDHashStringEntry(aKey) { }
164 * CONSTRUCTOR(const void* aKey)
173 * PRBool MatchEntry(const void* aKey) - return true or false depending on
174 * whether the key pointed to by aKey matches this entry
176 * static PLDHashNumber HashKey(const void* aKey) - get a hashcode based on the
292 * ENTRY_CLASS* GetEntry(aKey):
293 * Get the entry referenced by aKey and return a pointer to it. THIS IS A
299 * ENTRY_CLASS* AddEntry(aKey):
308 * void Remove(aKey)
414 PLDHashStringEntry(const void* aKey) argument
437 PLDHashCStringEntry(const void* aKey) argument
460 PLDHashInt32Entry(const void* aKey) argument
484 PLDHashVoidEntry(const void* aKey) argument
[all...]
H A DnsObserverService.cpp103 ReleaseObserverList(nsHashKey *aKey, void *aData, void* closure) argument
H A DnsBaseHashtable.h64 nsBaseHashtableET(KeyTypePointer aKey);
118 * @param aKey the key to retreive
125 PRBool Get(KeyType aKey, UserDataType* pData) const argument
127 EntryType* ent = this->GetEntry(aKey);
140 * @param aKey the key to put
144 PRBool Put(KeyType aKey, UserDataType aData) argument
146 EntryType* ent = this->PutEntry(aKey);
158 * @param aKey the key to remove from the hashtable
160 void Remove(KeyType aKey) { this->RemoveEntry(aKey); } argument
302 nsBaseHashtableET(KeyTypePointer aKey) argument
390 Get(KeyType aKey, UserDataType* pData) const argument
403 Put(KeyType aKey, UserDataType aData) argument
416 Remove(KeyType aKey) argument
[all...]
H A DnsHashKeys.h81 PRBool KeyEquals(const KeyTypePointer aKey) const
83 return mStr.Equals(*aKey);
86 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } argument
87 static PLDHashNumber HashKey(const KeyTypePointer aKey) argument
89 return HashString(*aKey);
115 PRBool KeyEquals(KeyTypePointer aKey) const { return mStr.Equals(*aKey); }
117 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } argument
118 HashKey(KeyTypePointer aKey) argument
139 nsUint32HashKey(KeyTypePointer aKey) argument
147 KeyToPointer(KeyType aKey) argument
148 HashKey(KeyTypePointer aKey) argument
177 KeyToPointer(KeyType aKey) argument
178 HashKey(KeyTypePointer aKey) argument
210 KeyToPointer(KeyType aKey) argument
211 HashKey(KeyTypePointer aKey) argument
241 KeyToPointer(KeyType aKey) argument
265 nsDepCharHashKey(const char* aKey) argument
276 KeyToPointer(const char* aKey) argument
277 HashKey(const char* aKey) argument
295 nsCharPtrHashKey(const char* aKey) argument
306 KeyToPointer(KeyType aKey) argument
307 HashKey(KeyTypePointer aKey) argument
[all...]
H A DnsTHashtable.h76 * EntryType(KeyTypePointer aKey);
89 * PRBool KeyEquals(KeyTypePointer aKey) const;
92 * static KeyTypePointer KeyToPointer(KeyType aKey);
95 * static PLDHashNumber HashKey(KeyTypePointer aKey);
154 * @param aKey the key to retrieve
158 EntryType* GetEntry(KeyType aKey) const
166 EntryType::KeyToPointer(aKey),
173 * @param aKey the key to retrieve
177 EntryType* PutEntry(KeyType aKey) argument
184 EntryType::KeyToPointer(aKey),
192 RemoveEntry(KeyType aKey) argument
[all...]
H A DnsHashtable.h85 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, voi
211 Exists(nsHashKey *aKey) argument
242 nsISupportsKey(const nsISupportsKey& aKey) argument
311 nsVoidKey(const nsVoidKey& aKey) argument
350 nsIDKey(const nsIDKey& aKey) argument
[all...]
H A DnsPersistentProperties.cpp264 nsPersistentProperties::SetStringProperty(const nsACString& aKey, argument
269 cout << "will add " << aKey.get() << "=" <<
273 const nsAFlatCString& flatKey = PromiseFlatCString(aKey);
280 NS_WARNING(nsPrintfCString(aKey.Length() + 30,
308 nsPersistentProperties::GetStringProperty(const nsACString& aKey, argument
311 const nsAFlatCString& flatKey = PromiseFlatCString(aKey);
478 nsPropertyElement::SetKey(const nsACString& aKey) argument
480 mKey = aKey;
H A DnsHashtable.cpp190 PRBool nsHashtable::Exists(nsHashKey *aKey) argument
198 PL_DHashTableOperate(&mHashtable, aKey, PL_DHASH_LOOKUP);
207 void *nsHashtable::Put(nsHashKey *aKey, void *aData) argument
220 PL_DHashTableOperate(&mHashtable, aKey, PL_DHASH_ADD));
229 entry->key = aKey->Clone();
239 void *nsHashtable::Get(nsHashKey *aKey) argument
247 PL_DHashTableOperate(&mHashtable, aKey, PL_DHASH_LOOKUP));
255 void *nsHashtable::Remove(nsHashKey *aKey) argument
269 PL_DHashTableOperate(&mHashtable, aKey, PL_DHASH_LOOKUP));
418 WriteEntry(nsHashKey *aKey, voi argument
490 nsCStringKey(const nsCStringKey& aKey) argument
617 nsStringKey(const nsStringKey& aKey) argument
797 RemoveAndDelete(nsHashKey *aKey) argument
809 ReleaseElement(nsHashKey *aKey, void *aData, void* aClosure) argument
824 Put(nsHashKey *aKey, nsISupports* aData, nsISupports **value) argument
837 Get(nsHashKey *aKey) argument
850 Remove(nsHashKey *aKey, nsISupports **value) argument
[all...]
/vbox/src/libs/xpcom18a4/java/src/org/mozilla/xpcom/
H A DINIParser.java231 * @param aKey the key whose value is to be returned.
234 public String getString(String aSection, String aKey) { argument
240 return props.getProperty(aKey);
/vbox/src/libs/xpcom18a4/xpcom/components/
H A DnsCategoryManager.h66 CategoryLeaf(const char* aKey) argument
67 : nsDepCharHashKey(aKey),
H A DnsCategoryManager.cpp641 enumfunc_categories(const char* aKey, CategoryNode* aCategory, void* userArg) argument
647 if (!aCategory->WritePersistentEntries(args->fd, aKey)) {
H A DnsNativeComponentLoader.cpp73 DLLStore_Destroy(nsHashKey *aKey, void *aData, void* closure) argument
363 nsFreeLibraryEnum(nsHashKey *aKey, void *aData, void* closure) argument
/vbox/src/libs/xpcom18a4/xpcom/base/
H A DnsErrorService.cpp42 CloneCString(nsHashKey *aKey, void *aData, void* closure) argument
48 DeleteCString(nsHashKey *aKey, void *aData, void* closure) argument
H A DnsTraceRefcntImpl.cpp684 static PLHashNumber PR_CALLBACK HashNumber(const void* aKey) argument
686 return PLHashNumber(NS_PTR_TO_INT32(aKey));
/vbox/src/libs/xpcom18a4/xpcom/proxy/src/
H A DnsProxyObjectManager.cpp117 static PRBool PurgeProxyClasses(nsHashKey *aKey, void *aData, void* closure) argument
/vbox/src/VBox/Main/src-server/
H A DVRDEServerImpl.cpp371 HRESULT VRDEServer::setVRDEProperty(const com::Utf8Str &aKey, const com::Utf8Str &aValue) argument
382 if (aKey == "TCP/Ports")
421 settings::StringsMap::const_iterator it = mData->mProperties.find(aKey);
428 mData->mProperties.erase(aKey);
430 mData->mProperties[aKey] = aValue;
449 HRESULT VRDEServer::getVRDEProperty(const com::Utf8Str &aKey, com::Utf8Str &aValue) argument
452 settings::StringsMap::const_iterator it = mData->mProperties.find(aKey);
455 else if (aKey == "TCP/Ports")
H A DNetworkAdapterImpl.cpp947 HRESULT NetworkAdapter::getProperty(const com::Utf8Str &aKey, com::Utf8Str &aValue) argument
951 settings::StringsMap::const_iterator it = mData->mGenericProperties.find(aKey);
958 HRESULT NetworkAdapter::setProperty(const com::Utf8Str &aKey, const com::Utf8Str &aValue) argument
970 settings::StringsMap::const_iterator it = mData->mGenericProperties.find(aKey);
977 mData->mGenericProperties.erase(aKey);
979 mData->mGenericProperties[aKey] = aValue;
/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/
H A DipcDConnectService.h115 DConnectInstanceKey(const Key *aKey) : mKey (*aKey) {} argument
122 PRBool KeyEquals(KeyTypePointer aKey) const {
123 return mKey.mPeer == aKey->mPeer &&
124 mKey.mObj == aKey->mObj &&
125 mKey.mIID->Equals(*aKey->mIID);
128 static KeyTypePointer KeyToPointer(KeyType aKey) { return &aKey; } argument
129 static PLDHashNumber HashKey(KeyTypePointer aKey) { argument
130 return aKey
174 DConnectStubKey(const Key *aKey) argument
186 KeyToPointer(KeyType aKey) argument
187 HashKey(KeyTypePointer aKey) argument
[all...]
/vbox/src/libs/xpcom18a4/xpcom/obsolete/
H A DnsSpecialSystemDirectory.cpp114 virtual PRBool Equals(const nsHashKey *aKey) const
117 ((SystemDirectoriesKey*)aKey)->sdKey;
130 PR_STATIC_CALLBACK(PRBool) DeleteSystemDirKeys(nsHashKey *aKey, void *aData, void* closure) argument
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestHashtables.cpp101 EntityToUnicodeEntry(const char* aKey) { mNode = nsnull; } argument
191 nsDEnumRead(const PRUint32& aKey, const char* aData, void* userArg) { argument
192 printf(" enumerated %u = \"%s\"\n", aKey, aData);
197 nsDEnum(const PRUint32& aKey, const char*& aData, void* userArg) { argument
198 printf(" enumerated %u = \"%s\"\n", aKey, aData);
203 nsCEnumRead(const nsACString& aKey, TestUniChar* aData, void* userArg) { argument
205 PromiseFlatCString(aKey).get(), aData->GetChar());
210 nsCEnum(const nsACString& aKey, nsAutoPtr<TestUniChar>& aData, void* userArg) { argument
212 PromiseFlatCString(aKey).get(), aData->GetChar());
362 nsIEnumRead(const PRUint32& aKey, IFo argument
371 nsIEnum(const PRUint32& aKey, nsCOMPtr<IFoo>& aData, void* userArg) argument
380 nsIEnum2Read(nsISupports* aKey, PRUint32 aData, void* userArg) argument
391 nsIEnum2(nsISupports* aKey, PRUint32& aData, void* userArg) argument
[all...]
/vbox/src/libs/xpcom18a4/ipc/ipcd/client/src/
H A Dipcdclient.cpp836 EnumerateTargetMapAndNotify(const nsID &aKey,
1328 EnumerateTargetMapAndNotify(const nsID &aKey, argument
1393 EnumerateTargetMapAndPlaceMsg(const nsID &aKey, argument
1397 if (!aKey.Equals(IPCM_TARGET))
1401 PlaceOnPendingQ(aKey, aData, msg->Clone());

Completed in 92 milliseconds

12