/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | Currency.java | 42 public final java.util.Currency currency; field in Currency 49 this.currency = delegate; in Currency() 217 return currency.hashCode(); in hashCode() 227 return currency.equals(((Currency)rhs).currency); in equals() 239 return currency.getCurrencyCode(); in getCurrencyCode() 260 return currency.getSymbol(ULocale.getDefault(Category.DISPLAY).toLocale()); in getSymbol() 271 return currency.getSymbol(loc); in getSymbol() 282 return currency.getSymbol(uloc.toLocale()); in getSymbol() 434 return currency.getDefaultFractionDigits(); in getDefaultFractionDigits() 452 return currency.toString(); in toString()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | CurrencyNameTest.java | 46 Currency currency = Currency.getInstance(l); 47 if (currency != null) { 48 currencies.add(currency); 61 for (Currency currency : AVAILABLE_CURRENCIES) { in TestCurrencySymbols() 62 String currencyCode = currency.getCurrencyCode(); in TestCurrencySymbols() 70 String curSymbol = currency.getSymbol(loc); in TestCurrencySymbols() 94 curSymbol = currency.getSymbol(locIcu); in TestCurrencySymbols() 111 for (Currency currency : AVAILABLE_CURRENCIES) { in TestCurrencyDisplayNames() 112 String currencyCode = currency.getCurrencyCode(); in TestCurrencyDisplayNames() 122 curName = (String)GETDISPLAYNAME_METHOD.invoke(currency, new Object[] {loc}); in TestCurrencyDisplayNames() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyMetaInfo.java | 88 public final String currency; field in CurrencyMetaInfo.CurrencyFilter 108 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument 110 this.currency = currency; in CurrencyFilter() 153 public static CurrencyFilter onCurrency(String currency) { in onCurrency() argument 154 return ALL.withCurrency(currency); in onCurrency() 217 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion() 227 public CurrencyFilter withCurrency(String currency) { in withCurrency() argument 228 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency() 238 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate() 251 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange() [all …]
|
D | DecimalFormatSymbols.java | 698 public void setCurrencySymbol(String currency) { in setCurrencySymbol() argument 699 currencySymbol = currency; in setCurrencySymbol() 714 public void setInternationalCurrencySymbol(String currency) { in setInternationalCurrencySymbol() argument 715 intlCurrencySymbol = currency; in setInternationalCurrencySymbol() 724 return currency; in getCurrency() 742 public void setCurrency(Currency currency) { in setCurrency() argument 743 if (currency == null) { in setCurrency() 746 this.currency = currency; in setCurrency() 747 intlCurrencySymbol = currency.getCurrencyCode(); in setCurrency() 748 currencySymbol = currency.getSymbol(requestedLocale); in setCurrency() [all …]
|
D | CurrencyFormat.java | 68 CurrencyAmount currency = (CurrencyAmount) obj; in format() local 70 fmt.setCurrency(currency.getCurrency()); in format() 71 return fmt.format(currency.getNumber(), toAppendTo, pos); in format()
|
/external/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 …]
|
D | DecimalFormatSymbols.java | 758 public void setCurrencySymbol(String currency) { in setCurrencySymbol() argument 759 currencySymbol = currency; in setCurrencySymbol() 776 public void setInternationalCurrencySymbol(String currency) { in setInternationalCurrencySymbol() argument 777 intlCurrencySymbol = currency; in setInternationalCurrencySymbol() 787 return currency; in getCurrency() 807 public void setCurrency(Currency currency) { in setCurrency() argument 808 if (currency == null) { in setCurrency() 811 this.currency = currency; in setCurrency() 812 intlCurrencySymbol = currency.getCurrencyCode(); in setCurrency() 813 currencySymbol = currency.getSymbol(requestedLocale); in setCurrency() [all …]
|
/external/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()
|
/external/icu/android_icu4j/src/main/java/android/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 …]
|
/external/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 …]
|
/external/icu/icu4c/source/common/unicode/ |
D | ucurr.h | 162 ucurr_getName(const UChar* currency, 186 ucurr_getPluralName(const UChar* currency, 204 ucurr_getDefaultFractionDigits(const UChar* currency, 218 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency, 233 ucurr_getRoundingIncrement(const UChar* currency, 247 ucurr_getRoundingIncrementForUsage(const UChar* currency, 416 ucurr_getNumericCode(const UChar* currency);
|
/external/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()
|
/external/icu/icu4c/source/i18n/ |
D | winnmfmt.cpp | 45 CURRENCYFMTW currency; member 140 Win32NumberFormat::Win32NumberFormat(const Locale &locale, UBool currency, UErrorCode &status) in Win32NumberFormat() argument 141 : NumberFormat(), fCurrency(currency), fFormatInfo(NULL), fFractionDigitsSet(FALSE) in Win32NumberFormat() 158 getCurrencyFormat(&fFormatInfo->currency, fLCID); in Win32NumberFormat() 178 freeCurrencyFormat(&fFormatInfo->currency); in ~Win32NumberFormat() 197 freeCurrencyFormat(&fFormatInfo->currency); in operator =() 198 getCurrencyFormat(&fFormatInfo->currency, fLCID); in operator =() 304 formatInfo.currency.NumDigits = (UINT) numDigits; in format() 308 formatInfo.currency.Grouping = 0; in format() 311 … result = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE); in format() [all …]
|
D | dcfmtsym.cpp | 457 LocalUResourceBundlePointer currency( in initialize() local 459 ures_getByKeyWithFallback(currency.getAlias(), cc, currency.getAlias(), &localStatus); in initialize() 460 …if(U_SUCCESS(localStatus) && ures_getSize(currency.getAlias())>2) { // the length is 3 if more dat… in initialize() 461 ures_getByIndex(currency.getAlias(), 2, currency.getAlias(), &localStatus); in initialize() 464 … ures_getStringByIndex(currency.getAlias(), (int32_t)0, &currPatternLen, &localStatus); in initialize() 466 ures_getUnicodeStringByIndex(currency.getAlias(), (int32_t)1, &localStatus); in initialize() 468 ures_getUnicodeStringByIndex(currency.getAlias(), (int32_t)2, &localStatus); in initialize()
|
/external/icu/android_icu4j/src/main/java/android/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()
|
/external/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()
|
/external/icu/icu4c/source/test/intltest/ |
D | currcoll.cpp | 47 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()
|
D | winnmtst.cpp | 133 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const… in getWindowsFormat() argument 187 if (currency) { in getWindowsFormat() 230 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestL… in testLocale() argument 239 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d); in testLocale() 241 getWindowsFormat(lcid, currency, w3Buffer, L"%I32d", i32); in testLocale() 243 getWindowsFormat(lcid, currency, w6Buffer, L"%I64d", i64); in testLocale()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | DecimalFormatSymbols.java | 404 public void setCurrencySymbol(String currency) { in setCurrencySymbol() argument 405 dfs.setCurrencySymbol(currency); in setCurrencySymbol() 435 public void setCurrency(Currency currency) { in setCurrency() argument 436 dfs.setCurrency(java.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency() 453 public void setInternationalCurrencySymbol(String currency) { in setInternationalCurrencySymbol() argument 454 dfs.setInternationalCurrencySymbol(currency); in setInternationalCurrencySymbol()
|
/external/icu/icu4j/main/classes/currdata/ |
D | manifest.stub | 2 Specification-Title: International Components for Unicode for Java (currency data) 5 Implementation-Title: International Components for Unicode for Java (currency data) 10 Bundle-Name: ICU4J currency data 11 Bundle-Description: International Components for Unicode for Java (currency data)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationCurrencyTest.java | 31 char[][] currency = { in TestCurrency() local 73 for (i = 0; i < currency.length; i += 1) { in TestCurrency() 74 for (j = 0; j < currency.length; j += 1) { in TestCurrency() 75 source = new String(currency[i]); in TestCurrency() 76 target = new String(currency[j]); in TestCurrency()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | DecimalFormatSymbolsICU.java | 132 public void setCurrency(Currency currency) { in setCurrency() argument 134 if (currency != null) { in setCurrency() 135 icuCurrency = com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode()); in setCurrency() 141 public void setCurrencySymbol(String currency) { in setCurrencySymbol() argument 142 fIcuDecfs.setCurrencySymbol(currency); in setCurrencySymbol()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationCurrencyTest.java | 30 char[][] currency = { in TestCurrency() local 72 for (i = 0; i < currency.length; i += 1) { in TestCurrency() 73 for (j = 0; j < currency.length; j += 1) { in TestCurrency() 74 source = new String(currency[i]); in TestCurrency() 75 target = new String(currency[j]); in TestCurrency()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CurrencyTest.java | 206 Currency currency = Currency.getInstance(ULocale.CHINA); in testGetName_Locale_Int_String_BooleanArray() local 211 currency.getName(ULocale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray() 213 String localeName = currency.getName(Locale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray() 552 Currency currency = Currency.getInstance(locale); in TestCurrencyKeyword() local 553 String result = currency.getCurrencyCode(); in TestCurrencyKeyword() 654 Currency currency = icuSymbols.getCurrency(); in TestDeprecatedCurrencyFormat() local 657 if(!symbol.toString().equals(expectSym) || currency != null) { in TestDeprecatedCurrencyFormat() 658 …rrln("for " + locale + " expected " + expectSym+"/"+expectCur + " but got " + symbol+"/"+currency); in TestDeprecatedCurrencyFormat() 660 …ogln("for " + locale + " expected " + expectSym+"/"+expectCur + " and got " + symbol+"/"+currency); in TestDeprecatedCurrencyFormat() 853 Currency currency = Currency.getInstance(ULocale.CHINA); in testGetDefaultFractionDigits_CurrencyUsage() local [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CurrencyTest.java | 205 Currency currency = Currency.getInstance(ULocale.CHINA); in testGetName_Locale_Int_String_BooleanArray() local 210 currency.getName(ULocale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray() 212 String localeName = currency.getName(Locale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray() 551 Currency currency = Currency.getInstance(locale); in TestCurrencyKeyword() local 552 String result = currency.getCurrencyCode(); in TestCurrencyKeyword() 653 Currency currency = icuSymbols.getCurrency(); in TestDeprecatedCurrencyFormat() local 656 if(!symbol.toString().equals(expectSym) || currency != null) { in TestDeprecatedCurrencyFormat() 657 …rrln("for " + locale + " expected " + expectSym+"/"+expectCur + " but got " + symbol+"/"+currency); in TestDeprecatedCurrencyFormat() 659 …ogln("for " + locale + " expected " + expectSym+"/"+expectCur + " and got " + symbol+"/"+currency); in TestDeprecatedCurrencyFormat() 852 Currency currency = Currency.getInstance(ULocale.CHINA); in testGetDefaultFractionDigits_CurrencyUsage() local [all …]
|