Lines Matching refs:prop

746 	OSObject *  prop;  in getDebugFlags()  local
750 prop = inst->copyProperty(gIOKitDebugKey); in getDebugFlags()
751 debugProp = OSDynamicCast(OSNumber, prop); in getDebugFlags()
758 OSSafeReleaseNULL(prop); in getDebugFlags()
2146 OSObject * prop; in applyToInterestNotifiers() local
2150 prop = target->copyProperty(typeOfInterest); in applyToInterestNotifiers()
2151 IOCommand *notifyList = OSDynamicCast(IOCommand, prop); in applyToInterestNotifiers()
2176 OSSafeReleaseNULL(prop); in applyToInterestNotifiers()
2380 OSObject * prop; in unregisterAllInterest() local
2382 prop = copyProperty(gIOGeneralInterest); in unregisterAllInterest()
2383 cleanInterestList(prop); in unregisterAllInterest()
2384 OSSafeReleaseNULL(prop); in unregisterAllInterest()
2386 prop = copyProperty(gIOBusyInterest); in unregisterAllInterest()
2387 cleanInterestList(prop); in unregisterAllInterest()
2388 OSSafeReleaseNULL(prop); in unregisterAllInterest()
2390 prop = copyProperty(gIOAppPowerStateInterest); in unregisterAllInterest()
2391 cleanInterestList(prop); in unregisterAllInterest()
2392 OSSafeReleaseNULL(prop); in unregisterAllInterest()
2394 prop = copyProperty(gIOPriorityPowerStateInterest); in unregisterAllInterest()
2395 cleanInterestList(prop); in unregisterAllInterest()
2396 OSSafeReleaseNULL(prop); in unregisterAllInterest()
2398 prop = copyProperty(gIOConsoleSecurityInterest); in unregisterAllInterest()
2399 cleanInterestList(prop); in unregisterAllInterest()
2400 OSSafeReleaseNULL(prop); in unregisterAllInterest()
3686 OSObject * prop; in IOServiceObjectOrder() local
3689 prop = NULL; in IOServiceObjectOrder()
3696 prop = service->copyProperty(key); in IOServiceObjectOrder()
3697 offset = OSDynamicCast(OSNumber, prop); in IOServiceObjectOrder()
3707 OSSafeReleaseNULL(prop); in IOServiceObjectOrder()
4791 OSObject * prop; in startCandidate() local
4861 prop = service->copyProperty(gIOUserClassKey); in startCandidate()
4862 str = OSDynamicCast(OSString, prop); in startCandidate()
4866 OSSafeReleaseNULL(prop); in startCandidate()
5740 OSObject * prop; in waitQuietWithOptions() local
5741 if ((prop = next->copyProperty(kIOServiceBusyTimeoutExtensionsKey, gIOServicePlane))) { in waitQuietWithOptions()
5744 if ((num = OSDynamicCast(OSNumber, prop))) { in waitQuietWithOptions()
5752 OSSafeReleaseNULL(prop); in waitQuietWithOptions()
7212 OSObject * prop; in IOResourcesMatchPropertyTable() local
7215 prop = table->getObject( gIOResourceMatchKey ); in IOResourcesMatchPropertyTable()
7216 if (prop) { in IOResourcesMatchPropertyTable()
7217 prop->iterateObjects(^bool (OSObject * obj) in IOResourcesMatchPropertyTable()
7224 } else if ((prop = table->getObject(gIOResourceMatchedKey))) { in IOResourcesMatchPropertyTable()
7233 ok = ((-1U) != keys->getNextIndexOfObject(prop, 0)); in IOResourcesMatchPropertyTable()
7507 OSObject * prop; in compareProperty() local
7512 prop = copyProperty(key); in compareProperty()
7513 ok = value->isEqualTo(prop); in compareProperty()
7514 if (prop) { in compareProperty()
7515 prop->release(); in compareProperty()
7530 OSObject * prop; in compareProperty() local
7535 prop = copyProperty(key); in compareProperty()
7536 ok = value->isEqualTo(prop); in compareProperty()
7537 if (prop) { in compareProperty()
7538 prop->release(); in compareProperty()
7861 OSObject * prop; \ in matchInternal()
7863 prop = copyProperty(key); \ in matchInternal()
7864 match = obj->isEqualTo(prop); \ in matchInternal()
7865 if (prop) prop->release(); \ in matchInternal()
7981 OSObject * prop = where->copyProperty(gIOServiceLegacyMatchingRegistryIDKey); in matchPassive() local
7982 OSNumber * alternateRegistryID = OSDynamicCast(OSNumber, prop); in matchPassive()
7989 OSSafeReleaseNULL(prop); in matchPassive()
8046 OSObject *prop; in newUserClient() local
8058 prop = copyProperty(gIOUserClientClassKey); in newUserClient()
8059 if (prop) { in newUserClient()
8060 if (OSDynamicCast(OSSymbol, prop)) { in newUserClient()
8061 userClientClass = (const OSSymbol *) prop; in newUserClient()
8062 prop = NULL; in newUserClient()
8063 } else if (OSDynamicCast(OSString, prop)) { in newUserClient()
8064 userClientClass = OSSymbol::withString((OSString *) prop); in newUserClient()
8065 OSSafeReleaseNULL(prop); in newUserClient()
8071 OSSafeReleaseNULL(prop); in newUserClient()
8884 OSObject * prop = copyProperty(kIOReportLegendKey); in addInterruptStatistics() local
8885 legend = IOReportLegend::with(OSDynamicCast(OSArray, prop)); in addInterruptStatistics()
8886 OSSafeReleaseNULL(prop); in addInterruptStatistics()