Lines Matching refs:obj
1184 OSObject *obj;
1223 (obj = dict->getObject(key)))
1227 if (OSDynamicCast(OSBoolean, obj))
1232 if ((n = OSDynamicCast(OSNumber, obj)))
1244 if ((b = OSDynamicCast(OSBoolean, obj)))
1249 setProperty(key, obj);
1253 if ((d = OSDynamicCast(OSDictionary, obj)) &&
1270 if ((n = OSDynamicCast(OSNumber, obj)))
1275 OSString * str = OSDynamicCast(OSString, obj);
1281 if ((b = OSDynamicCast(OSBoolean, obj)))
1289 obj->retain();
1290 pmPowerStateQueue->submitPowerEvent(kPowerEventQueueSleepWakeUUID, (void *)obj);
1294 if (pmTracer && (n = OSDynamicCast(OSNumber, obj)))
1302 if ((b = OSDynamicCast(OSBoolean, obj)))
1309 if ((n = OSDynamicCast(OSNumber, obj)))
1314 if (kOSBooleanTrue == obj)
1323 if ((n = OSDynamicCast(OSNumber, obj)))
1334 if ((gIOPMSettingAutoWakeSecondsKey == key) && ((n = OSDynamicCast(OSNumber, obj))))
1353 return_value = setPMSetting(key, obj);
1359 if ((n = OSDynamicCast(OSNumber, obj)) &&
1374 if ((data = OSDynamicCast(OSData, obj)) &&
2795 // @param obj has a retain on it. We're responsible for releasing that retain.
2798 void IOPMrootDomain::handleQueueSleepWakeUUID(OSObject *obj)
2802 if (kOSBooleanFalse == obj)
2806 else if ((str = OSDynamicCast(OSString, obj)))
2819 if (obj) {
2820 obj->release();
3424 OSObject *obj = NULL;
3429 obj = fPMSettingsDict->getObject(whichSetting);
3430 if(obj) {
3431 obj->retain();
3435 return obj;
4050 OSObject * obj = 0;
4059 obj = optionsDict->getObject(key);
4060 if (obj) obj->retain();
4062 if (!obj)
4064 obj = copyProperty(key);
4066 if (obj && (num = OSDynamicCast(OSNumber, obj)))
4072 if (obj)
4073 obj->release();