Lines Matching refs:features
200 std::vector<std::string> features; in AddFeaturesFromString() local
201 Split(feature_list, ',', &features); in AddFeaturesFromString()
202 std::transform(std::begin(features), std::end(features), std::begin(features), in AddFeaturesFromString()
204 auto empty_strings_begin = std::copy_if(std::begin(features), std::end(features), in AddFeaturesFromString()
205 std::begin(features), in AddFeaturesFromString()
207 features.erase(empty_strings_begin, std::end(features)); in AddFeaturesFromString()
208 if (features.empty()) { in AddFeaturesFromString()
215 for (const std::string& feature : features) { in AddFeaturesFromString()
217 if (features.size() > 1) { in AddFeaturesFromString()
222 features.pop_back(); in AddFeaturesFromString()
225 if (features.size() > 1) { in AddFeaturesFromString()
230 features.pop_back(); in AddFeaturesFromString()
238 DCHECK((!use_default && !use_runtime_detection) || features.empty()); in AddFeaturesFromString()
248 return AddFeaturesFromSplitString(features, error_msg); in AddFeaturesFromString()
291 const InstructionSetFeatures *features ATTRIBUTE_UNUSED) const { in AddRuntimeDetectedFeatures()