• Home
  • Raw
  • Download

Lines Matching refs:region_codes

98   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()
172 GetRegionCodeForShortNumberFromRegionList(number, region_codes, &region_code); in IsValidShortNumber()
173 if (region_codes.size() > 1 && region_code != RegionCode::GetUnknown()) { in IsValidShortNumber()
227 list<string> region_codes; in GetExpectedCost() local
229 &region_codes); in GetExpectedCost()
230 if (region_codes.size() == 0) { in GetExpectedCost()
233 if (region_codes.size() == 1) { in GetExpectedCost()
234 return GetExpectedCostForRegion(number, region_codes.front()); in GetExpectedCost()
237 for (const auto& region_code : region_codes) { in GetExpectedCost()
263 const PhoneNumber& number, const list<string>& region_codes, in GetRegionCodeForShortNumberFromRegionList() argument
265 if (region_codes.size() == 0) { in GetRegionCodeForShortNumberFromRegionList()
268 } else if (region_codes.size() == 1) { in GetRegionCodeForShortNumberFromRegionList()
269 region_code->assign(region_codes.front()); in GetRegionCodeForShortNumberFromRegionList()
274 for (const auto& region_code_it : region_codes) { in GetRegionCodeForShortNumberFromRegionList()
364 list<string> region_codes; in IsCarrierSpecific() local
366 &region_codes); in IsCarrierSpecific()
368 GetRegionCodeForShortNumberFromRegionList(number, region_codes, &region_code); in IsCarrierSpecific()