Home
last modified time | relevance | path

Searched refs:CurrencyDisplayOption (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_number_format.cpp46 JSHandle<JSTaggedValue> OptionToEcmaString(JSThread *thread, CurrencyDisplayOption currencyDisplay) in OptionToEcmaString()
51 case CurrencyDisplayOption::CODE: in OptionToEcmaString()
54 case CurrencyDisplayOption::SYMBOL: in OptionToEcmaString()
57 case CurrencyDisplayOption::NARROWSYMBOL: in OptionToEcmaString()
60 case CurrencyDisplayOption::NAME: in OptionToEcmaString()
305 auto currencyDisplay = JSLocale::GetOptionOfString<CurrencyDisplayOption>( in SetNumberFormatUnitOptions()
307 … {CurrencyDisplayOption::CODE, CurrencyDisplayOption::SYMBOL, CurrencyDisplayOption::NARROWSYMBOL, in SetNumberFormatUnitOptions()
308 CurrencyDisplayOption::NAME}, in SetNumberFormatUnitOptions()
309 {"code", "symbol", "narrowSymbol", "name"}, CurrencyDisplayOption::SYMBOL); in SetNumberFormatUnitOptions()
377 case CurrencyDisplayOption::CODE: in SetNumberFormatUnitOptions()
[all …]
Djs_number_format.h34 enum class CurrencyDisplayOption : uint8_t { CODE = 0x01, SYMBOL, NARROWSYMBOL, NAME, EXCEPTION }; enum
84 …NEXT_BIT_FIELD(BitField, CurrencyDisplay, CurrencyDisplayOption, CURRENCY_DISPLAY_BITS, CurrencySi… in FIRST_BIT_FIELD()
Dobject_factory.cpp968 JSNumberFormat::Cast(*obj)->SetCurrencyDisplay(CurrencyDisplayOption::EXCEPTION); in InitializeJSObject()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_number_format_test.cpp121 EXPECT_EQ(CurrencyDisplayOption::SYMBOL, numberFormat->GetCurrencyDisplay()); in HWTEST_F_L0()