Home
last modified time | relevance | path

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

12345678910>>...31

/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/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/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/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/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/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/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/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/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/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.h173 ucurr_getName(const UChar* currency,
198 ucurr_getPluralName(const UChar* currency,
223 ucurr_getDefaultFractionDigits(const UChar* currency,
244 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency,
259 ucurr_getRoundingIncrement(const UChar* currency,
273 ucurr_getRoundingIncrementForUsage(const UChar* currency,
442 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/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_currencysymbols.cpp20 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, UErrorCode& status) in CurrencySymbols() argument
21 : fCurrency(currency), fLocaleName(locale.getName(), status) { in CurrencySymbols()
26 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, in CurrencySymbols() argument
28 : CurrencySymbols(currency, locale, status) { in CurrencySymbols()
107 if (!properties.currency.isNull()) { in resolveCurrency()
108 return properties.currency.getNoError(); in resolveCurrency()
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()
287 freeCurrencyFormat(&fFormatInfo->currency); in operator =()
288 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =()
401 formatInfo.currency.NumDigits = (UINT) numDigits; in format()
405 formatInfo.currency.Grouping = 0; in format()
408 …result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SI… in format()
[all …]
/third_party/icu/icu4c/source/i18n/
Dnumber_currencysymbols.cpp20 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, UErrorCode& status) in CurrencySymbols() argument
21 : fCurrency(currency), fLocaleName(locale.getName(), status) { in CurrencySymbols()
26 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, in CurrencySymbols() argument
28 : CurrencySymbols(currency, locale, status) { in CurrencySymbols()
105 if (!properties.currency.isNull()) { in resolveCurrency()
106 return properties.currency.getNoError(); in resolveCurrency()
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()
287 freeCurrencyFormat(&fFormatInfo->currency); in operator =()
288 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =()
401 formatInfo.currency.NumDigits = (UINT) numDigits; in format()
405 formatInfo.currency.Grouping = 0; in format()
408 …result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SI… in format()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dcurrcoll.cpp47 static const UChar currency[][2] = in currencyTest() local
95 for (i = 0; i < UPRV_LENGTHOF(currency); i += 1) in currencyTest()
97 for (j = 0; j < UPRV_LENGTHOF(currency); j += 1) in currencyTest()
99 UnicodeString source(currency[i], 1); in currencyTest()
100 UnicodeString target(currency[j], 1); in currencyTest()
/third_party/node/deps/icu-small/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 …]
Dnumber_currencysymbols.cpp20 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, UErrorCode& status) in CurrencySymbols() argument
21 : fCurrency(currency), fLocaleName(locale.getName(), status) { in CurrencySymbols()
26 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, in CurrencySymbols() argument
28 : CurrencySymbols(currency, locale, status) { in CurrencySymbols()
115 if (!properties.currency.isNull()) { in resolveCurrency()
116 return properties.currency.getNoError(); in resolveCurrency()
/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 …]
Dnumber_currencysymbols.cpp20 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, UErrorCode& status) in CurrencySymbols() argument
21 : fCurrency(currency), fLocaleName(locale.getName(), status) { in CurrencySymbols()
26 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, in CurrencySymbols() argument
28 : CurrencySymbols(currency, locale, status) { in CurrencySymbols()
115 if (!properties.currency.isNull()) { in resolveCurrency()
116 return properties.currency.getNoError(); in resolveCurrency()

12345678910>>...31