Lines Matching defs:?r
6 * This file contains Original Code and/or Modifications of Original Code
581 kern_return_t kr;
587 kr = IOServiceGetMatchingServices(kIOMasterPortDefault,
589 if (kIOReturnSuccess != kr)
595 kr = IORegistryEntrySetCFProperty(next,
622 IOPMSetActivePowerProfiles() as adimn, root, or console user.
971 kern_return_t kr;
985 kr = IOServiceAddInterestNotification(
991 if (kr != KERN_SUCCESS)
2688 // Callers should use IOPMAssertionRetain() or IOPMAssertionRelease().
2708 /* Remove from active or activeTimed list */
2742 /* Remove from active or activeTimed list */
2797 * Returns true if active assertions exist either in the specified type or
2956 * if already raised with kernel or if there are no active ones,
2966 * or if there are active ones, nothing to do
3028 * if already raised with kernel or if there are no active ones,
3038 * or if there are active ones, nothing to do
3135 * if already raised with kernel or if there are no active ones,
3148 * or if there are active ones, nothing to do
3209 /* If not the last one or if this assertType is not raised, nothing to do */