Home
last modified time | relevance | path

Searched refs:tempLocale (Results 1 – 5 of 5) sorted by relevance

/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal.c61 char tempLocale[MAX_LOCALE_LENGTH] = {'\0'}; in GLOBAL_GetLanguage() local
62 int32_t ret = strcpy_s(tempLocale, MAX_LOCALE_LENGTH, g_locale); in GLOBAL_GetLanguage()
67 ret = GetGlobalUtilsImpl()->SplitLocale(tempLocale, localeArray, &count); in GLOBAL_GetLanguage()
79 char tempLocale[MAX_LOCALE_LENGTH] = { '\0' }; in GLOBAL_IsRTL() local
80 int32_t ret = strcpy_s(tempLocale, MAX_LOCALE_LENGTH, g_locale); in GLOBAL_IsRTL()
85 ret = GetGlobalUtilsImpl()->SplitLocale(tempLocale, localeArray, &count); in GLOBAL_IsRTL()
115 char tempLocale[MAX_LOCALE_LENGTH] = {'\0'}; in GLOBAL_GetRegion() local
116 int32_t ret = strcpy_s(tempLocale, MAX_LOCALE_LENGTH, g_locale); in GLOBAL_GetRegion()
121 ret = GetGlobalUtilsImpl()->SplitLocale(tempLocale, localeArray, &count); in GLOBAL_GetRegion()
203 char tempLocale[MAX_LOCALE_LENGTH] = {'\0'}; in GLOBAL_GetValueById() local
[all …]
Dres_config_impl.cpp62 LocaleInfo *tempLocale = new(std::nothrow) LocaleInfo(resLocale->GetLanguage(), in SetLocaleInfo() local
64 if (tempLocale == nullptr) { in SetLocaleInfo()
72 localeInfo_ = tempLocale; in SetLocaleInfo()
151 LocaleInfo *tempLocale = new(std::nothrow) LocaleInfo(*other.GetLocaleInfo()); in CopyLocale() local
152 if (tempLocale == nullptr) { in CopyLocale()
153 delete tempLocale; in CopyLocale()
160 this->localeInfo_ = tempLocale; in CopyLocale()
/base/global/i18n/frameworks/intl/src/
Di18n_calendar.cpp44 icu::Locale tempLocale = icu::Locale::forLanguageTag(localeTag, status); in I18nCalendar() local
55 calendar_ = icu::Calendar::createInstance(tempLocale, status); in I18nCalendar()
67 icu::Locale tempLocale = icu::Locale::forLanguageTag(localeTag, status); in I18nCalendar() local
78 InitCalendar(tempLocale, type); in I18nCalendar()
Dlocale_config.cpp248 icu::Locale tempLocale = icu::Locale::forLanguageTag(language.c_str(), status); in GetDisplayLanguageInner() local
252 dspNames->localeDisplayName(tempLocale, unistr); in GetDisplayLanguageInner()
/base/global/resource_management/frameworks/resmgr/src/
Dres_config_impl.cpp242 Locale tempLocale = icu::LocaleBuilder().setLocale(*other.GetLocaleInfo()).build(errCode); in CopyLocale() local
251 this->localeInfo_ = new Locale(tempLocale); in CopyLocale()