Lines Matching refs:OSDynamicCast

732 	debugProp = OSDynamicCast( OSNumber,  in getDebugFlags()
751 debugProp = OSDynamicCast(OSNumber, prop); in getDebugFlags()
2100 if ((service = OSDynamicCast( IOService, client))) { in messageClient()
2102 } else if ((notify = OSDynamicCast( _IOServiceInterestNotifier, client))) { in messageClient()
2151 IOCommand *notifyList = OSDynamicCast(IOCommand, prop); in applyToInterestNotifiers()
2301 if (!svcNotify || !(notify = OSDynamicCast(_IOServiceInterestNotifier, svcNotify)) || !handler) { in registerInterestForNotifier()
2328 if (!(notifyList = OSDynamicCast(IOCommand, obj))) { in registerInterestForNotifier()
2360 IOCommand *notifyHead = OSDynamicCast(IOCommand, head); in cleanInterestList()
2657 num = OSDynamicCast(OSNumber, obj); in terminatePhase1()
3691 if ((dict = OSDynamicCast( OSDictionary, entry))) { in IOServiceObjectOrder()
3692 offset = OSDynamicCast(OSNumber, dict->getObject( key )); in IOServiceObjectOrder()
3693 } else if ((notify = OSDynamicCast( _IOServiceNotifier, entry))) { in IOServiceObjectOrder()
3695 } else if ((service = OSDynamicCast( IOService, entry))) { in IOServiceObjectOrder()
3697 offset = OSDynamicCast(OSNumber, prop); in IOServiceObjectOrder()
3749 nextCat = (const OSSymbol *) OSDynamicCast( OSSymbol, in copyClientWithCategory()
3883 rematchPersonality = OSDynamicCast(OSDictionary, prop1); in probeCandidates()
3886 num = OSDynamicCast(OSNumber, rematchCountProp); in probeCandidates()
3900 if ((notify = OSDynamicCast( _IOServiceNotifier, nextMatch ))) { in probeCandidates()
3907 } else if (!(match = OSDynamicCast( OSDictionary, nextMatch ))) { in probeCandidates()
3939 category = OSDynamicCast( OSSymbol, in probeCandidates()
4054 symbol = OSDynamicCast( OSSymbol, in probeCandidates()
4065 if (!inst || !OSDynamicCast(IOService, inst)) { in probeCandidates()
4085 category = OSDynamicCast( OSSymbol, in probeCandidates()
4157 OSOrderedSet *startList = OSDynamicCast(OSOrderedSet, value); in probeCandidates()
4161 IOService *match = OSDynamicCast(IOService, obj); in probeCandidates()
4162 OSNumber *probeScore = OSDynamicCast(OSNumber, match->getProperty(gIOProbeScoreKey)); in probeCandidates()
4211 symbol = OSDynamicCast(OSSymbol, inst->getProperty(gIOClassKey)); in probeCandidates()
4322 result = OSDynamicCast(IOUserServer, server); in __WAITING_FOR_USER_SERVER__()
4621 IOUserServer * us = OSDynamicCast(IOUserServer, obj); in userServerAckTimerExpired()
4765 IOUserServer * us = OSDynamicCast(IOUserServer, obj); in checkPMReady()
4825 if ((serverName = OSDynamicCast(OSString, obj))) { in startCandidate()
4827 bundleID = OSDynamicCast(OSString, obj); in startCandidate()
4862 str = OSDynamicCast(OSString, prop); in startCandidate()
4874 serverDUI = OSDynamicCast(OSData, service->getProperty(kOSBundleDextUniqueIdentifierKey)); in startCandidate()
5065 set = OSDynamicCast( OSSet, resourcesProp ); in addNeededResource()
5088 if ((str = OSDynamicCast( OSString, matching ))) { in checkResource()
5096 } else if ((table = OSDynamicCast( OSDictionary, matching ))) { in checkResource()
5132 if ((set = OSDynamicCast( OSSet, resourcesProp ))) { in checkResources()
5744 if ((num = OSDynamicCast(OSNumber, prop))) { in waitQuietWithOptions()
6133 if ((str = OSDynamicCast(OSString, obj))) { in copyExistingServices()
6149 OSSet * source = OSDynamicCast(OSSet, current); in copyExistingServices()
6584 if ((dict = OSDynamicCast(OSDictionary, obj))) { in waitForMatchingServiceWithToken()
6601 if ((str = OSDynamicCast(OSString, obj))) { in waitForMatchingServiceWithToken()
7220 str = OSDynamicCast(OSString, obj); in IOResourcesMatchPropertyTable()
7229 keys = OSDynamicCast(OSArray, obj); in IOResourcesMatchPropertyTable()
7352 (user = OSDynamicCast(OSDictionary, consoleUsers->getObject(idx))); in updateConsoleUsers()
7359 num = OSDynamicCast(OSNumber, user->getObject(gIOConsoleSessionScreenLockedTimeKey)); in updateConsoleUsers()
7466 dict = OSDynamicCast(OSDictionary, properties); in setProperties()
7476 while ((key = OSDynamicCast(OSSymbol, iter->getNextObject()))) { in setProperties()
7480 consoleUsers = OSDynamicCast(OSArray, dict->getObject(key)); in setProperties()
7568 while (ok && (key = OSDynamicCast( OSString, iter->getNextObject()))) { in compareProperties()
7676 matchProps = OSDynamicCast(OSDictionary, obj); in matchInternal()
7682 str = OSDynamicCast(OSString, table->getObject(gIOProviderClassKey)); in matchInternal()
7719 str = OSDynamicCast( OSString, table->getObject( gIOLocationMatchKey )); in matchInternal()
7744 nextDict = OSDynamicCast( OSDictionary, obj); in matchInternal()
7749 OSDynamicCast(OSCollection, obj)); in matchInternal()
7753 || (iter && (NULL != (nextDict = OSDynamicCast(OSDictionary, in matchInternal()
7780 nextKey = OSDynamicCast( OSString, obj); in matchInternal()
7785 OSDynamicCast(OSCollection, obj)); in matchInternal()
7789 || (iter && (NULL != (nextKey = OSDynamicCast(OSString, in matchInternal()
7806 str = OSDynamicCast( OSString, table->getObject( gIOPathMatchKey )); in matchInternal()
7822 num = OSDynamicCast( OSNumber, table->getObject( gIORegistryEntryIDKey )); in matchInternal()
7831 num = OSDynamicCast( OSNumber, table->getObject( gIOMatchedServiceCountKey )); in matchInternal()
7951 nextTable = OSDynamicCast(OSDictionary, in matchPassive()
7961 table = OSDynamicCast(OSDictionary, in matchPassive()
7982 OSNumber * alternateRegistryID = OSDynamicCast(OSNumber, prop); in matchPassive()
8002 …OSNumber* alternateRegistryID = OSDynamicCast(OSNumber, aliasServiceRegIds->getObject(numAliasedSe… in matchPassive()
8060 if (OSDynamicCast(OSSymbol, prop)) { in newUserClient()
8063 } else if (OSDynamicCast(OSString, prop)) { in newUserClient()
8087 if (OSDynamicCast(IOUserClient, temp)) { in newUserClient()
8341 array = OSDynamicCast( OSArray, getProperty( gIODeviceMemoryKey)); in getDeviceMemoryCount()
8357 array = OSDynamicCast( OSArray, getProperty( gIODeviceMemoryKey)); in getDeviceMemoryWithIndex()
8387 return OSDynamicCast( OSArray, getProperty( gIODeviceMemoryKey)); in getDeviceMemory()
8606 array = OSDynamicCast(OSArray, nub->getProperty(gIOInterruptControllersKey)); in resolveInterrupt()
8629 interruptControllerName = OSDynamicCast(OSSymbol, array->getObject(source)); in resolveInterrupt()
8640 array = OSDynamicCast(OSArray, nub->getProperty(gIOInterruptSpecifiersKey)); in resolveInterrupt()
8644 data = OSDynamicCast(OSData, array->getObject(source)); in resolveInterrupt()
8885 legend = IOReportLegend::with(OSDynamicCast(OSArray, prop)); in addInterruptStatistics()