| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSSharedPtr.h | 63 inline constexpr auto OSRetain = libkern::retain; variable 93 OSSharedPtr<Destination> dest(raw, OSRetain); in OSDynamicPtrCast() 120 OSTaggedSharedPtr<Destination, Tag> dest(raw, OSRetain); in OSDynamicPtrCast() 129 return OSSharedPtr<To>(static_cast<To*>(ptr.get()), OSRetain); in OSStaticPtrCast() 143 return OSSharedPtr<To>(const_cast<To*>(ptr.get()), OSRetain); in OSConstPtrCast()
|
| /xnu-11215/libkern/c++/ |
| H A D | OSCollection.cpp | 96 return OSSharedPtr<OSCollection>(reinterpret_cast<OSCollection *>(obj), OSRetain); in copyCollection() 102 return OSSharedPtr<OSCollection>(this, OSRetain); in copyCollection()
|
| H A D | OSArray.cpp | 106 array[count++].reset(newObject, OSRetain); in initWithObjects() 279 array[index].reset(anObject, OSRetain); in setObject() 314 array[count++].reset(newObject, OSRetain); in merge() 330 array[index].reset(anObject, OSRetain); in replaceObject()
|
| H A D | OSDictionary.cpp | 390 dictionary[i].value.reset(anObject, OSRetain); in setObject() 404 dictionary[i].key.reset(aKey, OSRetain); in setObject() 405 dictionary[i].value.reset(anObject, OSRetain); in setObject() 817 newDict->dictionary[i].value.reset(newColl.get(), OSRetain); in copyCollection()
|
| H A D | OSSymbol.cpp | 428 OSSharedPtr<const OSSymbol> aStringNew((const OSSymbol *)aString, OSRetain); in withString() 539 OSSharedPtr<const OSSymbol> aStringNew((const OSSymbol *)aString, OSRetain); in existingSymbolForString()
|
| H A D | OSCollectionIterator.cpp | 49 collection.reset(inColl, OSRetain); in OSDefineMetaClassAndStructors()
|
| H A D | OSOrderedSet.cpp | 227 array[index].obj.reset(anObject, OSRetain); in setObject()
|
| H A D | OSKext.cpp | 3001 infoDict.reset(aDictionary, OSRetain); in setInfoDictionaryAndPath() 3039 path.reset(aPath, OSRetain); in setInfoDictionaryAndPath() 4284 foundDext.reset(dext, OSRetain); in lookupDextWithIdentifier() 4308 foundKext.reset(thisKext, OSRetain); in lookupKextWithLoadTag() 4352 foundKext.reset(thisKext, OSRetain); in lookupKextWithAddress() 4367 foundKext.reset(thisKext, OSRetain); in lookupKextWithAddress() 4374 foundKext.reset(sKernelKext, OSRetain); in lookupKextWithAddress() 4393 foundKext.reset(thisKext, OSRetain); in lookupKextWithAddress() 4488 foundKext.reset(thisKext, OSRetain); in lookupKextWithUUID() 7783 linkedExecutable.reset(anExecutable, OSRetain); [all …]
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IONVRAMV3Handler.cpp | 684 …tries[entry].value.reset(OSDynamicCast(OSData, _varDict->getObject(canonicalKey.get())), OSRetain); in handleEphDM() 1102 _varEntries.reset(remainingEntries.get(), OSRetain); in reclaim() 1236 _varEntries.reset(remainingEntries.get(), OSRetain); in syncRaw() 1316 _varEntries.reset(remainingEntries.get(), OSRetain); in syncBlock() 1508 tmpObject.reset(kOSBooleanTrue, OSRetain); in convertPropToObject() 1510 tmpObject.reset(kOSBooleanFalse, OSRetain); in convertPropToObject()
|
| H A D | IODMAEventSource.cpp | 62 dmaController.reset(IODMAController::getController(dmaProvider, inDMAIndex), OSRetain); in init()
|
| H A D | IONVRAM.cpp | 927 existingEntry.reset(OSDynamicCast(OSDictionary, _stats->getObject(entryKey)), OSRetain); in logVariable() 963 currentCount.reset(OSDynamicCast(OSNumber, existingEntry->getObject(opCountKey)), OSRetain); in logVariable() 1718 theObject.reset(_varDict->getObject(canonicalKey.get()), OSRetain); in copyPropertyWithGUIDAndName() 1792 OSSharedPtr<OSObject> sharedObject(anObject, OSRetain); in setPropertyWithGUIDAndName()
|
| H A D | IONVRAMCHRPHandler.cpp | 1042 tmpObject.reset(kOSBooleanTrue, OSRetain); in convertPropToObject() 1044 tmpObject.reset(kOSBooleanFalse, OSRetain); in convertPropToObject()
|
| H A D | IODMACommand.cpp | 337 fMapper.reset(mapper, OSRetain); in setSpecification() 438 fMemory.reset(const_cast<IOMemoryDescriptor *>(mem), OSRetain); in setMemoryDescriptor()
|
| H A D | IOPMrootDomain.cpp | 2234 request->data.service.reset(service, OSRetain); // released by synchronizeAggressives() in joinAggressiveness() 4454 _nextScheduledAlarmType.reset(type, OSRetain); 4500 _nextScheduledAlarmType.reset(type, OSRetain); 4900 obj.reset(fPMSettingsDict->getObject(whichSetting), OSRetain); 5632 obj.reset(optionsDict->getObject(key), OSRetain); 5978 wrangler.reset(service, OSRetain); 8153 systemCapabilityNotifier.reset((IONotifier *) arg0, OSRetain); 9624 notifier->clientName.reset(notifier->identifier.get(), OSRetain); 9665 notifierObject.reset(notifier, OSRetain); 10266 service.reset(OSDynamicCast(IOService, inner->getAnyObject()), OSRetain);
|
| H A D | IOService.cpp | 6782 return OSSharedPtr<OSDictionary>(result, OSRetain); in serviceMatching() 6812 return OSSharedPtr<OSDictionary>(result, OSRetain); in serviceMatching() 6840 return OSSharedPtr<OSDictionary>(result, OSRetain); in nameMatching() 6870 return OSSharedPtr<OSDictionary>(result, OSRetain); in nameMatching() 6896 return OSSharedPtr<OSDictionary>(result, OSRetain); in resourceMatching() 6927 return OSSharedPtr<OSDictionary>(result, OSRetain); in resourceMatching() 6965 return OSSharedPtr<OSDictionary>(result, OSRetain); in propertyMatching() 7004 return OSSharedPtr<OSDictionary>(result, OSRetain); in registryEntryIDMatching()
|
| H A D | IOMemoryDescriptor.cpp | 226 memDesc.reset(ref->dp.memory, OSRetain); in device_data_action() 1863 self.reset(originalMD, OSRetain); in withPersistentMemoryDescriptor() 5153 OSSharedPtr<IOMemoryDescriptor> tempval(_memory, OSRetain); in setMemoryDescriptor() 5631 newMapping->fSuperMap.reset(this, OSRetain); in copyCompatible() 5945 mapDesc.reset(this, OSRetain); in makeMapping()
|
| H A D | IOUserClient.cpp | 2162 targetP.reset(targetPRaw, OSRetain); in getTargetAndMethodForIndex() 2185 targetP.reset(targetPRaw, OSRetain); in getAsyncTargetAndMethodForIndex()
|
| H A D | IOUserServer.cpp | 4493 pCls.reset(pClsRaw, OSRetain); in registerClass()
|
| /xnu-11215/iokit/Tests/ |
| H A D | Tests.cpp | 1532 OSTaggedSharedPtr<OSCollection, OSCollection> taggedDict(dict.get(), OSRetain); in OSDynamicPtrCastTests() 1537 OSTaggedSharedPtr<OSCollection, OSCollection> taggedDict(dict.get(), OSRetain); in OSDynamicPtrCastTests()
|