Lines Matching refs:features
190 std::vector<std::string> features; in AddFeaturesFromString() local
191 Split(feature_list, ',', &features); in AddFeaturesFromString()
192 std::transform(std::begin(features), std::end(features), std::begin(features), in AddFeaturesFromString()
194 auto empty_strings_begin = std::copy_if(std::begin(features), std::end(features), in AddFeaturesFromString()
195 std::begin(features), in AddFeaturesFromString()
197 features.erase(empty_strings_begin, std::end(features)); in AddFeaturesFromString()
198 if (features.empty()) { in AddFeaturesFromString()
205 for (const std::string& feature : features) { in AddFeaturesFromString()
207 if (features.size() > 1) { in AddFeaturesFromString()
212 features.pop_back(); in AddFeaturesFromString()
215 if (features.size() > 1) { in AddFeaturesFromString()
220 features.pop_back(); in AddFeaturesFromString()
228 DCHECK((!use_default && !use_runtime_detection) || features.empty()); in AddFeaturesFromString()
238 return AddFeaturesFromSplitString(features, error_msg); in AddFeaturesFromString()
271 const InstructionSetFeatures *features ATTRIBUTE_UNUSED) const { in AddRuntimeDetectedFeatures()