Lines Matching defs:features
3174 // Adds a new feature to the supported features dictionary
3185 // Adds a new feature to the supported features dictionary
3209 // Far, far too many features!
3215 OSDictionary *features =
3218 // Create new features dict if necessary
3219 if ( features && OSDynamicCast(OSDictionary, features)) {
3220 features = OSDictionary::withDictionary(features);
3222 features = OSDictionary::withCapacity(1);
3242 // Does features object already exist?
3243 if( (osObj = features->getObject(feature)) )
3261 features->setObject(feature, existing_feature_arr);
3266 // The easy case: no previously existing features listed. We simply
3268 features->setObject(feature, new_feature_data);
3273 setProperty(kRootDomainSupportedFeatures, features);
3275 features->release();
3312 OSDictionary *features =
3315 if ( features && OSDynamicCast(OSDictionary, features) )
3320 features = OSDictionary::withDictionary(features);
3322 features = NULL;
3327 // We iterate 'features' dictionary looking for an entry tagged
3331 dictIterator = OSCollectionIterator::withCollection(features);
3338 osObj = features->getObject(dictKey);
3349 features->removeObject(dictKey);
3375 features->removeObject(dictKey);
3382 features->setObject(dictKey, arrayMemberCopy);
3400 setProperty(kRootDomainSupportedFeatures, features);
3412 if(features) features->release();