Lines Matching refs:features
171 std::vector<std::string> features; in AddFeaturesFromString() local
172 Split(feature_list, ',', &features); in AddFeaturesFromString()
173 std::transform(std::begin(features), std::end(features), std::begin(features), in AddFeaturesFromString()
175 auto empty_strings_begin = std::copy_if(std::begin(features), std::end(features), in AddFeaturesFromString()
176 std::begin(features), in AddFeaturesFromString()
178 features.erase(empty_strings_begin, std::end(features)); in AddFeaturesFromString()
179 if (features.empty()) { in AddFeaturesFromString()
186 for (const std::string& feature : features) { in AddFeaturesFromString()
188 if (features.size() > 1) { in AddFeaturesFromString()
193 features.pop_back(); in AddFeaturesFromString()
196 if (features.size() > 1) { in AddFeaturesFromString()
201 features.pop_back(); in AddFeaturesFromString()
209 DCHECK((!use_default && !use_runtime_detection) || features.empty()); in AddFeaturesFromString()
219 return AddFeaturesFromSplitString(features, error_msg); in AddFeaturesFromString()
252 const InstructionSetFeatures *features ATTRIBUTE_UNUSED) const { in AddRuntimeDetectedFeatures()