/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 88 fJdkNfmt.setCurrency(java.util.Currency.getInstance(currCode)); in format() 92 fJdkNfmt.setCurrency(save); in format() 205 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormatJDK 207 fJdkNfmt.setCurrency(null); in setCurrency() 210 fJdkNfmt.setCurrency(java.util.Currency.getInstance(theCurrency.getCurrencyCode())); in setCurrency()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | NumberFormatICU.java | 167 public void setCurrency(Currency currency) { in setCurrency() method in NumberFormatICU 169 fIcuNfmt.setCurrency(null); in setCurrency() 171 fIcuNfmt.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency()
|
D | DecimalFormatICU.java | 249 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatICU 251 fIcuDecfmt.setCurrency(null); in setCurrency() 253 … fIcuDecfmt.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency() 267 icuDecfs.setCurrency(null); in setDecimalFormatSymbols() 269 … icuDecfs.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode())); in setDecimalFormatSymbols()
|
D | DecimalFormatSymbolsICU.java | 130 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbolsICU 135 fIcuDecfs.setCurrency(icuCurrency); in setCurrency()
|
/external/icu/icu4c/source/samples/numfmt/ |
D | main.cpp | 206 nf.setCurrency(uCurrency); in setNumberFormatCurrency_2_6() 208 nf.setCurrency(uCurrency, errorCode); in setNumberFormatCurrency_2_6()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyFormat.java | 67 fmt.setCurrency(currency.getCurrency()); in format()
|
D | NumberFormatServiceShim.java | 96 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
|
D | NumberFormat.java | 395 if (!same) setCurrency(curr); in format() 397 if (!same) setCurrency(save); in format() 1237 public void setCurrency(Currency theCurrency) { in setCurrency() method in NumberFormat
|
D | DecimalFormat.java | 632 setCurrency(Currency.getInstance(def)); in DecimalFormat() 665 setCurrency(Currency.getInstance(def)); in DecimalFormat() 3173 setCurrency(Currency.getInstance(symbols.getULocale())); 3175 setCurrency(null); 5218 public void setCurrency(Currency theCurrency) { in setCurrency() method 5224 super.setCurrency(theCurrency); in setCurrency() 5229 symbols.setCurrency(theCurrency); in setCurrency()
|
D | CompactDecimalFormat.java | 193 setCurrency(null); in finishInit()
|
D | DecimalFormatSymbols.java | 495 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbols
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatSpecificationTest.java | 126 fmt.setCurrency(Currency.getInstance("JPY")); in TestPadding()
|
D | IntlTestDecimalFormatSymbols.java | 57 fr.setCurrency(currency); in TestSymbols()
|
D | NumberFormatTest.java | 664 numFmt.setCurrency(Currency.getInstance(currencyISOCode)); in TestCurrencyIsoPluralFormat() 1405 df.setCurrency(Currency.getInstance("INR")); in TestCoverage() 2282 fmt.setCurrency(curr); in expectCurrency() 2660 format1.setCurrency(euro); in TestSetCurrency() 2661 format2.setCurrency(euro); in TestSetCurrency() 3066 cfmt.setCurrency(cfmt.getCurrency()); in TestCurrencyFractionDigits() 3437 numberFormat.setCurrency(Currency.getInstance(test[1])); in TestCurrencyPlurals() 3688 fmt2.setCurrency(Currency.getInstance("PKR"));
|
/external/icu/icu4c/source/test/intltest/ |
D | numfmtspectest.cpp | 190 fmt.setCurrency(kJPY); in TestPadding()
|
D | numfmtst.cpp | 2581 fmt.setCurrency(curr, ec); in expectCurrency() 2583 fmt.setCurrency(curr); //Deprecated variant, for coverage only in expectCurrency() 3428 numFmt->setCurrency(currencyCode, status); in TestCurrencyIsoPluralFormat() 3540 numFmt->setCurrency(currencyCode, status); in TestCurrencyParsing() 6547 fmt->setCurrency(fmt->getCurrency(), status); in TestCurrencyFractionDigits() 7732 fmt->setCurrency(CUR_PKR, status); in TestCurrencyUsage()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | decimfmt.h | 1887 virtual void setCurrency(const UChar* theCurrency, UErrorCode& ec); 1894 virtual void setCurrency(const UChar* theCurrency);
|
D | numfmt.h | 941 virtual void setCurrency(const UChar* theCurrency, UErrorCode& ec);
|
/external/icu/icu4c/source/i18n/ |
D | numfmt.cpp | 567 cloneFmt->setCurrency(iso, status); in format() 622 cloneFmt->setCurrency(iso, status); in format() 1160 void NumberFormat::setCurrency(const UChar* theCurrency, UErrorCode& ec) { in setCurrency() function in NumberFormat
|
D | unum.cpp | 636 df->setCurrency(val.getTerminatedBuffer(), *status); in unum_setTextAttribute()
|
D | decimfmt.cpp | 5199 NumberFormat::setCurrency(theCurrency, ec); 5216 void DecimalFormat::setCurrency(const UChar* theCurrency, UErrorCode& ec) { 5218 NumberFormat::setCurrency(theCurrency, ec); 5255 void DecimalFormat::setCurrency(const UChar* theCurrency) { 5257 setCurrency(theCurrency, ec);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 559 gp.setCurrency(ecur); in TestCurrency() 581 gp.setCurrency(ecur2); in TestCurrency() 600 gp1.setCurrency(ecur2); in TestCurrency() 1469 gp.setCurrency(Currency.getInstance("GBP")); in TestNumberFormat()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | DecimalFormatSymbolsTest.java | 119 decfs.setCurrency(decfsEnUS.getCurrency()); in TestSetSymbols()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
D | GlobalizationPreferences.java | 385 public GlobalizationPreferences setCurrency(Currency currency) { in setCurrency() method in GlobalizationPreferences 992 result.setCurrency(getCurrency()); in guessNumberFormat()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/ |
D | TestCLDRVsICU.java | 406 nf.setCurrency(Currency.getInstance(attributeValue));
|