Home
last modified time | relevance | path

Searched refs:region_codes (Results 1 – 4 of 4) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
Dshortnumberinfo.cc98 list<string> region_codes; in RegionDialingFromMatchesNumber() local
100 &region_codes); in RegionDialingFromMatchesNumber()
101 return std::find(region_codes.begin(), in RegionDialingFromMatchesNumber()
102 region_codes.end(), in RegionDialingFromMatchesNumber()
103 region_dialing_from) != region_codes.end(); in RegionDialingFromMatchesNumber()
125 list<string> region_codes; in IsPossibleShortNumber() local
127 &region_codes); in IsPossibleShortNumber()
130 for (const auto& region_code : region_codes) { in IsPossibleShortNumber()
168 list<string> region_codes; in IsValidShortNumber() local
170 &region_codes); in IsValidShortNumber()
[all …]
Dphonenumberutil.cc1840 std::list<string>* region_codes) const { in GetRegionCodesForCountryCallingCode()
1841 DCHECK(region_codes); in GetRegionCodesForCountryCallingCode()
1852 region_codes->insert(region_codes->begin(), in GetRegionCodesForCountryCallingCode()
1865 std::list<string> region_codes; in GetRegionCodeForCountryCode() local
1867 GetRegionCodesForCountryCallingCode(country_calling_code, &region_codes); in GetRegionCodeForCountryCode()
1868 *region_code = (region_codes.size() > 0) ? in GetRegionCodeForCountryCode()
1869 region_codes.front() : RegionCode::GetUnknown(); in GetRegionCodeForCountryCode()
1876 std::list<string> region_codes; in GetRegionCodeForNumber() local
1877 GetRegionCodesForCountryCallingCode(country_calling_code, &region_codes); in GetRegionCodeForNumber()
1878 if (region_codes.size() == 0) { in GetRegionCodeForNumber()
[all …]
Dshortnumberinfo.h201 const list<string>& region_codes,
Dphonenumberutil.h495 std::list<string>* region_codes) const;
916 const std::list<string>& region_codes,