Lines Matching defs:obj
650 OSObject * obj;
652 obj = next->getProperty(kIOPolledInterfaceSupportKey);
653 if (kOSBooleanFalse == obj)
658 else if ((poller = OSDynamicCast(IOPolledInterface, obj)))
995 OSObject * obj;
1016 obj = NULL;
1019 obj = sleepOverrideOptions->getObject(kIOHibernateModeKey);
1020 if (obj) obj->retain();
1023 if(!obj) {
1024 obj = IOService::getPMRootDomain()->copyProperty(kIOHibernateModeKey);
1027 if (obj && (num = OSDynamicCast(OSNumber, obj)) )
1036 if (obj) obj->release();
1039 obj = NULL;
1042 obj = sleepOverrideOptions->getObject(kIOHibernateFreeRatioKey);
1043 if (obj) obj->retain();
1046 if(!obj) {
1047 obj = IOService::getPMRootDomain()->copyProperty(kIOHibernateFreeRatioKey);
1049 if (obj && (num = OSDynamicCast(OSNumber, obj)))
1053 if (obj) obj->release();
1055 if ((obj = IOService::getPMRootDomain()->copyProperty(kIOHibernateFreeTimeKey)))
1057 if ((num = OSDynamicCast(OSNumber, obj)))
1059 obj->release();
1061 if ((obj = IOService::getPMRootDomain()->copyProperty(kIOHibernateFileKey)))
1063 if ((str = OSDynamicCast(OSString, obj)))
1066 obj->release();
1451 OSObject * obj;
1454 obj = IOService::getPMRootDomain()->copyProperty(kIOHibernatePreviewBufferKey);
1455 vars->previewBuffer = OSDynamicCast(IOMemoryDescriptor, obj);
1456 if (obj && !vars->previewBuffer)
1457 obj->release();