Lines Matching refs:OSDynamicCast

396 	if (OSDynamicCast(IOUserServer, this) != NULL || started) {  in RegisterService_Impl()
528 dict = OSDynamicCast(OSDictionary, properties); in SetProperties_Impl()
550 userProps = OSDynamicCast(OSDictionary, getProperty(gIOUserServicePropertiesKey)); in SetProperties_Impl()
590 userProps = OSDynamicCast(OSDictionary, getProperty(gIOUserServicePropertiesKey)); in RemoveProperty_Impl()
616 userProps = OSDynamicCast(OSDictionary, props->getObject(gIOUserServicePropertiesKey)); in CopyProperties_Local()
870 me = OSDynamicCast(IOUserUserClient, this); in CreateMemoryDescriptorFromClient_Impl()
1284 inst = OSDynamicCast(OSAction, obj); in OSActionCreateWithTypeNameInternal()
1315 if (!fromKernel && !OSDynamicCast(IOService, target)) { in OSActionCreateWithTypeNameInternal()
1318 inst->ivars->userServer = OSDynamicCast(IOUserServer, us); in OSActionCreateWithTypeNameInternal()
1793 assert(OSDynamicCast(IOUserServer, us)); in Create_Impl()
2196 if (!(interrupt = OSDynamicCast(IOInterruptDispatchSource, object))) { in waitInterruptTrap()
2270 assert(OSDynamicCast(IOUserServer, us)); in Create_Impl()
2361 assert(OSDynamicCast(IOUserServer, us)); in Create_Impl()
2440 us = OSDynamicCast(IOUserServer, this); in Invoke()
2445 if ((action = OSDynamicCast(OSAction, this))) { in Invoke()
2450 if ((service = OSDynamicCast(IOService, object)) in Invoke()
2456 } else if ((eventLink = OSDynamicCast(IOEventLink, object))) { in Invoke()
2458 } else if ((workgroup = OSDynamicCast(IOWorkGroup, object))) { in Invoke()
2665 string = OSDynamicCast(OSString, object); in checkEntitlements()
2745 if ((service = OSDynamicCast(IOService, obj))) { in varsForObject()
2908 service = OSDynamicCast(IOService, obj); in objectInstantiate()
2909 action = OSDynamicCast(OSAction, obj); in objectInstantiate()
2927 str = OSDynamicCast(OSString, prop); in objectInstantiate()
3186 server = OSDynamicCast(IOUserServer, object); in uext_server()
3262 if ((action = OSDynamicCast(OSAction, object))) { in server()
3454 if ((action = OSDynamicCast(OSAction, object))) { in IOUserServerUEXTTrap()
3556 if ((service = OSDynamicCast(IOService, (OSObject *) message->objects[0]))) { in rpc()
3775 IOMemoryDescriptor * iomd = OSDynamicCast(IOMemoryDescriptor, object); in copyOutObjects()
4062 IOUserClient * nextUserClient = OSDynamicCast(IOUserClient, nextService); in finalize()
4217 IOUserServer * us = OSDynamicCast(IOUserServer, obj); in IOUserServerRecordExitReasonMatch()
4470 cls->superMeta = OSDynamicCast(OSUserMetaClass, fClasses->getObject(desc->superName)); in registerClass()
4574 IOUserServerCheckInToken * retrievedToken = OSDynamicCast(IOUserServerCheckInToken, obj); in externalMethodStart()
4626 OSArray * serviceArray = OSDynamicCast(OSArray, serviceArrayObj); in serviceAttach()
4630 serviceArray = OSDynamicCast(OSArray, serviceArray->copyCollection()); in serviceAttach()
4649 str2 = OSDynamicCast(OSString, prop); in serviceAttach()
4665 str = OSDynamicCast(OSString, prop); in serviceAttach()
4672 bundleID = OSDynamicCast(OSSymbol, prop); in serviceAttach()
4725 userUC = OSDynamicCast(IOUserUserClient, uc); in serviceNewUserClient()
4806 OSString * bundleIDStr = OSDynamicCast(OSString, bundleID); in serviceNewUserClient()
4924 str = OSDynamicCast(OSString, prop); in serviceJoinPMTree()
5078 if ((conn = OSDynamicCast(IOPowerConnection, parent))) { in checkPMReady()
5211 properties = OSDynamicCast(OSDictionary, prop); in Create_Impl()
5216 copyProperties = OSDynamicCast(OSDictionary, properties->copyCollection()); in Create_Impl()
5230 str = OSDynamicCast(OSString, copyProperties->getObject(gIOClassKey)); in Create_Impl()
5238 service = OSDynamicCast(IOService, inst); in Create_Impl()
5322 …&& (userProps = OSDynamicCast(OSDictionary, provider->getProperty(gIOUserServicePropertiesKey)))) { in SearchProperty_Impl()
5380 props = OSDynamicCast(OSDictionary, obj); in CopyProviderProperties_Impl()
5401 OSString * key = OSDynamicCast(OSString, _key); in CopyProviderProperties_Impl()
5731 OSArray * serviceArray = OSDynamicCast(OSArray, serviceArrayObj); in serviceStop()
5734 serviceArray = OSDynamicCast(OSArray, serviceArray->copyCollection()); in serviceStop()
5738 OSNumber * __assert_only registryEntryID = OSDynamicCast(OSNumber, serviceArray->getObject(idx)); in serviceStop()
5883 toClose = OSDynamicCast(IOService, obj); in serviceDidStop()
6033 eventLink = OSDynamicCast(IOEventLink, fEventLinks->getObject(eventlinkNameStr)); in eventlinkConfigurationTrap()
6106 workgroup = OSDynamicCast(IOWorkGroup, fWorkGroups->getObject(workgroupNameStr)); in workgroupConfigurationTrap()
6369 …_IOUserServerCheckInCancellationHandler * handlerObj = OSDynamicCast(_IOUserServerCheckInCancellat… in cancel()
6441 fExecutableName = OSDynamicCast(OSSymbol, driverKext->getBundleExecutable()); in init()
6466 fKextBundleID = OSDynamicCast(OSString, driverKext->getIdentifier()); in init()
6589 IOUserServer * userServer = OSDynamicCast(IOUserServer, service); in launchUserServer()
6672 IOUserServerCheckInToken * token = OSDynamicCast(IOUserServerCheckInToken, obj); in findExistingToken()
6702 IOUserServerCheckInToken * token = OSDynamicCast(IOUserServerCheckInToken, obj); in cancelAll()
7117 dict = OSDynamicCast(OSDictionary, properties); in setProperties()
7126 if ((schema = OSDynamicCast(OSDictionary, dict->getObject(kIOStateNotificationItemCreateKey)))) { in setProperties()
7127 itemName = OSDynamicCast(OSString, schema->getObject(kIOStateNotificationNameKey)); in setProperties()
7129 …} else if ((value = OSDynamicCast(OSDictionary, dict->getObject(kIOStateNotificationItemSetKey))))… in setProperties()
7130 itemName = OSDynamicCast(OSString, value->getObject(kIOStateNotificationNameKey)); in setProperties()
7283 itemName = OSDynamicCast(OSString, object); in stateNotificationListenerAdd()
7356 uc = OSDynamicCast(IOUserUserClient, userClient); in Create_Impl()
7371 inst->ivars->userServer = OSDynamicCast(IOUserServer, us); in Create_Impl()
7402 IOUserUserClient * uc = OSDynamicCast(IOUserUserClient, client); in InvalidateKernel_Impl()
7468 uc = OSDynamicCast(IOUserUserClient, userClient); in Create_Impl()
7483 inst->ivars->userServer = OSDynamicCast(IOUserServer, us); in Create_Impl()
7515 IOUserUserClient * uc = OSDynamicCast(IOUserUserClient, client); in InvalidateKernel_Impl()