Lines Matching refs:obj
747 OSObject * obj;
749 obj = next->getProperty(kIOPolledInterfaceSupportKey);
750 if (kOSBooleanFalse == obj)
755 else if ((poller = OSDynamicCast(IOPolledInterface, obj)))
1125 OSObject * obj;
1149 if ((obj = IOService::getPMRootDomain()->copyProperty(kIOHibernateFileKey)))
1151 if ((str = OSDynamicCast(OSString, obj)))
1154 obj->release();
1193 if ((obj = IOService::getPMRootDomain()->copyProperty(kIOHibernateFileMinSizeKey)))
1195 if ((num = OSDynamicCast(OSNumber, obj))) vars->fileMinSize = num->unsigned64BitValue();
1196 obj->release();
1198 if ((obj = IOService::getPMRootDomain()->copyProperty(kIOHibernateFileMaxSizeKey)))
1200 if ((num = OSDynamicCast(OSNumber, obj))) vars->fileMaxSize = num->unsigned64BitValue();
1201 obj->release();
1671 OSObject * obj = 0;
1682 if (gIOHibernateMode) obj = IOService::getPMRootDomain()->copyProperty(kIOHibernatePreviewBufferKey);
1683 vars->previewBuffer = OSDynamicCast(IOMemoryDescriptor, obj);
1684 if (obj && !vars->previewBuffer)
1685 obj->release();