Lines Matching defs:features
3064 // Adds a new feature to the supported features dictionary
3075 // Adds a new feature to the supported features dictionary
3099 // Far, far too many features!
3105 OSDictionary *features =
3108 // Create new features dict if necessary
3109 if ( features && OSDynamicCast(OSDictionary, features)) {
3110 features = OSDictionary::withDictionary(features);
3112 features = OSDictionary::withCapacity(1);
3132 // Does features object already exist?
3133 if( (osObj = features->getObject(feature)) )
3151 features->setObject(feature, existing_feature_arr);
3156 // The easy case: no previously existing features listed. We simply
3158 features->setObject(feature, new_feature_data);
3163 setProperty(kRootDomainSupportedFeatures, features);
3165 features->release();
3202 OSDictionary *features =
3205 if ( features && OSDynamicCast(OSDictionary, features) )
3210 features = OSDictionary::withDictionary(features);
3212 features = NULL;
3217 // We iterate 'features' dictionary looking for an entry tagged
3221 dictIterator = OSCollectionIterator::withCollection(features);
3228 osObj = features->getObject(dictKey);
3239 features->removeObject(dictKey);
3265 features->removeObject(dictKey);
3272 features->setObject(dictKey, arrayMemberCopy);
3290 setProperty(kRootDomainSupportedFeatures, features);
3302 if(features) features->release();