Lines Matching refs:style

2 // Use of this source code is governed by a BSD-style license that can be
63 UDisplayContext ToUDisplayContext(JSDisplayNames::Style style) {
64 switch (style) {
91 JSDisplayNames::Style style, bool fallback,
93 : style_(style) {
119 LanguageNames(const icu::Locale& locale, JSDisplayNames::Style style,
121 : LocaleDisplayNamesCommon(locale, style, fallback, dialect) {}
156 RegionNames(const icu::Locale& locale, JSDisplayNames::Style style,
158 : LocaleDisplayNamesCommon(locale, style, fallback, dialect) {}
181 ScriptNames(const icu::Locale& locale, JSDisplayNames::Style style,
183 : LocaleDisplayNamesCommon(locale, style, fallback, dialect) {}
206 KeyValueDisplayNames(const icu::Locale& locale, JSDisplayNames::Style style,
209 : LocaleDisplayNamesCommon(locale, style, fallback, dialect),
241 CurrencyNames(const icu::Locale& locale, JSDisplayNames::Style style,
243 : KeyValueDisplayNames(locale, style, fallback, dialect, "currency",
262 CalendarNames(const icu::Locale& locale, JSDisplayNames::Style style,
264 : KeyValueDisplayNames(locale, style, fallback, dialect, "calendar",
286 JSDisplayNames::Style style) {
287 switch (style) {
337 DateTimeFieldNames(const icu::Locale& locale, JSDisplayNames::Style style,
339 : locale_(locale), width_(StyleToUDateTimePGDisplayWidth(style)) {
370 JSDisplayNames::Style style, Type type,
374 return new LanguageNames(locale, style, fallback, dialect);
376 return new RegionNames(locale, style, fallback, false);
378 return new ScriptNames(locale, style, fallback, false);
380 return new CurrencyNames(locale, style, fallback, false);
382 return new CalendarNames(locale, style, fallback, false);
384 return new DateTimeFieldNames(locale, style, fallback);
444 // 10. Let s be ? GetOption(options, "style", "string",
447 isolate, options, "style", service, {"long", "short", "narrow"},
452 // 11. Set displayNames.[[Style]] to style.
515 // Let styleFields be typeFields.[[<style>]].
559 Handle<String> style = display_names->StyleAsString();
570 isolate, options, factory->style_string(), style, Just(kDontThrow));
630 switch (style()) {