Lines Matching defs:regions

82   // Marks all regions at |address_field| level as matching user input.
87 // Marks given regions at |address_field| level as matching user input. The
88 // |regions_match_key| parameter contains the regions that match user input by
89 // their keys. The |regions_match_name| parameter contains the regions that
109 // |parent_address_field| level regions.
117 RegionsMatchInput* regions = NULL;
119 regions = &regions_match_input_[address_field];
153 if (regions)
154 regions->names.insert(name_region);
162 if (regions)
163 regions->keys.insert(key_region);
171 if (regions) {
172 regions->keys.insert(key_region);
173 regions->names.insert(name_region);
202 // The sets of non-owned regions used for looking up regions that match user
209 // The regions that match user input at ADMIN_AREA and LOCALITY levels.
212 // The set of fields for which all regions match user input. Used to avoid
260 // All sub-regions of a COUNTRY level region, organized into tries for lookup by
273 // Adds the sub-regions of |country_region| into tries. Uses
275 // sub-regions. Should be called at most once.
300 // Non-owned regions that match a field value by region key.
303 // Non-owned regions that match a field value by region name.
352 // The tries to lookup regions for a specific field by keys and names. For
361 // Adds the sub-regions of |parent_region| into tries.
397 // The tries to lookup regions for ADMIN_AREA, LOCALITY, and
446 // Fill in the sub-regions based on the postal code.
450 // Lazily initialize the mapping from COUNTRY level regions to all of their
451 // sub-regions with metadata for generating suggestions.
461 // Build the list of regions that match |address_copy| when the user is typing
471 // Generate suggestions based on the regions.
480 // Traverse the tree of regions from the smallest |region_to_suggest| to the