/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 | 59 if (result.currencyCode[0] != 0) { in match() 77 if (result.currencyCode[0] == 0) { in match() 107 utils::copyCurrencyCode(result.currencyCode, fCurrencyCode); in matchCurrency() 123 utils::copyCurrencyCode(result.currencyCode, fCurrencyCode); in matchCurrency() 143 result.currencyCode, in matchCurrency() 167 utils::copyCurrencyCode(result.currencyCode, fCurrencyCode); in matchCurrency()
|
D | measunit_impl.h | 183 static inline MeasureUnitImpl forCurrencyCode(StringPiece currencyCode) { in forCurrencyCode() 186 result.identifier.append(currencyCode, localStatus); in forCurrencyCode()
|
D | numparse_validators.cpp | 34 if (result.currencyCode[0] == 0) { in postProcess()
|
D | numparse_parsednumber.cpp | 35 currencyCode[0] = 0; in clear()
|
D | numparse_types.h | 128 UChar currencyCode[4]; variable
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | ParsedNumber.java | 50 public String currencyCode; field in ParsedNumber 83 currencyCode = null; in clear() 93 currencyCode = other.currencyCode; in copyFrom()
|
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 | RequireCurrencyValidator.java | 15 if (result.currencyCode == null) { in postProcess()
|
D | NumberParserImpl.java | 110 assert result.currencyCode != null; in parseStaticCurrency() 111 … 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()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCompactNumbers.java | 48 String currencyCode = "EUR"; in TestInternals() local 58 debugOriginals, CompactStyle.SHORT, locale2, CurrencyStyle.PLAIN, currencyCode); in TestInternals() 68 debugOriginals, CompactStyle.LONG, locale2, CurrencyStyle.PLAIN, currencyCode); in TestInternals() 70 debugOriginals, CompactStyle.SHORT, locale2, CurrencyStyle.CURRENCY, currencyCode); in TestInternals() 72 …Set<Double> allSamples = VerifyCompactNumbers.collectSamplesAndSetFormats(currencyCode, locale, SD… in TestInternals()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | VerifyCompactNumbers.java | 73 String currencyCode = MyOptions.currency.option.getValue(); in main() local 118 showNumbers(cldrFile, showCurrency, currencyCode, out, factory2); in main() 134 String currencyCode, Appendable out, Factory factory) { in showNumbers() argument 173 debugOriginals, CompactStyle.SHORT, locale2, CurrencyStyle.PLAIN, currencyCode); in showNumbers() 176 debugOriginals, CompactStyle.LONG, locale2, CurrencyStyle.PLAIN, currencyCode); in showNumbers() 180 debugOriginals, CompactStyle.SHORT, locale2, CurrencyStyle.CURRENCY, currencyCode); in showNumbers() 190 …Set<Double> allSamples = collectSamplesAndSetFormats(currencyCode, locale, sdi, cdf, cdfs, cdfCurr… in showNumbers() 256 …public static Set<Double> collectSamplesAndSetFormats(String currencyCode, String locale, Suppleme… in collectSamplesAndSetFormats() argument 285 cdfCurr.setCurrency(Currency.getInstance(currencyCode)); in collectSamplesAndSetFormats()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | BuildIcuCompactDecimalFormat.java | 111 final String currencyCode = currency.getCurrencyCode(); in getName() local 113 return currencyCode; in getName() 115 String prefix = "//ldml/numbers/currencies/currency[@type=\"" + currencyCode + "\"]/"; in getName() 117 return currencySymbol != null ? currencySymbol : currencyCode; in getName()
|
/external/icu/libicu/cts_headers/ |
D | measunit_impl.h | 183 static inline MeasureUnitImpl forCurrencyCode(StringPiece currencyCode) { in forCurrencyCode() 186 result.identifier.append(currencyCode, localStatus); in forCurrencyCode()
|
D | numparse_types.h | 128 UChar currencyCode[4]; variable
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateDerivedAnnotations.java | 151 String currencyCode = codepointToIsoCurrencyCode.get(derivable); in main() local 152 if (currencyCode != null) { in main() 156 shortName = main.getName(CLDRFile.CURRENCY_NAME, currencyCode); in main() 157 if (shortName.contentEquals(currencyCode)) { in main()
|
D | CountItems.java | 246 String currencyCode = it.next(); in generateSupplementalCurrencyItems() local 248 Set<Data> dataSet = codeList.getAll(currencyCode); in generateSupplementalCurrencyItems() 263 numericTocurrencyCode.put(strNumCode, currencyCode); in generateSupplementalCurrencyItems() 266 String currencyLine = "<currencyCodes type=" + "\"" + currencyCode + in generateSupplementalCurrencyItems() 286 String currencyCode = it.next(); in generateCurrencyItems() local 287 Set<Data> dataSet = codeList.getAll(currencyCode); in generateCurrencyItems() 291 System.out.print(currencyCode); in generateCurrencyItems() 299 list.append(currencyCode); in generateCurrencyItems()
|
/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberParserTest.java | 291 result.currencyCode); in testCombinedCurrencyMatcher() 302 result.currencyCode); in testCombinedCurrencyMatcher()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberParserTest.java | 288 result.currencyCode); in testCombinedCurrencyMatcher() 299 result.currencyCode); in testCombinedCurrencyMatcher()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_parse.cpp | 288 result.currencyCode); in testCombinedCurrencyMatcher() 301 result.currencyCode); in testCombinedCurrencyMatcher()
|