Lines Matching refs:locale
127 std::string locale {};
133 std::string locale;
348 static bool IsWellCollation(const icu::Locale &locale, const std::string &value)
353 return IsWellExtension<icu::Collator>(locale, "collation", value);
356 static bool IsWellCalendar(const icu::Locale &locale, const std::string &value)
358 return IsWellExtension<icu::Calendar>(locale, "calendar", value);
362 static bool IsWellExtension(const icu::Locale &locale, const char *key, const std::string &value)
369 icu::StringEnumeration *sequence = T::getKeywordValuesForLocale(key, icu::Locale(locale.getBaseName()),
443 static bool ValidateOtherTags(const icu::Locale &locale, const char *packageName, const char *key, bool &res)
445 const char *localeCountry = locale.getCountry();
446 const char *localeScript = locale.getScript();
449 removeCountry = locale.getLanguage();
455 std::string language = locale.getLanguage();
461 static bool CheckLocales(const icu::Locale &locale, const char *key, const char *packageName, bool &res)
465 const char *formalLocale = locale.getName();
482 ValidateOtherTags(locale, packageName, key, res);
505 static JSHandle<JSLocale> InitializeLocale(JSThread *thread, const JSHandle<JSLocale> &locale,
509 static JSTaggedValue NormalizeKeywordValue(JSThread *thread, const JSHandle<JSLocale> &locale,
512 static JSHandle<EcmaString> ToString(JSThread *thread, const JSHandle<JSLocale> &locale);
618 static bool CheckLocales(const icu::Locale &locale, const char *path, const char *key);