Home
last modified time | relevance | path

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

/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dsystem_locale_manager.cpp103 …std::unordered_set<std::string> blockedLanguageRegions = LocaleConfig::GetLanguageBlockedRegions(); in GetCountryInfoArray() local
106 if (blockedRegions.find(*it) != blockedRegions.end() || blockedLanguageRegions.find(*it) != in GetCountryInfoArray()
107 blockedLanguageRegions.end()) { in GetCountryInfoArray()
H A Dlocale_config.cpp92 unordered_map<string, unordered_set<string>> LocaleConfig::blockedLanguageRegions; member in OHOS::Global::I18n::LocaleConfig
560 if (blockedLanguageRegions.find(language) == blockedLanguageRegions.end()) { in ProcessForbiddenRegions()
561 blockedLanguageRegions[language] = { region }; in ProcessForbiddenRegions()
563 blockedLanguageRegions[language].insert(region); in ProcessForbiddenRegions()
1186 if (blockedLanguageRegions.find(systemLanguage) != blockedLanguageRegions.end()) { in GetLanguageBlockedRegions()
1187 return blockedLanguageRegions[systemLanguage]; in GetLanguageBlockedRegions()
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Dlocale_config.h268 static std::unordered_map<std::string, std::unordered_set<std::string>> blockedLanguageRegions; variable