Lines Matching refs:userProps
547 OSDictionary * userProps; in SetProperties_Impl()
550 userProps = OSDynamicCast(OSDictionary, getProperty(gIOUserServicePropertiesKey)); in SetProperties_Impl()
551 if (userProps) { in SetProperties_Impl()
552 userProps = (typeof(userProps))userProps->copyCollection(); in SetProperties_Impl()
554 userProps = OSDictionary::withCapacity(4); in SetProperties_Impl()
556 if (!userProps) { in SetProperties_Impl()
559 bool ok = userProps->merge(dict); in SetProperties_Impl()
561 ok = setProperty(gIOUserServicePropertiesKey, userProps); in SetProperties_Impl()
563 OSSafeReleaseNULL(userProps); in SetProperties_Impl()
589 OSDictionary * userProps; in RemoveProperty_Impl()
590 userProps = OSDynamicCast(OSDictionary, getProperty(gIOUserServicePropertiesKey)); in RemoveProperty_Impl()
591 if (userProps) { in RemoveProperty_Impl()
592 userProps = (OSDictionary *)userProps->copyCollection(); in RemoveProperty_Impl()
593 if (!userProps) { in RemoveProperty_Impl()
596 userProps->removeObject(propertyName); in RemoveProperty_Impl()
597 bool ok = setProperty(gIOUserServicePropertiesKey, userProps); in RemoveProperty_Impl()
598 OSSafeReleaseNULL(userProps); in RemoveProperty_Impl()
613 OSDictionary * userProps; in CopyProperties_Local() local
616 userProps = OSDynamicCast(OSDictionary, props->getObject(gIOUserServicePropertiesKey)); in CopyProperties_Local()
617 if (userProps) { in CopyProperties_Local()
618 props->merge(userProps); in CopyProperties_Local()
5319 OSDictionary * userProps; in SearchProperty_Impl()
5322 …&& (userProps = OSDynamicCast(OSDictionary, provider->getProperty(gIOUserServicePropertiesKey)))) { in SearchProperty_Impl()
5323 object = userProps->getObject(name); in SearchProperty_Impl()