/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUCurrencyDisplayInfoProvider.java | 115 final String isoCode; field in ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo.FormattingData 120 FormattingData(String isoCode) { this.isoCode = isoCode; } in FormattingData() argument 124 final String isoCode; field in ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo.VariantSymbol 128 VariantSymbol(String isoCode, String variant) { in VariantSymbol() argument 129 this.isoCode = isoCode; in VariantSymbol() 155 public String getName(String isoCode) { in getName() argument 156 FormattingData formattingData = fetchFormattingData(isoCode); in getName() 160 return isoCode; in getName() 166 public String getSymbol(String isoCode) { in getSymbol() argument 167 FormattingData formattingData = fetchFormattingData(isoCode); in getSymbol() [all …]
|
D | CurrencyData.java | 41 public abstract CurrencyFormatInfo getFormatInfo(String isoCode); in getFormatInfo() argument 49 public final String isoCode; field in CurrencyData.CurrencyFormatInfo 54 public CurrencyFormatInfo(String isoCode, String currencyPattern, String monetarySeparator, in CurrencyFormatInfo() argument 56 this.isoCode = isoCode; in CurrencyFormatInfo() 164 public String getName(String isoCode) { in getName() argument 165 return fallback ? isoCode : null; in getName() 169 public String getPluralName(String isoCode, String pluralType) { in getPluralName() argument 170 return fallback ? isoCode : null; in getPluralName() 174 public String getSymbol(String isoCode) { in getSymbol() argument 175 return fallback ? isoCode : null; in getSymbol() [all …]
|
D | ICUCurrencyMetaInfo.java | 53 public CurrencyDigits currencyDigits(String isoCode) { in currencyDigits() argument 54 return currencyDigits(isoCode, CurrencyUsage.STANDARD); in currencyDigits() 58 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyPurpose) { in currencyDigits() argument 59 ICUResourceBundle b = digitInfo.findWithFallback(isoCode); in currencyDigits()
|
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
D | ICUCurrencyDisplayInfoProvider.java | 111 final String isoCode; field in ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo.FormattingData 116 FormattingData(String isoCode) { this.isoCode = isoCode; } in FormattingData() argument 120 final String isoCode; field in ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo.VariantSymbol 124 VariantSymbol(String isoCode, String variant) { in VariantSymbol() argument 125 this.isoCode = isoCode; in VariantSymbol() 151 public String getName(String isoCode) { in getName() argument 152 FormattingData formattingData = fetchFormattingData(isoCode); in getName() 156 return isoCode; in getName() 162 public String getSymbol(String isoCode) { in getSymbol() argument 163 FormattingData formattingData = fetchFormattingData(isoCode); in getSymbol() [all …]
|
D | ICUCurrencyMetaInfo.java | 51 public CurrencyDigits currencyDigits(String isoCode) { in currencyDigits() argument 52 return currencyDigits(isoCode, CurrencyUsage.STANDARD); in currencyDigits() 56 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyPurpose) { in currencyDigits() argument 57 ICUResourceBundle b = digitInfo.findWithFallback(isoCode); in currencyDigits()
|
/external/icu/icu4c/source/i18n/ |
D | currunit.cpp | 46 isoCode[i] = u_asciiToUpper(_isoCode[i]); in CurrencyUnit() 48 isoCode[3] = 0; in CurrencyUnit() 51 uprv_memcpy(isoCode, kDefaultCurrency, sizeof(UChar) * 4); in CurrencyUnit() 54 u_UCharsToChars(isoCode, simpleIsoCode, 4); in CurrencyUnit() 78 u_charsToUChars(isoCodeToUse, isoCode, 4); in CurrencyUnit() 83 u_strcpy(isoCode, other.isoCode); in CurrencyUnit() 91 isoCode[0] = 0; in CurrencyUnit() 94 u_charsToUChars(getSubtype(), isoCode, 4); in CurrencyUnit() 95 isoCode[3] = 0; // make 100% sure it is NUL-terminated in CurrencyUnit() 100 u_strcpy(isoCode, kDefaultCurrency); in CurrencyUnit() [all …]
|
D | number_currencysymbols.cpp | 65 const char16_t* isoCode = fCurrency.getISOCurrency(); in loadSymbol() local 68 isoCode, in loadSymbol() 76 if (symbol == isoCode) { in loadSymbol() 77 return UnicodeString(isoCode, 3); in loadSymbol() 93 const char16_t* isoCode = fCurrency.getISOCurrency(); in getPluralName() local 96 isoCode, in getPluralName() 104 if (symbol == isoCode) { in getPluralName() 105 return UnicodeString(isoCode, 3); in getPluralName()
|
D | curramt.cpp | 22 CurrencyAmount::CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode, in CurrencyAmount() argument 24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount() 27 CurrencyAmount::CurrencyAmount(double amount, ConstChar16Ptr isoCode, in CurrencyAmount() argument 29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CurrencyData.java | 30 public abstract CurrencyFormatInfo getFormatInfo(String isoCode); in getFormatInfo() argument 35 public final String isoCode; field in CurrencyData.CurrencyFormatInfo 40 public CurrencyFormatInfo(String isoCode, String currencyPattern, String monetarySeparator, in CurrencyFormatInfo() argument 42 this.isoCode = isoCode; in CurrencyFormatInfo() 138 public String getName(String isoCode) { in getName() argument 139 return fallback ? isoCode : null; in getName() 143 public String getPluralName(String isoCode, String pluralType) { in getPluralName() argument 144 return fallback ? isoCode : null; in getPluralName() 148 public String getSymbol(String isoCode) { in getSymbol() argument 149 return fallback ? isoCode : null; in getSymbol() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyDisplayNames.java | 117 public abstract String getSymbol(String isoCode); in getSymbol() argument 132 public abstract String getNarrowSymbol(String isoCode); in getNarrowSymbol() argument 148 public abstract String getFormalSymbol(String isoCode); in getFormalSymbol() argument 163 public abstract String getVariantSymbol(String isoCode); in getVariantSymbol() argument 173 public abstract String getName(String isoCode); in getName() argument 186 public abstract String getPluralName(String isoCode, String pluralKey); in getPluralName() argument
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyDisplayNames.java | 122 public abstract String getSymbol(String isoCode); in getSymbol() argument 138 public abstract String getNarrowSymbol(String isoCode); in getNarrowSymbol() argument 155 public abstract String getFormalSymbol(String isoCode); in getFormalSymbol() argument 171 public abstract String getVariantSymbol(String isoCode); in getVariantSymbol() argument 182 public abstract String getName(String isoCode); in getName() argument 196 public abstract String getPluralName(String isoCode, String pluralKey); in getPluralName() argument
|
/external/icu/icu4c/source/i18n/unicode/ |
D | currunit.h | 57 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec); 68 CurrencyUnit(StringPiece isoCode, UErrorCode &ec); 133 char16_t isoCode[4]; 137 return isoCode; in getISOCurrency()
|
D | curramt.h | 51 CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode, 64 CurrencyAmount(double amount, ConstChar16Ptr isoCode,
|
/external/icu/libicu/cts_headers/unicode/ |
D | currunit.h | 57 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec); 68 CurrencyUnit(StringPiece isoCode, UErrorCode &ec); 133 char16_t isoCode[4]; 137 return isoCode; in getISOCurrency()
|
D | curramt.h | 51 CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode, 64 CurrencyAmount(double amount, ConstChar16Ptr isoCode,
|
D | ucurr.h | 159 ucurr_register(const UChar* isoCode, 381 ucurr_isAvailable(const UChar* isoCode,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 27 private final String isoCode; field in CombinedCurrencyMatcher 48 this.isoCode = currency.getSubtype(); in CombinedCurrencyMatcher() 141 result.currencyCode = isoCode; in matchCurrency() 157 result.currencyCode = isoCode; in matchCurrency() 194 result.currencyCode = isoCode; in matchCurrency() 219 return "<CombinedCurrencyMatcher " + isoCode + ">"; in toString()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 29 private final String isoCode; field in CombinedCurrencyMatcher 50 this.isoCode = currency.getSubtype(); in CombinedCurrencyMatcher() 143 result.currencyCode = isoCode; in matchCurrency() 159 result.currencyCode = isoCode; in matchCurrency() 196 result.currencyCode = isoCode; in matchCurrency() 221 return "<CombinedCurrencyMatcher " + isoCode + ">"; in toString()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cldrtest.c | 1436 const char *isoCode, *structISOCode; in TestCurrencyList() local 1450 while ((isoCode = uenum_next(en, NULL, &errorCode)) != NULL && ures_hasNext(currencies)) { in TestCurrencyList() 1454 if (strcmp(structISOCode, isoCode) != 0) { in TestCurrencyList() 1455 … log_err("First difference found at structLocale(%s) and ISO4217(%s).\n", structISOCode, isoCode); in TestCurrencyList() 1480 UChar* isoCode = (UChar*)malloc(sizeof(UChar) * (uprv_strlen(usdCode) + 1)); in TestAvailableIsoCodes() local 1483 u_charsToUChars(eurCode, isoCode, (int32_t)uprv_strlen(usdCode) + 1); in TestAvailableIsoCodes() 1484 if (ucurr_isAvailable(isoCode, U_DATE_MIN, U_DATE_MAX, &errorCode) == FALSE) { in TestAvailableIsoCodes() 1488 u_charsToUChars(usdCode, isoCode, (int32_t)uprv_strlen(zzzCode) + 1); in TestAvailableIsoCodes() 1489 if (ucurr_isAvailable(isoCode, U_DATE_MIN, U_DATE_MAX, &errorCode) == FALSE) { in TestAvailableIsoCodes() 1493 u_charsToUChars(zzzCode, isoCode, (int32_t)uprv_strlen(zzzCode) + 1); in TestAvailableIsoCodes() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Currency.java | 791 String isoCode = e.getValue(); in setupCurrencyTrieVec() local 795 CurrencyStringInfo value = new CurrencyStringInfo(isoCode, symbol); in setupCurrencyTrieVec() 808 String isoCode = e.getValue(); in setupCurrencyTrieVec() local 809 trie.put(name, new CurrencyStringInfo(isoCode, name)); in setupCurrencyTrieVec() 819 private String isoCode; field in Currency.CurrencyStringInfo 827 public CurrencyStringInfo(String isoCode, String currencyString) { in CurrencyStringInfo() argument 828 this.isoCode = isoCode; in CurrencyStringInfo() 838 return isoCode; in getISOCode() 985 isoCode = theISOCode; in Currency() 1085 private final String isoCode; field in Currency [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | Currency.java | 759 String isoCode = e.getValue(); in setupCurrencyTrieVec() local 763 CurrencyStringInfo value = new CurrencyStringInfo(isoCode, symbol); in setupCurrencyTrieVec() 776 String isoCode = e.getValue(); in setupCurrencyTrieVec() local 777 trie.put(name, new CurrencyStringInfo(isoCode, name)); in setupCurrencyTrieVec() 788 private String isoCode; field in Currency.CurrencyStringInfo 796 public CurrencyStringInfo(String isoCode, String currencyString) { in CurrencyStringInfo() argument 797 this.isoCode = isoCode; in CurrencyStringInfo() 807 return isoCode; in getISOCode() 948 isoCode = theISOCode; in Currency() 1046 private final String isoCode; field in Currency [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CurrencyTest.java | 262 String isoCode = (String) cas[1]; in testCurrencyVariants() local 269 assertEquals("Short symbol: " + locale + ": " + isoCode, in testCurrencyVariants() 270 expectedShort, cdn.getSymbol(isoCode)); in testCurrencyVariants() 271 assertEquals("Narrow symbol: " + locale + ": " + isoCode, in testCurrencyVariants() 272 expectedNarrow, cdn.getNarrowSymbol(isoCode)); in testCurrencyVariants() 273 assertEquals("Formal symbol: " + locale + ": " + isoCode, in testCurrencyVariants() 274 expectedFormal, cdn.getFormalSymbol(isoCode)); in testCurrencyVariants() 275 assertEquals("Variant symbol: " + locale + ": " + isoCode, in testCurrencyVariants() 276 expectedVariant, cdn.getVariantSymbol(isoCode)); in testCurrencyVariants() 278 Currency currency = Currency.getInstance(isoCode); in testCurrencyVariants() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CurrencyTest.java | 265 String isoCode = (String) cas[1]; in testCurrencyVariants() local 272 assertEquals("Short symbol: " + locale + ": " + isoCode, in testCurrencyVariants() 273 expectedShort, cdn.getSymbol(isoCode)); in testCurrencyVariants() 274 assertEquals("Narrow symbol: " + locale + ": " + isoCode, in testCurrencyVariants() 275 expectedNarrow, cdn.getNarrowSymbol(isoCode)); in testCurrencyVariants() 276 assertEquals("Formal symbol: " + locale + ": " + isoCode, in testCurrencyVariants() 277 expectedFormal, cdn.getFormalSymbol(isoCode)); in testCurrencyVariants() 278 assertEquals("Variant symbol: " + locale + ": " + isoCode, in testCurrencyVariants() 279 expectedVariant, cdn.getVariantSymbol(isoCode)); in testCurrencyVariants() 281 Currency currency = Currency.getInstance(isoCode); in testCurrencyVariants() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | CustomSymbolCurrency.java | 40 public CustomSymbolCurrency(String isoCode, String currency1Sym, String currency2Sym) { in CustomSymbolCurrency() argument 41 super(isoCode); in CustomSymbolCurrency()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | CustomSymbolCurrency.java | 36 public CustomSymbolCurrency(String isoCode, String currency1Sym, String currency2Sym) { in CustomSymbolCurrency() argument 37 super(isoCode); in CustomSymbolCurrency()
|