Home
last modified time | relevance | path

Searched refs:defaultLocale (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/intl/
Dlocale_helper.cpp339 icu::Locale defaultLocale; in DefaultLocale() local
341 …if (strcmp(defaultLocale.getName(), "en_US_POSIX") == 0 || strcmp(defaultLocale.getName(), "c") ==… in DefaultLocale()
344 if (defaultLocale.isBogus() != 0) { in DefaultLocale()
347 return ToLanguageTag(thread, defaultLocale); in DefaultLocale()
/arkcompiler/ets_runtime/ecmascript/
Djs_locale.cpp104 icu::Locale defaultLocale = icu::Locale::forLanguageTag(locale, *status); in BuildLocaleMatcher() local
107 builder.setDefaultLocale(&defaultLocale); in BuildLocaleMatcher()
191 JSHandle<EcmaString> defaultLocale = intl::LocaleHelper::DefaultLocale(thread); in BestFitSupportedLocales() local
198 if (EcmaStringAccessor::StringsAreEqual(thread->GetEcmaVM(), locale, defaultLocale)) { in BestFitSupportedLocales()