Lines Matching refs:aKey
307 setObject(const OSSymbol *aKey, const OSMetaClassBase *anObject)
309 if (!anObject || !aKey)
314 if (aKey == dictionary[i].key) {
333 aKey->taggedRetain(OSTypeID(OSCollection));
335 dictionary[count].key = aKey;
342 void OSDictionary::removeObject(const OSSymbol *aKey)
344 if (!aKey)
349 if (aKey == dictionary[i].key) {
392 OSObject *OSDictionary::getObject(const OSSymbol *aKey) const
394 if (!aKey)
399 if (aKey == dictionary[i].key)
432 bool OSDictionary::setObject(const OSString *aKey, const OSMetaClassBase *anObject)
433 OBJECT_WRAP_2(setObject, OSSymbol::withString(aKey), anObject)
434 bool OSDictionary::setObject(const char *aKey, const OSMetaClassBase *anObject)
435 OBJECT_WRAP_2(setObject, OSSymbol::withCString(aKey), anObject)
437 OSObject *OSDictionary::getObject(const OSString *aKey) const
438 OBJECT_WRAP_1(getObject, OSSymbol::withString(aKey))
439 OSObject *OSDictionary::getObject(const char *aKey) const
440 OBJECT_WRAP_1(getObject, OSSymbol::withCString(aKey))
442 void OSDictionary::removeObject(const OSString *aKey)
443 OBJECT_WRAP_3(removeObject, OSSymbol::withString(aKey))
444 void OSDictionary::removeObject(const char *aKey)
445 OBJECT_WRAP_3(removeObject, OSSymbol::withCString(aKey))
454 OSString * aKey;
469 while ( (aKey = OSDynamicCast(OSString, iter->getNextObject())) ) {
470 obj1 = getObject(aKey);
471 obj2 = srcDict->getObject(aKey);