Lines Matching defs:locales
57 // All the available locales that are statically known to fulfill fast path conditions.
105 const JSHandle<JSTaggedValue> &locales,
113 // 1. Let requestedLocales be ? CanonicalizeLocaleList(locales).
114 JSHandle<TaggedArray> requestedLocales = intl::LocaleHelper::CanonicalizeLocaleList(thread, locales);
320 // If the ignorePunctuation is not defined, which in "th" locale that is true but false on other locales.
322 if (JSTaggedValue::Equal(thread, JSHandle<JSTaggedValue>::Cast(thKey), locales)) {
336 locales->IsUndefined() ? "" : EcmaStringAccessor(locales.GetTaggedValue()).ToStdString();
347 icu::Collator *JSCollator::GetCachedIcuCollator(JSThread *thread, const JSTaggedValue &locales)
349 std::string cacheEntry = locales.IsUndefined() ? "" : EcmaStringAccessor(locales).ToStdString();
358 icu::Collator *JSCollator::GetCachedIcuCollator(JSThread *thread, const JSHandle<JSTaggedValue> &locales)
360 return GetCachedIcuCollator(thread, locales.GetTaggedValue());
502 JSHandle<JSTaggedValue> locales)
504 if (locales->IsUndefined()) {
521 if (!locales->IsString()) {
525 JSHandle<EcmaString> localesString = JSHandle<EcmaString>::Cast(locales);
537 JSHandle<JSTaggedValue> locales,
543 return CompareStringsOptionFor(thread, locales);