Lines Matching refs:locale
40 // 6.2.3 CanonicalizeUnicodeLocaleId ( locale )
41 static JSHandle<EcmaString> CanonicalizeUnicodeLocaleId(JSThread *thread, const JSHandle<EcmaString> &locale);
42 static std::string ToStdStringLanguageTag(JSThread *thread, const icu::Locale &locale);
43 static JSHandle<EcmaString> ToLanguageTag(JSThread *thread, const icu::Locale &locale);
46 // 9.2.2 BestAvailableLocale ( availableLocales, locale )
48 const std::string &locale);
158 static bool ValidateOtherTags(const icu::Locale &locale, const char *packageName, const char *key, bool &res)
160 const char *localeCountry = locale.getCountry();
161 const char *localeScript = locale.getScript();
163 std::string removeCountry = locale.getLanguage();
169 std::string language = locale.getLanguage();
175 static bool CheckLocales(const icu::Locale &locale, const char *key, const char *packageName, bool &res)
179 const char *formalLocale = locale.getName();
196 ValidateOtherTags(locale, packageName, key, res);