/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsHashKeys.h | 81 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 D | nsHashtable.h | 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, 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 D | nsHashSets.h | 84 nsresult Put(const KEY_TYPE aKey) { \ 85 return AddEntry(aKey) ? NS_OK : NS_ERROR_OUT_OF_MEMORY; \ 87 PRBool Contains(const KEY_TYPE aKey) { \ 88 return GetEntry(aKey) ? PR_TRUE : PR_FALSE; \
|
H A D | nsInterfaceHashtable.h | 66 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 D | nsRefPtrHashtable.h | 67 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 D | nsClassHashtable.h | 65 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 D | nsDoubleHashtable.h | 84 * 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 D | nsPersistentProperties.h | 87 nsPropertyElement(const nsACString& aKey, const nsAString& aValue) argument 88 : mKey(aKey), mValue(aValue)
|
H A D | nsBaseHashtable.h | 64 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 D | nsHashtable.cpp | 190 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...] |
H A D | nsPersistentProperties.cpp | 264 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 D | nsTHashtable.h | 76 * 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 D | nsObserverService.cpp | 103 ReleaseObserverList(nsHashKey *aKey, void *aData, void* closure) argument
|
/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ |
H A D | ipcDConnectService.h | 115 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/tests/ |
H A D | TestHashtables.cpp | 101 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/VBox/Main/include/ |
H A D | VRDEServerImpl.h | 71 HRESULT setVRDEProperty(const com::Utf8Str &aKey, 73 HRESULT getVRDEProperty(const com::Utf8Str &aKey,
|
H A D | NetworkAdapterImpl.h | 102 HRESULT getProperty(const com::Utf8Str &aKey, 104 HRESULT setProperty(const com::Utf8Str &aKey,
|
H A D | VirtualBoxImpl.h | 135 BOOL i_onExtraDataCanChange(const Guid &aId, IN_BSTR aKey, IN_BSTR aValue, 137 void i_onExtraDataChange(const Guid &aId, IN_BSTR aKey, IN_BSTR aValue); 243 void i_storeSettingsKey(const Utf8Str &aKey); 317 HRESULT getExtraData(const com::Utf8Str &aKey, 319 HRESULT setExtraData(const com::Utf8Str &aKey,
|
/vbox/src/libs/xpcom18a4/xpcom/components/ |
H A D | nsCategoryManager.h | 66 CategoryLeaf(const char* aKey) argument 67 : nsDepCharHashKey(aKey),
|
/vbox/src/libs/xpcom18a4/java/src/org/mozilla/xpcom/ |
H A D | INIParser.java | 231 * @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/base/ |
H A D | nsErrorService.cpp | 42 CloneCString(nsHashKey *aKey, void *aData, void* closure) argument 48 DeleteCString(nsHashKey *aKey, void *aData, void* closure) argument
|
H A D | nsExceptionService.cpp | 59 PRBool Equals(const nsHashKey *aKey) const { 60 return mKey == ((const nsProviderKey *) aKey)->mKey;
|
/vbox/src/VBox/Main/src-server/ |
H A D | VRDEServerImpl.cpp | 371 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")
|
/vbox/src/libs/xpcom18a4/xpcom/proxy/src/ |
H A D | nsProxyObjectManager.cpp | 117 static PRBool PurgeProxyClasses(nsHashKey *aKey, void *aData, void* closure) argument
|
H A D | nsProxyEventObject.cpp | 71 PRBool Equals(const nsHashKey *aKey) const { 72 const nsProxyEventKey* other = (const nsProxyEventKey*)aKey;
|