Home
last modified time | relevance | path

Searched refs:GetOptionOfString (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_displaynames.cpp137 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()
Djs_number_format.cpp268 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()
Djs_locale.cpp229 … [[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()
Djs_collator.cpp104 …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()
Djs_list_format.cpp114 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()
Djs_relative_time_format.cpp47 … 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()
Djs_plural_rules.cpp172 JSLocale::GetOptionOfString(thread, prOptions, globalConst->GetHandledLocaleMatcherString(), in InitializePluralRules()
180 …JSLocale::GetOptionOfString(thread, prOptions, property, { TypeOption::CARDINAL, TypeOption::ORDIN… in InitializePluralRules()
Djs_date_time_format.cpp213 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()
Djs_locale.h221 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/
Djs_locale_test.cpp471 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()