Home
last modified time | relevance | path

Searched refs:currencyCode (Results 1 – 25 of 37) sorted by relevance

12

/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DCurrencyNameTest.java65 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/
DCurrencyNameProviderICU.java20 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/
Dnumparse_currency.cpp59 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()
Dmeasunit_impl.h183 static inline MeasureUnitImpl forCurrencyCode(StringPiece currencyCode) { in forCurrencyCode()
186 result.identifier.append(currencyCode, localStatus); in forCurrencyCode()
Dnumparse_validators.cpp34 if (result.currencyCode[0] == 0) { in postProcess()
Dnumparse_parsednumber.cpp35 currencyCode[0] = 0; in clear()
Dnumparse_types.h128 UChar currencyCode[4]; variable
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DParsedNumber.java50 public String currencyCode; field in ParsedNumber
83 currencyCode = null; in clear()
93 currencyCode = other.currencyCode; in copyFrom()
DCombinedCurrencyMatcher.java95 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()
DRequireCurrencyValidator.java15 if (result.currencyCode == null) { in postProcess()
DNumberParserImpl.java110 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/
DCombinedCurrencyMatcher.java93 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()
DParsedNumber.java48 public String currencyCode; field in ParsedNumber
81 currencyCode = null; in clear()
91 currencyCode = other.currencyCode; in copyFrom()
DRequireCurrencyValidator.java13 if (result.currencyCode == null) { in postProcess()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCompactNumbers.java48 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/
DVerifyCompactNumbers.java73 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/
DBuildIcuCompactDecimalFormat.java111 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/
Dmeasunit_impl.h183 static inline MeasureUnitImpl forCurrencyCode(StringPiece currencyCode) { in forCurrencyCode()
186 result.identifier.append(currencyCode, localStatus); in forCurrencyCode()
Dnumparse_types.h128 UChar currencyCode[4]; variable
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateDerivedAnnotations.java151 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()
DCountItems.java246 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/
DDecimalFormatSymbolsICU.java171 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/
DNumberParserTest.java291 result.currencyCode); in testCombinedCurrencyMatcher()
302 result.currencyCode); in testCombinedCurrencyMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java288 result.currencyCode); in testCombinedCurrencyMatcher()
299 result.currencyCode); in testCombinedCurrencyMatcher()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_parse.cpp288 result.currencyCode); in testCombinedCurrencyMatcher()
301 result.currencyCode); in testCombinedCurrencyMatcher()

12