Home
last modified time | relevance | path

Searched refs:currency (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DnumberFormatCurrencySign.ts21 const str = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'acc…
23 AssertType(new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'acco…
24 AssertType(new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'acco…
/arkcompiler/ets_runtime/ecmascript/
Djs_number_format.cpp280 JSHandle<JSTaggedValue> currency = in SetNumberFormatUnitOptions() local
286 if (!currency->IsUndefined()) { in SetNumberFormatUnitOptions()
287 JSHandle<EcmaString> currencyStr = JSHandle<EcmaString>::Cast(currency); in SetNumberFormatUnitOptions()
364 JSHandle<EcmaString> currencyStr = JSHandle<EcmaString>::Cast(currency); in SetNumberFormatUnitOptions()
684 int32_t JSNumberFormat::CurrencyDigits(const icu::UnicodeString &currency) in CurrencyDigits() argument
690 … ucurr_getDefaultFractionDigits(reinterpret_cast<const UChar *>(currency.getBuffer()), &status); in CurrencyDigits()
960 JSHandle<JSTaggedValue> currency(thread, JSTaggedValue::Undefined()); in ResolvedOptions() local
963 currency = JSHandle<JSTaggedValue>(thread, numberFormat->GetCurrency()); in ResolvedOptions()
965 if (!currency->IsUndefined()) { // NOLINT(readability-implicit-bool-conversion) in ResolvedOptions()
967 JSObject::CreateDataPropertyOrThrow(thread, options, property, currency); in ResolvedOptions()
Djs_locale.cpp624 bool JSLocale::IsWellFormedCurrencyCode(const std::string &currency) in IsWellFormedCurrencyCode() argument
626 if (currency.length() != INTL_INDEX_THREE) { in IsWellFormedCurrencyCode()
629 …return (IsAToZ(currency[INTL_INDEX_ZERO]) && IsAToZ(currency[INTL_INDEX_ONE]) && IsAToZ(currency[I… in IsWellFormedCurrencyCode()
Djs_number_format.h121 static int32_t CurrencyDigits(const icu::UnicodeString &currency);
Djs_locale.h483 static bool IsWellFormedCurrencyCode(const std::string &currency);
Dglobal_env_constants.h342 …V(JSTaggedValue, CurrencyString, CURRENCY_STRING_INDEX, currency) …
/arkcompiler/ets_frontend/test262/
Dintl_tests.txt516 intl402/NumberFormat/throws-for-currency-style-without-currency-option.js
532 intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js
535 intl402/NumberFormat/test-option-currency.js
540 intl402/NumberFormat/currency-code-well-formed.js
542 intl402/NumberFormat/currency-code-invalid.js
549 intl402/NumberFormat/currency-digits.js
580 intl402/NumberFormat/prototype/format/signDisplay-currency-zh-TW.js
588 intl402/NumberFormat/prototype/format/signDisplay-currency-ko-KR.js
595 intl402/NumberFormat/prototype/format/signDisplay-currency-en-US.js
601 intl402/NumberFormat/prototype/format/signDisplay-currency-de-DE.js
[all …]
/arkcompiler/ets_frontend/es2panda/test/
Dtest262skiplist.txt7621 intl402/NumberFormat/currency-digits.js
7622 intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js
7645 intl402/NumberFormat/prototype/format/signDisplay-currency-de-DE.js
7646 intl402/NumberFormat/prototype/format/signDisplay-currency-en-US.js
7647 intl402/NumberFormat/prototype/format/signDisplay-currency-ja-JP.js
7648 intl402/NumberFormat/prototype/format/signDisplay-currency-ko-KR.js
7649 intl402/NumberFormat/prototype/format/signDisplay-currency-zh-TW.js
7677 intl402/NumberFormat/prototype/formatToParts/signDisplay-currency-de-DE.js
7678 intl402/NumberFormat/prototype/formatToParts/signDisplay-currency-en-US.js
7679 intl402/NumberFormat/prototype/formatToParts/signDisplay-currency-ja-JP.js
[all …]