Lines Matching defs:dict
5953 setPMProperty( OSDictionary * dict, const char * key, unsigned long value )
5958 dict->setObject(key, num);
5965 OSDictionary * dict;
5968 dict = OSDictionary::withCapacity(8);
5969 if (dict)
5971 setPMProperty( dict, "CurrentPowerState", CurrentPowerState );
5973 setPMProperty( dict, "DesiredPowerState", DesiredPowerState );
5975 setPMProperty( dict, "MachineState", MachineState );
5977 setPMProperty( dict, "ChildrenPowerState", ChildrenDesire );
5979 setPMProperty( dict, "DeviceChangePowerState", DeviceDesire );
5981 setPMProperty( dict, "DriverChangePowerState", DriverDesire );
5983 dict->setObject( "PowerOverrideOn", kOSBooleanTrue );
5985 ok = dict->serialize(s);
5986 dict->release();