Home
last modified time | relevance | path

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

12345678910>>...30

/third_party/typescript/tests/baselines/reference/
DnumberFormatCurrencySign.types2 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
DnumberFormatCurrencySign.symbols2 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/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrencyAmount.java33 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/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCurrencyAmount.java32 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/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DCurrencyNameTest.java49 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/
DCurrencyMetaInfo.java89 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/
DCurrencyMetaInfo.java92 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/
DCustomSymbolCurrency.java16 … 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/
DCustomSymbolCurrency.java20 … 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/
DCurrencyDataEntry.java9 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/flutter/skia/third_party/externals/icu/source/samples/numfmt/
Dmain.cpp105 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/
Dmain.cpp105 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/icu4c/source/samples/numfmt/
Dmain.cpp105 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/
DICUCurrencyMetaInfo.java85 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/
DICUCurrencyMetaInfo.java83 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/icu/tools/currency/
Dreadme.txt11 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
38 - http://www.currency-iso.org/dl_iso_table_a1.xml
39 - http://www.currency-iso.org/dl_iso_tables_a3.xml
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
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Ducurr.h195 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/flutter/skia/third_party/externals/icu/source/common/unicode/
Ducurr.h176 ucurr_getName(const UChar* currency,
200 ucurr_getPluralName(const UChar* currency,
218 ucurr_getDefaultFractionDigits(const UChar* currency,
232 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency,
247 ucurr_getRoundingIncrement(const UChar* currency,
261 ucurr_getRoundingIncrementForUsage(const UChar* currency,
430 ucurr_getNumericCode(const UChar* currency);
/third_party/icu/icu4c/source/common/unicode/
Ducurr.h195 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/node/deps/icu-small/source/common/unicode/
Ducurr.h193 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/test/cintltst/
Dccurrtst.c43 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/boost/libs/scope_exit/example/
Dscope_guard_seq.cpp18 std::string currency("EUR"); in main() local
22 rates.insert(std::make_pair(currency, rate)).second; in main()
25 (&currency) ) { in main()
26 if(currency_rate_inserted && !commit) rates.erase(currency); in main()
Dscope_guard.cpp24 std::string currency("EUR"); in main() local
28 rates.insert(std::make_pair(currency, rate)).second; in main()
33 BOOST_SCOPE_EXIT(currency_rate_inserted, &commit, &rates, &currency) { in main()
34 if(currency_rate_inserted && !commit) rates.erase(currency); in main()
/third_party/icu/icu4c/source/i18n/
Dwinnmfmt.cpp47 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/skia/third_party/externals/icu/source/i18n/
Dwinnmfmt.cpp47 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 …]

12345678910>>...30