Searched refs:currency (Results 1 – 8 of 8) sorted by relevance
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | numberFormatCurrencySign.ts | 21 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/ |
D | js_number_format.cpp | 280 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 ¤cy) 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()
|
D | js_locale.cpp | 624 bool JSLocale::IsWellFormedCurrencyCode(const std::string ¤cy) 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()
|
D | js_number_format.h | 121 static int32_t CurrencyDigits(const icu::UnicodeString ¤cy);
|
D | js_locale.h | 483 static bool IsWellFormedCurrencyCode(const std::string ¤cy);
|
D | global_env_constants.h | 342 …V(JSTaggedValue, CurrencyString, CURRENCY_STRING_INDEX, currency) …
|
/arkcompiler/ets_frontend/test262/ |
D | intl_tests.txt | 516 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/ |
D | test262skiplist.txt | 7621 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 …]
|