Home
last modified time | relevance | path

Searched refs:NotationOption (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_number_format.cpp53 const std::vector<NotationOption> JSNumberFormat::NOTATION_OPTION = {
54 NotationOption::STANDARD, NotationOption::SCIENTIFIC,
55 NotationOption::ENGINEERING, NotationOption::COMPACT
169 JSHandle<JSTaggedValue> OptionToEcmaString(JSThread *thread, NotationOption notation) in OptionToEcmaString()
174 case NotationOption::STANDARD: in OptionToEcmaString()
177 case NotationOption::SCIENTIFIC: in OptionToEcmaString()
180 case NotationOption::ENGINEERING: in OptionToEcmaString()
183 case NotationOption in OptionToEcmaString()
[all...]
H A Djs_number_format.h64 static const std::vector<NotationOption> NOTATION_OPTION;
105 NEXT_BIT_FIELD(BitField, Notation, NotationOption, NOTATION_BITS, CompactDisplay)
H A Djs_locale.h71 enum class NotationOption : uint8_t { STANDARD = 0x01, SCIENTIFIC, ENGINEERING, COMPACT, EXCEPTION }; class
518 NotationOption notation) in SetNumberFormatDigitOptions()
599 } else if (notation == NotationOption::COMPACT) { in SetNumberFormatDigitOptions()
H A Djs_plural_rules.cpp249 MXFD_DEFAULT, NotationOption::STANDARD); in InitializePluralRules()
H A Dobject_factory.cpp1234 JSNumberFormat::Cast(*obj)->SetNotation(NotationOption::EXCEPTION); in InitializeJSObject()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_number_format_test.cpp84 EXPECT_EQ(NotationOption::STANDARD, numberFormat->GetNotation()); in HWTEST_F_L0()
H A Djs_locale_test.cpp286 1, 1, NotationOption::COMPACT); in HWTEST_F_L0()
309 10, 13, NotationOption::EXCEPTION); in HWTEST_F_L0()

Completed in 19 milliseconds