Lines Matching refs:Locale
133 using Locale = builtins::BuiltinsLocale;
2670 // Locale.prototype
2675 // Locale.prototype_or_dynclass
2679 // Locale = new Function()
2681 NewIntlConstructor(env, localePrototype, Locale::LocaleConstructor, "Locale", FunctionLength::ONE));
2684 // Locale.prototype method
2685 SetFunction(env, localePrototype, "maximize", Locale::Maximize, FunctionLength::ZERO);
2686 SetFunction(env, localePrototype, "minimize", Locale::Minimize, FunctionLength::ZERO);
2687 SetFunction(env, localePrototype, "toString", Locale::ToString, FunctionLength::ZERO);
2689 JSHandle<JSTaggedValue> baseNameGetter = CreateGetter(env, Locale::GetBaseName, "baseName", FunctionLength::ZERO);
2692 JSHandle<JSTaggedValue> calendarGetter = CreateGetter(env, Locale::GetCalendar, "calendar", FunctionLength::ZERO);
2696 CreateGetter(env, Locale::GetCaseFirst, "caseFirst", FunctionLength::ZERO);
2700 CreateGetter(env, Locale::GetCollation, "collation", FunctionLength::ZERO);
2704 CreateGetter(env, Locale::GetHourCycle, "hourCycle", FunctionLength::ZERO);
2707 JSHandle<JSTaggedValue> numericGetter = CreateGetter(env, Locale::GetNumeric, "numeric", FunctionLength::ZERO);
2711 CreateGetter(env, Locale::GetNumberingSystem, "numberingSystem", FunctionLength::ZERO);
2714 JSHandle<JSTaggedValue> languageGetter = CreateGetter(env, Locale::GetLanguage, "language", FunctionLength::ZERO);
2717 JSHandle<JSTaggedValue> scriptGetter = CreateGetter(env, Locale::GetScript, "script", FunctionLength::ZERO);
2720 JSHandle<JSTaggedValue> regionGetter = CreateGetter(env, Locale::GetRegion, "region", FunctionLength::ZERO);
2723 // 10.3.2 Intl.Locale.prototype[ @@toStringTag ]
2724 SetStringTagSymbol(env, localePrototype, "Intl.Locale");