• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/xnu-2422.115.4/libkern/c++/

Lines Matching defs:aKey

318 setObject(const OSSymbol *aKey, const OSMetaClassBase *anObject)
323 if (!anObject || !aKey)
329 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0]));
330 exists = (i < count) && (aKey == dictionary[i].key);
332 if ((exists = (aKey == dictionary[i].key))) break;
355 aKey->taggedRetain(OSTypeID(OSCollection));
357 dictionary[i].key = aKey;
364 void OSDictionary::removeObject(const OSSymbol *aKey)
369 if (!aKey)
375 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0]));
376 exists = (i < count) && (aKey == dictionary[i].key);
378 if ((exists = (aKey == dictionary[i].key))) break;
423 OSObject *OSDictionary::getObject(const OSSymbol *aKey) const
428 if (!aKey)
434 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0]));
435 exists = (i < count) && (aKey == dictionary[i].key);
437 if ((exists = (aKey == dictionary[i].key))) break;
474 bool OSDictionary::setObject(const OSString *aKey, const OSMetaClassBase *anObject)
475 OBJECT_WRAP_2(setObject, OSSymbol::withString(aKey), anObject)
476 bool OSDictionary::setObject(const char *aKey, const OSMetaClassBase *anObject)
477 OBJECT_WRAP_2(setObject, OSSymbol::withCString(aKey), anObject)
479 OSObject *OSDictionary::getObject(const OSString *aKey) const
480 OBJECT_WRAP_1(getObject, OSSymbol::withString(aKey))
481 OSObject *OSDictionary::getObject(const char *aKey) const
482 OBJECT_WRAP_1(getObject, OSSymbol::withCString(aKey))
484 void OSDictionary::removeObject(const OSString *aKey)
485 OBJECT_WRAP_3(removeObject, OSSymbol::withString(aKey))
486 void OSDictionary::removeObject(const char *aKey)
487 OBJECT_WRAP_3(removeObject, OSSymbol::withCString(aKey))
496 OSString * aKey;
511 while ( (aKey = OSDynamicCast(OSString, iter->getNextObject())) ) {
512 obj1 = getObject(aKey);
513 obj2 = srcDict->getObject(aKey);