Searched refs:CurrencyDisplayOption (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | js_number_format.cpp | 46 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 …]
|
D | js_number_format.h | 34 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()
|
D | object_factory.cpp | 968 JSNumberFormat::Cast(*obj)->SetCurrencyDisplay(CurrencyDisplayOption::EXCEPTION); in InitializeJSObject()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_number_format_test.cpp | 121 EXPECT_EQ(CurrencyDisplayOption::SYMBOL, numberFormat->GetCurrencyDisplay()); in HWTEST_F_L0()
|