/third_party/typescript/tests/baselines/reference/ |
D | numberFormatCurrencySign.types | 2 const str = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'acc… 4 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })… 5 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })… 6 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })… 11 >{ style: 'currency', currency: 'NZD', currencySign: 'accounting' } : { style: string; currency: st… 13 >'currency' : "currency" 14 >currency : string
|
D | numberFormatCurrencySignResolved.types | 2 const options = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: … 4 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })… 5 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })… 6 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })… 11 >{ style: 'currency', currency: 'NZD', currencySign: 'accounting' } : { style: string; currency: st… 13 >'currency' : "currency" 14 >currency : string
|
D | bigintWithoutLib.types | 84 stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency' }); // should not error - bigintV… 85 >stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency' }) : string 87 >bigintVal.toLocaleString('de-DE', { style: 'currency' }) : string 92 >{ style: 'currency' } : { style: string; } 94 >'currency' : "currency" 96 stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EUR' }) // should not… 97 >stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EUR' }) : string 99 >bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EUR' }) : string 104 >{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; } 106 >'currency' : "currency" [all …]
|
D | numberFormatCurrencySign.symbols | 2 const str = new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'acc… 4 >new Intl.NumberFormat('en-NZ', { style: 'currency', currency: 'NZD', currencySign: 'accounting' })… 9 >currency : Symbol(currency, Decl(numberFormatCurrencySign.ts, 0, 63))
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | CurrencyAmount.java | 32 public CurrencyAmount(Number number, Currency currency) { in CurrencyAmount() argument 33 super(number, currency); in CurrencyAmount() 41 public CurrencyAmount(double number, Currency currency) { in CurrencyAmount() argument 42 super(new Double(number), currency); in CurrencyAmount() 50 public CurrencyAmount(Number number, java.util.Currency currency) { in CurrencyAmount() argument 51 this(number, Currency.fromJavaCurrency(currency)); in CurrencyAmount() 59 public CurrencyAmount(double number, java.util.Currency currency) { in CurrencyAmount() argument 60 this(number, Currency.fromJavaCurrency(currency)); in CurrencyAmount()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CurrencyAmount.java | 33 public CurrencyAmount(Number number, Currency currency) { in CurrencyAmount() argument 34 super(number, currency); in CurrencyAmount() 43 public CurrencyAmount(double number, Currency currency) { in CurrencyAmount() argument 44 super(new Double(number), currency); in CurrencyAmount() 53 public CurrencyAmount(Number number, java.util.Currency currency) { in CurrencyAmount() argument 54 this(number, Currency.fromJavaCurrency(currency)); in CurrencyAmount() 63 public CurrencyAmount(double number, java.util.Currency currency) { in CurrencyAmount() argument 64 this(number, Currency.fromJavaCurrency(currency)); in CurrencyAmount()
|
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | CurrencyNameTest.java | 49 Currency currency = Currency.getInstance(l); 50 if (currency != null) { 51 currencies.add(currency); 64 for (Currency currency : AVAILABLE_CURRENCIES) { in TestCurrencySymbols() 65 String currencyCode = currency.getCurrencyCode(); in TestCurrencySymbols() 73 String curSymbol = currency.getSymbol(loc); in TestCurrencySymbols() 97 curSymbol = currency.getSymbol(locIcu); in TestCurrencySymbols() 114 for (Currency currency : AVAILABLE_CURRENCIES) { in TestCurrencyDisplayNames() 115 String currencyCode = currency.getCurrencyCode(); in TestCurrencyDisplayNames() 125 curName = (String)GETDISPLAYNAME_METHOD.invoke(currency, new Object[] {loc}); in TestCurrencyDisplayNames() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | CurrencyMetaInfo.java | 89 public final String currency; field in CurrencyMetaInfo.CurrencyFilter 109 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument 111 this.currency = currency; in CurrencyFilter() 154 public static CurrencyFilter onCurrency(String currency) { in onCurrency() argument 155 return ALL.withCurrency(currency); in onCurrency() 218 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion() 228 public CurrencyFilter withCurrency(String currency) { in withCurrency() argument 229 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency() 239 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate() 252 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyMetaInfo.java | 92 public final String currency; field in CurrencyMetaInfo.CurrencyFilter 114 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument 116 this.currency = currency; in CurrencyFilter() 163 public static CurrencyFilter onCurrency(String currency) { in onCurrency() argument 164 return ALL.withCurrency(currency); in onCurrency() 233 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion() 244 public CurrencyFilter withCurrency(String currency) { in withCurrency() argument 245 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency() 256 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate() 270 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | CustomSymbolCurrency.java | 16 … public static Currency resolve(Currency currency, ULocale locale, DecimalFormatSymbols symbols) { in resolve() argument 17 if (currency == null) { in resolve() 18 currency = symbols.getCurrency(); in resolve() 20 if (currency == null) { in resolve() 23 if (!currency.equals(symbols.getCurrency())) { in resolve() 24 return currency; in resolve() 28 String currency1 = currency.getName(symbols.getULocale(), Currency.SYMBOL_NAME, null); in resolve() 29 String currency2 = currency.getCurrencyCode(); in resolve() 33 return currency; in resolve()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | CustomSymbolCurrency.java | 20 … public static Currency resolve(Currency currency, ULocale locale, DecimalFormatSymbols symbols) { in resolve() argument 21 if (currency == null) { in resolve() 22 currency = symbols.getCurrency(); in resolve() 24 if (currency == null) { in resolve() 27 if (!currency.equals(symbols.getCurrency())) { in resolve() 28 return currency; in resolve() 32 String currency1 = currency.getName(symbols.getULocale(), Currency.SYMBOL_NAME, null); in resolve() 33 String currency2 = currency.getCurrencyCode(); in resolve() 37 return currency; in resolve()
|
/third_party/icu/tools/currency/src/com/ibm/icu/dev/tool/currency/ |
D | CurrencyDataEntry.java | 9 package com.ibm.icu.dev.tool.currency; 17 private String currency; field in CurrencyDataEntry 25 …private CurrencyDataEntry(String entity, String currency, String alphabeticCode, Integer numericCo… in CurrencyDataEntry() argument 27 this.currency = currency; in CurrencyDataEntry() 40 public String currency() { in currency() method in CurrencyDataEntry 41 return currency; in currency() 84 public Builder setCurrency(String currency) { in setCurrency() argument 85 currency_ = currency; in setCurrency()
|
/third_party/icu/icu4c/source/samples/numfmt/ |
D | main.cpp | 105 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_4() argument 110 if(currency==NULL || strlen(currency)!=3) { in setNumberFormatCurrency_2_4() 131 const char *currency; in setNumberFormatCurrency_2_4() member 159 if(strcmp(currency, currencyMap[i].currency)==0) { in setNumberFormatCurrency_2_4() 194 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_6() argument 198 if(currency==NULL || strlen(currency)!=3) { in setNumberFormatCurrency_2_6() 205 u_charsToUChars(currency, uCurrency, 4); in setNumberFormatCurrency_2_6()
|
/third_party/skia/third_party/externals/icu/source/samples/numfmt/ |
D | main.cpp | 105 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_4() argument 110 if(currency==NULL || strlen(currency)!=3) { in setNumberFormatCurrency_2_4() 131 const char *currency; in setNumberFormatCurrency_2_4() member 159 if(strcmp(currency, currencyMap[i].currency)==0) { in setNumberFormatCurrency_2_4() 194 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_6() argument 198 if(currency==NULL || strlen(currency)!=3) { in setNumberFormatCurrency_2_6() 205 u_charsToUChars(currency, uCurrency, 4); in setNumberFormatCurrency_2_6()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | ICUCurrencyMetaInfo.java | 85 if (filter.currency != null) { in collect() 128 String currency = null; in collectRegion() local 135 currency = currBundle.getString(); in collectRegion() 136 if (filter.currency != null && !filter.currency.equals(currency)) { in collectRegion() 164 collector.collect(region, currency, from, to, i, tender); in collectRegion() 205 …public void collect(String region, String currency, long from, long to, int priority, boolean tend… in collect() argument 206 result.add(new CurrencyInfo(region, currency, from, to, priority, tender)); in collect() 225 String region, String currency, long from, long to, int priority, boolean tender) { in collect() argument 245 String region, String currency, long from, long to, int priority, boolean tender) { in collect() argument 246 result.add(currency); in collect() [all …]
|
/third_party/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
D | ICUCurrencyMetaInfo.java | 83 if (filter.currency != null) { in collect() 126 String currency = null; in collectRegion() local 133 currency = currBundle.getString(); in collectRegion() 134 if (filter.currency != null && !filter.currency.equals(currency)) { in collectRegion() 162 collector.collect(region, currency, from, to, i, tender); in collectRegion() 203 …public void collect(String region, String currency, long from, long to, int priority, boolean tend… in collect() argument 204 result.add(new CurrencyInfo(region, currency, from, to, priority, tender)); in collect() 223 String region, String currency, long from, long to, int priority, boolean tender) { in collect() argument 243 String region, String currency, long from, long to, int priority, boolean tender) { in collect() argument 244 result.add(currency); in collect() [all …]
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | ucurr.h | 193 ucurr_getName(const UChar* currency, 218 ucurr_getPluralName(const UChar* currency, 243 ucurr_getDefaultFractionDigits(const UChar* currency, 264 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency, 279 ucurr_getRoundingIncrement(const UChar* currency, 293 ucurr_getRoundingIncrementForUsage(const UChar* currency, 462 ucurr_getNumericCode(const UChar* currency);
|
/third_party/icu/icu4c/source/common/unicode/ |
D | ucurr.h | 193 ucurr_getName(const UChar* currency, 218 ucurr_getPluralName(const UChar* currency, 243 ucurr_getDefaultFractionDigits(const UChar* currency, 264 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency, 279 ucurr_getRoundingIncrement(const UChar* currency, 293 ucurr_getRoundingIncrementForUsage(const UChar* currency, 462 ucurr_getNumericCode(const UChar* currency);
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | ucurr.h | 195 ucurr_getName(const UChar* currency, 220 ucurr_getPluralName(const UChar* currency, 245 ucurr_getDefaultFractionDigits(const UChar* currency, 266 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency, 281 ucurr_getRoundingIncrement(const UChar* currency, 295 ucurr_getRoundingIncrementForUsage(const UChar* currency, 464 ucurr_getNumericCode(const UChar* currency);
|
/third_party/icu/tools/currency/ |
D | readme.txt | 11 This directory contains a tool used for maintaining ICU's ISO 4217 currency 13 ISO 4217 currency alpha codes to numeric codes. 18 package com.ibm.icu.dev.tool.currency 35 http://www.currency-iso.org/iso_index/iso_tables.htm. There are two 68 C:\devtools\trunk\currency>ant 69 Buildfile: C:\devtools\trunk\currency\build.xml 79 [get] Getting: http://www.currency-iso.org/dam/downloads/lists/list_one.xm 81 [get] To: C:\devtools\trunk\currency\out\xml\list_one.xml 82 [get] Getting: http://www.currency-iso.org/dam/downloads/lists/list_three. 84 [get] To: C:\devtools\trunk\currency\out\xml\list_three.xml [all …]
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | ccurrtst.c | 43 static const UChar currency[][2] = in currTest() local 79 static const UChar currency[][2] = in currTest() 120 for (i = 0; i < UPRV_LENGTHOF(currency); i += 1) in currTest() 122 for (j = 0; j < UPRV_LENGTHOF(currency); j += 1) in currTest() 124 u_strcpy(source, currency[i]); in currTest() 125 u_strcpy(target, currency[j]); in currTest()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | winnmfmt.cpp | 47 CURRENCYFMTW currency; member 206 Win32NumberFormat::Win32NumberFormat(const Locale &locale, UBool currency, UErrorCode &status) in Win32NumberFormat() argument 207 …: NumberFormat(), fCurrency(currency), fFormatInfo(nullptr), fFractionDigitsSet(false), fWindowsLo… in Win32NumberFormat() 239 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat() 259 freeCurrencyFormat(&fFormatInfo->currency); in ~Win32NumberFormat() 288 freeCurrencyFormat(&fFormatInfo->currency); in operator =() 289 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =() 402 formatInfo.currency.NumDigits = (UINT) numDigits; in format() 406 formatInfo.currency.Grouping = 0; in format() 409 …result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SI… in format() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | winnmfmt.cpp | 47 CURRENCYFMTW currency; member 206 Win32NumberFormat::Win32NumberFormat(const Locale &locale, UBool currency, UErrorCode &status) in Win32NumberFormat() argument 207 …: NumberFormat(), fCurrency(currency), fFormatInfo(NULL), fFractionDigitsSet(FALSE), fWindowsLocal… in Win32NumberFormat() 239 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat() 259 freeCurrencyFormat(&fFormatInfo->currency); in ~Win32NumberFormat() 288 freeCurrencyFormat(&fFormatInfo->currency); in operator =() 289 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =() 402 formatInfo.currency.NumDigits = (UINT) numDigits; in format() 406 formatInfo.currency.Grouping = 0; in format() 409 …result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SI… in format() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | winnmfmt.cpp | 47 CURRENCYFMTW currency; member 211 Win32NumberFormat::Win32NumberFormat(const Locale &locale, UBool currency, UErrorCode &status) in Win32NumberFormat() argument 212 …: NumberFormat(), fCurrency(currency), fFormatInfo(NULL), fFractionDigitsSet(FALSE), fWindowsLocal… in Win32NumberFormat() 244 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat() 264 freeCurrencyFormat(&fFormatInfo->currency); in ~Win32NumberFormat() 293 freeCurrencyFormat(&fFormatInfo->currency); in operator =() 294 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =() 407 formatInfo.currency.NumDigits = (UINT) numDigits; in format() 411 formatInfo.currency.Grouping = 0; in format() 414 …result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SI… in format() [all …]
|
/third_party/icu/docs/userguide/format_parse/numbers/ |
D | legacy-numberformat.md | 40 number can also be displayed as a currency or as a percentage. 44 $1234.50 //U.S. currency 45 1.234,57€ //German currency 74 Returns the currency format for the current locale or for a specified 90 with a suitable display symbol or name for a currency. By default, the currency 91 is set from the locale data from when the currency format instance is created, 96 For proper currency formatting, both number and currency must be 98 format monetary values in any currency with the format of any locale, like in 100 names for a currency, then the 3-letter ISO code itself is displayed. 102 The locale ID and the currency code are effectively independent: The locale ID [all …]
|