Searched refs:GetSystemLocale (Results 1 – 18 of 18) sorted by relevance
/base/global/i18n/frameworks/intl/test/fuzztest/localeconfigget_fuzzer/ |
D | localeconfigget_fuzzer.cpp | 29 LocaleConfig::GetSystemLocale(); in DoSomethingInterestingWithMyAPI()
|
/base/global/i18n/frameworks/intl/test/unittest/ |
D | locale_config_test.cpp | 84 EXPECT_EQ(LocaleConfig::GetSystemLocale(), "zh-Hans-CN"); 360 string currentLocale = LocaleConfig::GetSystemLocale(); 364 currentLocale = LocaleConfig::GetSystemLocale();
|
D | intl_test.cpp | 716 std::string systemLocale = LocaleConfig::GetSystemLocale(); 1927 std::string systemLocale = LocaleConfig::GetSystemLocale();
|
/base/global/i18n/frameworks/intl/src/ |
D | index_util.cpp | 31 icu::Locale locale(LocaleConfig::GetSystemLocale().c_str()); in IndexUtil()
|
D | plural_rules.cpp | 111 localeTags.push_back(LocaleConfig::GetSystemLocale()); in InitPluralRules()
|
D | locale_config.cpp | 316 string LocaleConfig::GetSystemLocale() in GetSystemLocale() function in OHOS::Global::I18n::LocaleConfig 1066 std::string systemLocaleTag = GetSystemLocale(); in GetValidLocale() 1142 std::string locale = GetSystemLocale(); in SetUsingLocalDigit() 1177 std::string locale = GetSystemLocale(); in GetUsingLocalDigit() 1200 std::string systemLocaleTag = GetSystemLocale(); in UpdateSystemLocale()
|
D | relative_time_format.cpp | 77 localeInfo = std::make_unique<LocaleInfo>(LocaleConfig::GetSystemLocale(), configs); in RelativeTimeFormat()
|
D | i18n_timezone.cpp | 684 std::string localeStr = LocaleConfig::GetSystemLocale(); in GetDisplayName() 690 std::string localeStr = LocaleConfig::GetSystemLocale(); in GetDisplayName() 703 std::string systemLocale = LocaleConfig::GetSystemLocale(); in GetDisplayName()
|
D | system_locale_manager.cpp | 156 std::string locale = LocaleConfig::GetSystemLocale(); in GetTimezoneCityInfoArray()
|
D | collator.cpp | 77 localeTags.push_back(LocaleConfig::GetSystemLocale()); in Collator()
|
D | locale_info.cpp | 67 std::string defaultLocaleTag = LocaleConfig::GetSystemLocale(); in InitLocaleInfo()
|
D | preferred_language.cpp | 310 std::string systemLocale = LocaleConfig::GetSystemLocale(); in GetPreferredLocale()
|
D | number_format.cpp | 89 localeInfo = std::make_unique<LocaleInfo>(LocaleConfig::GetSystemLocale(), configs); in NumberFormat()
|
D | date_time_format.cpp | 151 return InitWithLocale(LocaleConfig::GetSystemLocale(), configs); in InitWithDefaultLocale()
|
/base/global/i18n/interfaces/js/kits/src/ |
D | system_locale_manager_addon.cpp | 243 localeTag = LocaleConfig::GetSystemLocale(); in GetSortOptionsFromJsParam() 250 localeTag = LocaleConfig::GetSystemLocale(); in GetSortOptionsFromJsParam()
|
D | i18n_addon.cpp | 167 DECLARE_NAPI_FUNCTION("getSystemLocale", GetSystemLocale), in Init() 1008 napi_value I18nAddon::GetSystemLocale(napi_env env, napi_callback_info info) in GetSystemLocale() function in OHOS::Global::I18n::I18nAddon 1010 std::string value = LocaleConfig::GetSystemLocale(); in GetSystemLocale() 3564 DECLARE_NAPI_FUNCTION("getSystemLocale", GetSystemLocale), in CreateSystemObject()
|
/base/global/i18n/frameworks/intl/include/ |
D | locale_config.h | 37 static std::string GetSystemLocale();
|
/base/global/i18n/interfaces/js/kits/include/ |
D | i18n_addon.h | 58 static napi_value GetSystemLocale(napi_env env, napi_callback_info info);
|