• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/xnu-2782.1.97/libkern/c++/

Lines Matching refs:aKey

325 setObject(const OSSymbol *aKey, const OSMetaClassBase *anObject)
330 if (!anObject || !aKey)
336 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0]));
337 exists = (i < count) && (aKey == dictionary[i].key);
339 if ((exists = (aKey == dictionary[i].key))) break;
362 aKey->taggedRetain(OSTypeID(OSCollection));
364 dictionary[i].key = aKey;
371 void OSDictionary::removeObject(const OSSymbol *aKey)
376 if (!aKey)
382 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0]));
383 exists = (i < count) && (aKey == dictionary[i].key);
385 if ((exists = (aKey == dictionary[i].key))) break;
430 OSObject *OSDictionary::getObject(const OSSymbol *aKey) const
435 if (!aKey)
441 i = OSSymbol::bsearch(aKey, &dictionary[0], count, sizeof(dictionary[0]));
442 exists = (i < count) && (aKey == dictionary[i].key);
444 if ((exists = (aKey == dictionary[i].key))) break;
481 bool OSDictionary::setObject(const OSString *aKey, const OSMetaClassBase *anObject)
482 OBJECT_WRAP_2(setObject, OSSymbol::withString(aKey), anObject)
483 bool OSDictionary::setObject(const char *aKey, const OSMetaClassBase *anObject)
484 OBJECT_WRAP_2(setObject, OSSymbol::withCString(aKey), anObject)
486 OSObject *OSDictionary::getObject(const OSString *aKey) const
487 OBJECT_WRAP_1(getObject, OSSymbol::withString(aKey))
488 OSObject *OSDictionary::getObject(const char *aKey) const
489 OBJECT_WRAP_1(getObject, OSSymbol::withCString(aKey))
491 void OSDictionary::removeObject(const OSString *aKey)
492 OBJECT_WRAP_3(removeObject, OSSymbol::withString(aKey))
493 void OSDictionary::removeObject(const char *aKey)
494 OBJECT_WRAP_3(removeObject, OSSymbol::withCString(aKey))
503 OSString * aKey;
518 while ( (aKey = OSDynamicCast(OSString, iter->getNextObject())) ) {
519 obj1 = getObject(aKey);
520 obj2 = srcDict->getObject(aKey);