Lines Matching defs:user_input
286 const std::string& user_input = address.GetFieldValue(sub_field_type);
287 if (!user_input.empty() &&
289 !rule.CanonicalizeSubKey(user_input, false, &sub_key)) {
319 virtual Status GetSuggestions(const AddressData& user_input,
324 rules_.find(user_input.country_code);
328 loading_rules_.find(user_input.country_code) != loading_rules_.end()
348 if (user_input.GetFieldValue(focused_field).empty()) {
354 country_ruleset.GetLanguageCodeRule(user_input.language_code);
358 if (!user_input.postal_code.empty() &&
362 user_input.postal_code, country_rule.GetPostalCodeFormat())) {
383 while (user_input.GetFieldValue(suggestion_field).empty() &&
399 user_input.language_code, address_field, rule_field,
400 user_input.GetFieldValue(address_field),
441 const Rule& rule = ruleset.GetLanguageCodeRule(user_input.language_code);
446 if (!user_input.postal_code.empty() &&
449 user_input.postal_code, rule.GetPostalCodeFormat())) {
465 country_rule.GetLanguage() != user_input.language_code &&
480 suggestion.country_code = user_input.country_code;
481 suggestion.postal_code = user_input.postal_code;
490 suggestion_ruleset->GetLanguageCodeRule(user_input.language_code);