Home
last modified time | relevance | path

Searched refs:mobile_token (Results 1 – 3 of 3) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.cc2661 string mobile_token; in GetLengthOfNationalDestinationCode() local
2662 GetCountryMobileToken(number.country_code(), &mobile_token); in GetLengthOfNationalDestinationCode()
2663 if (!mobile_token.empty()) { in GetLengthOfNationalDestinationCode()
2664 return static_cast<int>(third_group.size() + mobile_token.size()); in GetLengthOfNationalDestinationCode()
2671 string* mobile_token) const { in GetCountryMobileToken()
2672 DCHECK(mobile_token); in GetCountryMobileToken()
2676 *mobile_token = it->second; in GetCountryMobileToken()
2678 mobile_token->assign(""); in GetCountryMobileToken()
Dphonenumberutil.h331 string* mobile_token) const;
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumberutil_test.cc1557 string mobile_token; in TEST_F() local
1560 phone_util_.GetCountryMobileToken(country_calling_code, &mobile_token); in TEST_F()
1561 EXPECT_EQ("9", mobile_token); in TEST_F()
1565 phone_util_.GetCountryMobileToken(country_calling_code, &mobile_token); in TEST_F()
1566 EXPECT_EQ("", mobile_token); in TEST_F()