/arkcompiler/ets_runtime/ecmascript/ |
D | js_displaynames.cpp | 137 auto matcher = JSLocale::GetOptionOfString<LocaleMatcherOption>( in InitializeDisplayNames() 158 auto StyOpt = JSLocale::GetOptionOfString<StyOption>(thread, optionsObject, property, in InitializeDisplayNames() 169 auto type = JSLocale::GetOptionOfString<TypednsOption>(thread, optionsObject, property, in InitializeDisplayNames() 186 auto fallback = JSLocale::GetOptionOfString<FallbackOption>(thread, optionsObject, property, in InitializeDisplayNames()
|
D | js_number_format.cpp | 268 auto style = JSLocale::GetOptionOfString<StyleOption>( in SetNumberFormatUnitOptions() 305 auto currencyDisplay = JSLocale::GetOptionOfString<CurrencyDisplayOption>( in SetNumberFormatUnitOptions() 315 auto currencySign = JSLocale::GetOptionOfString<CurrencySignOption>( in SetNumberFormatUnitOptions() 350 auto unitDisplay = JSLocale::GetOptionOfString<UnitDisplayOption>( in SetNumberFormatUnitOptions() 462 auto matcher = JSLocale::GetOptionOfString<LocaleMatcherOption>( in InitializeNumberFormat() 560 auto notation = JSLocale::GetOptionOfString<NotationOption>( in InitializeNumberFormat() 574 auto compactDisplay = JSLocale::GetOptionOfString<CompactDisplayOption>( in InitializeNumberFormat() 622 auto signDisplay = JSLocale::GetOptionOfString<SignDisplayOption>( in InitializeNumberFormat()
|
D | js_locale.cpp | 229 … [[maybe_unused]] LocaleMatcherOption matcher = GetOptionOfString<LocaleMatcherOption>(thread, in SupportedLocales() 299 bool JSLocale::GetOptionOfString(JSThread *thread, const JSHandle<JSObject> &options, in GetOptionOfString() function in panda::ecmascript::JSLocale 835 …JSLocale::GetOptionOfString(thread, options, globalConst->GetHandledCalendarString(), emptyValues,… in InsertOptions() 845 …JSLocale::GetOptionOfString(thread, options, globalConst->GetHandledCollationString(), emptyValues… in InsertOptions() 854 …bool findhc = JSLocale::GetOptionOfString(thread, options, globalConst->GetHandledHourCycleString(… in InsertOptions() 864 …bool findkf = JSLocale::GetOptionOfString(thread, options, globalConst->GetHandledCaseFirstString(… in InsertOptions() 886 …JSLocale::GetOptionOfString(thread, options, globalConst->GetHandledNumberingSystemString(), empty… in InsertOptions()
|
D | js_collator.cpp | 104 …auto usage = JSLocale::GetOptionOfString<UsageOption>(thread, optionsObject, globalConst->GetHandl… in InitializeCollator() 111 auto matcher = JSLocale::GetOptionOfString<LocaleMatcherOption>( in InitializeCollator() 142 CaseFirstOption caseFirst = JSLocale::GetOptionOfString<CaseFirstOption>( in InitializeCollator() 255 SensitivityOption sensitivity = JSLocale::GetOptionOfString<SensitivityOption>( in InitializeCollator()
|
D | js_list_format.cpp | 114 auto matcher = JSLocale::GetOptionOfString<LocaleMatcherOption>( in InitializeListFormat() 142 auto type = JSLocale::GetOptionOfString<ListTypeOption>(thread, optionsObject, property, in InitializeListFormat() 154 auto style = JSLocale::GetOptionOfString<ListStyleOption>(thread, optionsObject, property, in InitializeListFormat()
|
D | js_relative_time_format.cpp | 47 … JSLocale::GetOptionOfString(thread, rtfOptions, globalConst->GetHandledLocaleMatcherString(), in InitializeRelativeTimeFormat() 107 RelativeStyleOption styleOption = JSLocale::GetOptionOfString(thread, rtfOptions, property, in InitializeRelativeTimeFormat() 118 …JSLocale::GetOptionOfString(thread, rtfOptions, property, {NumericOption::ALWAYS, NumericOption::A… in InitializeRelativeTimeFormat()
|
D | js_plural_rules.cpp | 172 JSLocale::GetOptionOfString(thread, prOptions, globalConst->GetHandledLocaleMatcherString(), in InitializePluralRules() 180 …JSLocale::GetOptionOfString(thread, prOptions, property, { TypeOption::CARDINAL, TypeOption::ORDIN… in InitializePluralRules()
|
D | js_date_time_format.cpp | 213 auto matcher = JSLocale::GetOptionOfString<LocaleMatcherOption>( in InitializeDateTimeFormat() 263 auto hourCycle = JSLocale::GetOptionOfString<HourCycleOption>( in InitializeDateTimeFormat() 392 …bool isFind = JSLocale::GetOptionOfString(thread, dateTimeOptions, property, item.allowedValues, &… in InitializeDateTimeFormat() 402 [[maybe_unused]] auto formatMatcher = JSLocale::GetOptionOfString<FormatMatcherOption>( in InitializeDateTimeFormat() 410 auto dateStyle = JSLocale::GetOptionOfString<DateTimeStyleOption>( in InitializeDateTimeFormat() 419 auto timeStyle = JSLocale::GetOptionOfString<DateTimeStyleOption>( in InitializeDateTimeFormat()
|
D | js_locale.h | 221 static T GetOptionOfString(JSThread *thread, const JSHandle<JSObject> &options, in GetOptionOfString() function 268 static bool GetOptionOfString(JSThread *thread, const JSHandle<JSObject> &options,
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_locale_test.cpp | 471 HWTEST_F_L0(JSLocaleTest, GetOptionOfString) in HWTEST_F_L0() argument 488 …bool result = JSLocale::GetOptionOfString(thread, optionsObj, languageProperty, stringValues, &opt… in HWTEST_F_L0() 492 …result = JSLocale::GetOptionOfString(thread, optionsObj, regionProperty, stringValues, &optionValu… in HWTEST_F_L0()
|