Searched refs:NotationOption (Results 1 - 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_number_format.cpp | 53 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 D | js_number_format.h | 64 static const std::vector<NotationOption> NOTATION_OPTION; 105 NEXT_BIT_FIELD(BitField, Notation, NotationOption, NOTATION_BITS, CompactDisplay)
|
H A D | js_locale.h | 71 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 D | js_plural_rules.cpp | 249 MXFD_DEFAULT, NotationOption::STANDARD); in InitializePluralRules()
|
H A D | object_factory.cpp | 1234 JSNumberFormat::Cast(*obj)->SetNotation(NotationOption::EXCEPTION); in InitializeJSObject()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_number_format_test.cpp | 84 EXPECT_EQ(NotationOption::STANDARD, numberFormat->GetNotation()); in HWTEST_F_L0()
|
H A D | js_locale_test.cpp | 286 1, 1, NotationOption::COMPACT); in HWTEST_F_L0() 309 10, 13, NotationOption::EXCEPTION); in HWTEST_F_L0()
|
Completed in 19 milliseconds