Home
last modified time | relevance | path

Searched refs:countryTag (Results 1 - 5 of 5) sorted by relevance

/base/global/i18n/frameworks/intl/test/unittest/mock/src/
H A Dphone_number_format_mock.cpp20 PhoneNumberFormatMock::PhoneNumberFormatMock(const std::string &countryTag, in PhoneNumberFormatMock() argument
22 : PhoneNumberFormat(countryTag, options) in PhoneNumberFormatMock()
/base/global/i18n/frameworks/intl/include/
H A Dphone_number_format.h38 PhoneNumberFormat(const std::string &countryTag, const std::map<std::string, std::string> &options);
42 static std::unique_ptr<PhoneNumberFormat> CreateInstance(const std::string &countryTag,
/base/global/i18n/frameworks/intl/test/unittest/mock/include/
H A Dphone_number_format_mock.h25 PhoneNumberFormatMock(const std::string &countryTag, const std::map<std::string, std::string> &options);
/base/global/i18n/frameworks/intl/src/
H A Dphone_number_format.cpp105 PhoneNumberFormat::PhoneNumberFormat(const std::string &countryTag, in PhoneNumberFormat() argument
109 if (LocaleConfig::IsValidRegion(countryTag)) { in PhoneNumberFormat()
110 country = countryTag; in PhoneNumberFormat()
112 icu::Locale locale = icu::Locale::createFromName(countryTag.c_str()); in PhoneNumberFormat()
153 std::unique_ptr<PhoneNumberFormat> PhoneNumberFormat::CreateInstance(const std::string &countryTag, in CreateInstance() argument
156 std::unique_ptr<PhoneNumberFormat> phoneNumberFormat = std::make_unique<PhoneNumberFormat>(countryTag, options); in CreateInstance()
/base/global/i18n/frameworks/intl/test/unittest/
H A Di18n_test.cpp533 std::string countryTag = "";
537 std::unique_ptr<PhoneNumberFormat> formatter = PhoneNumberFormat::CreateInstance(countryTag, options);

Completed in 4 milliseconds