Home
last modified time | relevance | path

Searched defs:language (Results 1 – 25 of 99) sorted by relevance

1234

/base/global/i18n/frameworks/intl/test/unittest/mock/src/
Dphone_number_format_mock.cpp26 …eNumberFormatMock::getBlockedRegionName(const std::string& regionCode, const std::string& language) in getBlockedRegionName()
35 std::string PhoneNumberFormatMock::getCityName(const std::string& language, const std::string& phon… in getCityName()
/base/global/i18n/frameworks/intl/src/
Dpreferred_language.cpp111 void PreferredLanguage::SetAppPreferredLanguage(const std::string &language, I18nErrorCode &errCode) in SetAppPreferredLanguage()
144 bool PreferredLanguage::IsValidLanguage(const std::string &language) in IsValidLanguage()
185 I18nErrorCode PreferredLanguage::AddPreferredLanguage(const std::string &language, int32_t index) in AddPreferredLanguage()
229 void PreferredLanguage::AddNonExistPreferredLanguage(const std::string& language, int32_t index, in AddNonExistPreferredLanguage()
248 void PreferredLanguage::AddExistPreferredLanguage(const std::string& language, int32_t index, in AddExistPreferredLanguage()
287 int32_t PreferredLanguage::FindLanguage(const std::string &language) in FindLanguage()
Dtaboo.cpp101 std::string Taboo::ReplaceLanguageName(const std::string& language, const std::string& displayLangu… in ReplaceLanguageName()
222 std::tuple<std::string, std::string> Taboo::LanguageFallBack(const std::string& language) in LanguageFallBack()
255 std::string language = GetLanguageFromFileName(fileName); in ReadResourceList() local
266 std::string language = fileName.substr(4); in GetLanguageFromFileName() local
Dlocale_util.cpp50 uint16_t LocaleUtil::EncodeLanguage(const char *language) in EncodeLanguage()
78 uint64_t LocaleUtil::EncodeLocale(const char *language, const char *script, const char *region) in EncodeLocale()
Dtaboo_utils.cpp37 std::string TabooUtils::ReplaceLanguageName(const std::string& language, const std::string& display… in ReplaceLanguageName()
Dlocale_compare.cpp225 std::string language = key.substr(0, languageLength); in HasMapRelation() local
239 std::string language = key.substr(0, languageLength); in HasMapRelation() local
Dlocale_config.cpp234 string GetDisplayLanguageInner(const string &language, const string &displayLocaleTag, bool sentenc… in GetDisplayLanguageInner()
323 bool LocaleConfig::IsValidLanguage(const string &language) in IsValidLanguage()
413 bool LocaleConfig::IsSuggested(const string &language) in IsSuggested()
430 bool LocaleConfig::IsSuggested(const std::string &language, const std::string &region) in IsSuggested()
520 std::string language = it->substr(0, pos); in ProcessForbiddenRegions() local
601 string LocaleConfig::GetMainLanguage(const string &language) in GetMainLanguage()
637 string LocaleConfig::GetDisplayLanguage(const string &language, const string &displayLocale, bool s… in GetDisplayLanguage()
691 std::string language = localeinfo.GetLanguage(); in ComputeLocale() local
706 std::string language = localeinfo.GetLanguage(); in ComputeLocale() local
845 std::string language = locale.GetLanguage(); in GetDsiplayLanguageWithDialect() local
[all …]
Dentity_recognizer.cpp24 std::string language = locale.getLanguage(); in EntityRecognizer() local
Dphone_number_format.cpp211 const std::string& regionCode, const std::string& language) in getBlockedRegionName()
226 const std::string& language, const std::string& phonenumber, in getCityName()
/base/update/updateservice/interfaces/inner_api/feature/update/model/version_info/description/
Ddescription_options.h26 std::string language; member
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dtest_common.cpp72 ResConfig *CreateResConfig(const char *language, const char *script, const char *region) in CreateResConfig()
82 Locale GetLocale(const char *language, const char *script, const char *region) in GetLocale()
/base/global/i18n/services/src/
Di18n_service_ability.cpp45 I18nErrorCode I18nServiceAbility::SetSystemLanguage(const std::string &language) in SetSystemLanguage()
70 I18nErrorCode I18nServiceAbility::AddPreferredLanguage(const std::string &language, int32_t index) in AddPreferredLanguage()
Di18n_service_ability_client.cpp40 I18nErrorCode I18nServiceAbilityClient::SetSystemLanguage(const std::string &language) in SetSystemLanguage()
90 I18nErrorCode I18nServiceAbilityClient::AddPreferredLanguage(const std::string &language, int32_t i… in AddPreferredLanguage()
Di18n_service_ability_proxy.cpp30 I18nErrorCode I18nServiceAbilityProxy::SetSystemLanguage(const std::string &language) in SetSystemLanguage()
90 I18nErrorCode I18nServiceAbilityProxy::AddPreferredLanguage(const std::string &language, int32_t in… in AddPreferredLanguage()
Di18n_service_ability_stub.cpp126 std::string language = data.ReadString(); in SetSystemLanguageInner() local
226 std::string language = data.ReadString(); in AddPreferredLanguageInner() local
/base/global/i18n/frameworks/intl/test/unittest/
Dlocale_config_test.cpp113 string language = "pt-PT"; variable
350 string language = "zh"; variable
412 const string language = "zh"; variable
/base/global/resource_management/frameworks/resmgr/include/
Dhap_parser.h223 std::string language; member
234 const char *language = nullptr; member
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal.cpp70 std::string language; in GLOBAL_ConfigLanguage() local
89 int32_t GLOBAL_GetLanguage(char *language, uint8_t len) in GLOBAL_GetLanguage()
Dres_locale.cpp41 RState ResLocale::SetLanguage(const char *language, size_t len) in SetLanguage()
111 RState ResLocale::Init(const char *language, size_t languageLen, const char *script, size_t scriptL… in Init()
270 ResLocale *ResLocale::BuildFromParts(const char *language, in BuildFromParts()
381 LocaleInfo *BuildFromParts(const char *language, const char *script, const char *region, RState &rS… in BuildFromParts()
/base/global/resource_management/frameworks/resmgr/src/
Dres_locale.cpp45 RState ResLocale::SetLanguage(const char *language, size_t len) in SetLanguage()
115 RState ResLocale::Init(const char *language, size_t languageLen, const char *script, size_t scriptL… in Init()
276 ResLocale *ResLocale::BuildFromParts(const char *language, const char *script, const char *region, … in BuildFromParts()
387 Locale *BuildFromParts(const char *language, const char *script, const char *region, RState &rState) in BuildFromParts()
/base/telephony/core_service/services/sim/include/
Dsim_rdb_info.h35 std::string language; variable
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
Dutils.cpp91 uint16_t Utils::EncodeLanguage(const char *language) in EncodeLanguage()
110 uint64_t Utils::EncodeLocale(const char *language, in EncodeLocale()
/base/update/update_app/product/oh/base/src/main/ets/MainAbility/
DMainAbility.ts35 private language: string = ''; property in MainAbility
/base/global/i18n/frameworks/intl/include/
Dholiday_manager.h28 std::string language = ""; member
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dtest_common.cpp69 ResConfig *CreateResConfig(const char *language, const char *script, const char *region) in CreateResConfig()

1234