Searched refs:tempLocale (Results 1 - 6 of 6) sorted by relevance
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | global.c | 61 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_LENGT in GLOBAL_GetValueById() local 274 char tempLocale[MAX_LOCALE_LENGTH] = {'\\0'}; GLOBAL_GetValueByName() local [all...] |
H A D | res_config_impl.cpp | 62 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/ |
H A D | i18n_calendar.cpp | 45 icu::Locale tempLocale = icu::Locale::forLanguageTag(localeTag, status);
in I18nCalendar() local 56 calendar_ = icu::Calendar::createInstance(tempLocale, status);
in I18nCalendar() 68 icu::Locale tempLocale = icu::Locale::forLanguageTag(localeTag, status);
in I18nCalendar() local 79 InitCalendar(tempLocale, type);
in I18nCalendar()
|
H A D | i18n_timezone.cpp | 986 LocaleInfo* tempLocale = new LocaleInfo(tempLocaleStr); in GetFallBack() local 987 if (LocaleMatcher::Match(requestLocale.get(), tempLocale)) { in GetFallBack() 988 matchLocaleList.push_back(tempLocale); in GetFallBack() 990 delete tempLocale; in GetFallBack()
|
H A D | locale_config.cpp | 255 icu::Locale tempLocale = icu::Locale::forLanguageTag(language.c_str(), status);
in GetDisplayLanguageInner() local 260 dspNames->localeDisplayName(tempLocale, unistr);
in GetDisplayLanguageInner()
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | res_config_impl.cpp | 324 Locale tempLocale = icu::LocaleBuilder().setLocale(*otherLocaleInfo).build(errCode); in CopyLocale() local 333 *currentLocaleInfo = new Locale(tempLocale); in CopyLocale()
|
Completed in 8 milliseconds