/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | CurrencyNameTest.java | 65 String currencyCode = currency.getCurrencyCode(); in TestCurrencySymbols() local 66 … com.ibm.icu.util.Currency currencyIcu = com.ibm.icu.util.Currency.getInstance(currencyCode); in TestCurrencySymbols() 76 if (curSymbolIcu.equals(currencyCode)) { in TestCurrencySymbols() 78 if (!curSymbol.equals(currencyCode)) { in TestCurrencySymbols() 87 … errln("FAIL: Currency symbol for " + currencyCode + " by ICU is " + curSymbolIcu in TestCurrencySymbols() 92 … logln("INFO: Currency symbol for " + currencyCode + " by ICU is " + curSymbolIcu in TestCurrencySymbols() 99 … errln("FAIL: Currency symbol for " + currencyCode + " by ICU is " + curSymbolIcu in TestCurrencySymbols() 115 String currencyCode = currency.getCurrencyCode(); in TestCurrencyDisplayNames() local 116 … com.ibm.icu.util.Currency currencyIcu = com.ibm.icu.util.Currency.getInstance(currencyCode); in TestCurrencyDisplayNames() 133 if (curNameIcu.equals(currencyCode)) { in TestCurrencyDisplayNames() [all …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
D | CurrencyNameProviderICU.java | 20 public String getSymbol(String currencyCode, Locale locale) { in getSymbol() argument 22 String sym = curDispNames.getSymbol(currencyCode); in getSymbol() 23 if (sym == null || sym.equals(currencyCode)) { in getSymbol() 30 public String getDisplayName(String currencyCode, Locale locale) { in getDisplayName() argument 32 String name = curDispNames.getName(currencyCode); in getDisplayName() 33 if (name == null || name.equals(currencyCode)) { in getDisplayName()
|
/external/icu/icu4c/source/i18n/ |
D | numparse_currency.cpp | 58 if (result.currencyCode[0] != 0) { in match() 76 if (result.currencyCode[0] == 0) { in match() 106 utils::copyCurrencyCode(result.currencyCode, fCurrencyCode); in matchCurrency() 122 utils::copyCurrencyCode(result.currencyCode, fCurrencyCode); in matchCurrency() 142 result.currencyCode, in matchCurrency() 166 utils::copyCurrencyCode(result.currencyCode, fCurrencyCode); in matchCurrency()
|
D | numparse_validators.cpp | 34 if (result.currencyCode[0] == 0) { in postProcess()
|
D | numparse_parsednumber.cpp | 34 currencyCode[0] = 0; in clear()
|
D | numparse_types.h | 124 UChar currencyCode[4]; variable
|
D | number_skeletons.cpp | 877 const UChar* currencyCode = segment.toTempUnicodeString().getBuffer(); in parseCurrencyOption() local 879 CurrencyUnit currency(currencyCode, localStatus); in parseCurrencyOption()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 95 if (result.currencyCode != null) { in match() 113 if (result.currencyCode == null) { in match() 143 result.currencyCode = isoCode; in matchCurrency() 159 result.currencyCode = isoCode; in matchCurrency() 175 result.currencyCode = values.next().getISOCode(); in matchCurrency() 196 result.currencyCode = isoCode; in matchCurrency()
|
D | ParsedNumber.java | 50 public String currencyCode; field in ParsedNumber 83 currencyCode = null; in clear() 93 currencyCode = other.currencyCode; in copyFrom()
|
D | RequireCurrencyValidator.java | 15 if (result.currencyCode == null) { in postProcess()
|
D | NumberParserImpl.java | 111 assert result.currencyCode != null; in parseStaticCurrency() 112 … return new CurrencyAmount(result.getNumber(), Currency.getInstance(result.currencyCode)); in parseStaticCurrency()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 93 if (result.currencyCode != null) { in match() 111 if (result.currencyCode == null) { in match() 141 result.currencyCode = isoCode; in matchCurrency() 157 result.currencyCode = isoCode; in matchCurrency() 173 result.currencyCode = values.next().getISOCode(); in matchCurrency() 194 result.currencyCode = isoCode; in matchCurrency()
|
D | ParsedNumber.java | 48 public String currencyCode; field in ParsedNumber 81 currencyCode = null; in clear() 91 currencyCode = other.currencyCode; in copyFrom()
|
D | RequireCurrencyValidator.java | 13 if (result.currencyCode == null) { in postProcess()
|
D | NumberParserImpl.java | 109 assert result.currencyCode != null; in parseStaticCurrency() 110 … return new CurrencyAmount(result.getNumber(), Currency.getInstance(result.currencyCode)); in parseStaticCurrency()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | BuildIcuCompactDecimalFormat.java | 315 …CurrencyInfo(CLDRFile resolvedCldrFile, Set<String> canonicalKeywords, String currencyCode, XPathP… in CurrencyInfo() argument 319 currencyCode + in CurrencyInfo() 390 final String currencyCode = currency.getCurrencyCode(); in getName() local 392 return currencyCode; in getName() 394 String prefix = "//ldml/numbers/currencies/currency[@type=\"" + currencyCode + "\"]/"; in getName() 396 return currencySymbol != null ? currencySymbol : currencyCode; in getName()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | VerifyCompactNumbers.java | 64 String currencyCode = MyOptions.currency.option.getValue(); in main() local 109 showNumbers(cldrFile, showCurrency, currencyCode, out, factory2); in main() 125 String currencyCode, Appendable out, Factory factory) { in showNumbers() argument 163 debugOriginals, CompactStyle.SHORT, locale2, CurrencyStyle.PLAIN, currencyCode); in showNumbers() 166 debugOriginals, CompactStyle.LONG, locale2, CurrencyStyle.PLAIN, currencyCode); in showNumbers() 170 debugOriginals, CompactStyle.SHORT, locale2, CurrencyStyle.CURRENCY, currencyCode); in showNumbers() 206 cdfCurr.setCurrency(Currency.getInstance(currencyCode)); in showNumbers()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | DecimalFormatSymbolsICU.java | 171 public void setInternationalCurrencySymbol(String currencyCode) { in setInternationalCurrencySymbol() argument 172 fIcuDecfs.setInternationalCurrencySymbol(currencyCode); in setInternationalCurrencySymbol()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CountItems.java | 247 String currencyCode = it.next(); in generateSupplementalCurrencyItems() local 249 Set<Data> dataSet = codeList.getAll(currencyCode); in generateSupplementalCurrencyItems() 264 numericTocurrencyCode.put(strNumCode, currencyCode); in generateSupplementalCurrencyItems() 267 String currencyLine = "<currencyCodes type=" + "\"" + currencyCode + in generateSupplementalCurrencyItems() 287 String currencyCode = it.next(); in generateCurrencyItems() local 288 Set<Data> dataSet = codeList.getAll(currencyCode); in generateCurrencyItems() 292 System.out.print(currencyCode); in generateCurrencyItems() 300 list.append(currencyCode); in generateCurrencyItems()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberParserTest.java | 287 result.currencyCode); in testCombinedCurrencyMatcher() 298 result.currencyCode); in testCombinedCurrencyMatcher()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_parse.cpp | 283 result.currencyCode); in testCombinedCurrencyMatcher() 296 result.currencyCode); in testCombinedCurrencyMatcher()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberParserTest.java | 284 result.currencyCode); in testCombinedCurrencyMatcher() 295 result.currencyCode); in testCombinedCurrencyMatcher()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 2518 UChar currencyCode[4]; in TestCurrencyIsoPluralFormat() local 2528 u_charsToUChars(currencyISOCode, currencyCode, 4); in TestCurrencyIsoPluralFormat() 2529 unum_setTextAttribute(unumFmt, UNUM_CURRENCY_CODE, currencyCode, 3, &status); in TestCurrencyIsoPluralFormat() 2672 UChar currencyCode[4]; in TestCurrencyUsage() local 2677 u_charsToUChars(DATA[j][0], currencyCode, 3); in TestCurrencyUsage() 2680 unum_setTextAttribute(unumFmt, UNUM_CURRENCY_CODE, currencyCode, 3, &status); in TestCurrencyUsage()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberSkeletonImpl.java | 930 String currencyCode = segment.subSequence(0, segment.length()).toString(); in parseCurrencyOption() local 933 currency = Currency.getInstance(currencyCode); in parseCurrencyOption()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberSkeletonImpl.java | 929 String currencyCode = segment.subSequence(0, segment.length()).toString(); in parseCurrencyOption() local 932 currency = Currency.getInstance(currencyCode); in parseCurrencyOption()
|