Home
last modified time | relevance | path

Searched refs:OptionType (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_locale.cpp278 const JSHandle<JSTaggedValue> &property, OptionType type, in GetOption()
289 ASSERT_PRINT(type == OptionType::BOOLEAN || type == OptionType::STRING, "type is not boolean or string"); in GetOption()
293 if (type == OptionType::BOOLEAN) { in GetOption()
298 if (type == OptionType::STRING) { in GetOption()
782 GetOption(thread, options, globalConst->GetHandledLanguageString(), OptionType::STRING, in ApplyOptionsToTag()
799 GetOption(thread, options, globalConst->GetHandledScriptString(), OptionType::STRING, in ApplyOptionsToTag()
817 GetOption(thread, options, globalConst->GetHandledRegionString(), OptionType::STRING, in ApplyOptionsToTag()
H A Djs_number_format.cpp341 JSLocale::GetOption(thread, optionsObject, property, OptionType::STRING, undefinedValue, undefinedValue); in SetNumberFormatUnitOptions()
384 JSLocale::GetOption(thread, optionsObject, property, OptionType::STRING, undefinedValue, undefinedValue); in SetNumberFormatUnitOptions()
533 JSLocale::GetOption(thread, optionsObject, property, OptionType::STRING, undefinedValue, undefinedValue); in InitializeNumberFormat()
H A Djs_locale.h53 enum class OptionType : uint8_t { STRING = 0x01, BOOLEAN }; class
278 const JSHandle<JSTaggedValue> &property, OptionType type,
H A Djs_collator.cpp146 JSLocale::GetOption(thread, optionsObject, globalConst->GetHandledCollationString(), OptionType::STRING, in InitializeCollator()
H A Djs_relative_time_format.cpp54 JSLocale::GetOption(thread, rtfOptions, property, OptionType::STRING, undefinedValue, undefinedValue); in InitializeRelativeTimeFormat()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_locale_test.cpp493 JSLocale::GetOption(thread, optionsObj, languageProperty, OptionType::STRING, arrayValue, fallback); in HWTEST_F_L0()
496 optionValue = JSLocale::GetOption(thread, optionsObj, regionProperty, OptionType::STRING, arrayValue, fallback); in HWTEST_F_L0()

Completed in 10 milliseconds