Home
last modified time | relevance | path

Searched refs:countries (Results 1 – 8 of 8) sorted by relevance

/base/global/i18n/frameworks/zone/test/unittest/
Dzone_util_performance_test.cpp60 string countries[] = { "JP", "KR" }; variable
66 string out = util.GetDefaultZone(countries[i].c_str());
86 string countries[] = { "CN", "US" }; variable
92 string out = util.GetDefaultZone(countries[i].c_str(), offsets[i]);
Dzone_util_test.cpp55 string countries[] = { "CN", "US", "cn", "us", "fake", "GB" }; variable
59 string out = util.GetDefaultZone(countries[i].c_str());
73 string countries[] = { "CN", "US", "fake" }; variable
77 string out = util.GetDefaultZone(countries[i].c_str(), offsets[i]);
/base/global/i18n/frameworks/intl/include/
Dsystem_locale_manager.h105 …std::vector<LocaleItem> GetCountryInfoArray(const std::vector<std::string> &countries, const SortO…
Dlocale_config.h109 const std::vector<std::string> countries);
/base/global/i18n/frameworks/intl/test/unittest/
Dlocale_config_test.cpp132 vector<string> countries; variable
133 LocaleConfig::GetSystemCountries(countries);
135 EXPECT_EQ(countries.size(), size);
Dintl_test.cpp2125 const std::vector<std::string> countries = {"US", "GB", "DE", "CA"}; variable
2126 …std::vector<LocaleItem> countryInfos = systemLocaleManager->GetCountryInfoArray(countries, sortOpt…
/base/global/i18n/frameworks/intl/src/
Dsystem_locale_manager.cpp91 …tor<LocaleItem> SystemLocaleManager::GetCountryInfoArray(const std::vector<std::string> &countries, in GetCountryInfoArray() argument
97 for (auto it = countries.begin(); it != countries.end(); ++it) { in GetCountryInfoArray()
Dlocale_config.cpp523 vector<string> countries { region }; in IsSuggested() local
524 GetRelatedLocales(relatedLocales, countries); in IsSuggested()
536 …id LocaleConfig::GetRelatedLocales(unordered_set<string> &relatedLocales, vector<string> countries) in GetRelatedLocales() argument
540 for (auto iter = countries.begin(); iter != countries.end();) { in GetRelatedLocales()
542 iter = countries.erase(iter); in GetRelatedLocales()
550 for (string country : countries) { in GetRelatedLocales()