Home
last modified time | relevance | path

Searched refs:isoCode (Results 1 – 25 of 31) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUCurrencyDisplayInfoProvider.java115 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.NarrowSymbol
127 NarrowSymbol(String isoCode) { this.isoCode = isoCode; } in NarrowSymbol() argument
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()
167 return isoCode; in getSymbol()
[all …]
DCurrencyData.java41 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 …]
DICUCurrencyMetaInfo.java53 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/
DICUCurrencyDisplayInfoProvider.java111 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.NarrowSymbol
123 NarrowSymbol(String isoCode) { this.isoCode = isoCode; } in NarrowSymbol() argument
147 public String getName(String isoCode) { in getName() argument
148 FormattingData formattingData = fetchFormattingData(isoCode); in getName()
152 return isoCode; in getName()
158 public String getSymbol(String isoCode) { in getSymbol() argument
159 FormattingData formattingData = fetchFormattingData(isoCode); in getSymbol()
163 return isoCode; in getSymbol()
[all …]
DICUCurrencyMetaInfo.java51 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/
Dcurrunit.cpp46 uprv_memcpy(isoCode, isoCodeToUse, sizeof(UChar) * 3); in CurrencyUnit()
47 isoCode[3] = 0; in CurrencyUnit()
49 u_UCharsToChars(isoCode, simpleIsoCode, 4); in CurrencyUnit()
54 u_strcpy(isoCode, other.isoCode); in CurrencyUnit()
62 isoCode[0] = 0; in CurrencyUnit()
65 u_charsToUChars(getSubtype(), isoCode, 4); in CurrencyUnit()
66 isoCode[3] = 0; // make 100% sure it is NUL-terminated in CurrencyUnit()
71 u_strcpy(isoCode, kDefaultCurrency); in CurrencyUnit()
73 u_UCharsToChars(isoCode, simpleIsoCode, 4); in CurrencyUnit()
82 u_strcpy(isoCode, other.isoCode); in operator =()
Dnumber_currencysymbols.cpp55 const char16_t* isoCode = fCurrency.getISOCurrency(); in loadSymbol() local
59 isoCode, in loadSymbol()
67 if (symbol == isoCode) { in loadSymbol()
68 return UnicodeString(isoCode, 3); in loadSymbol()
84 const char16_t* isoCode = fCurrency.getISOCurrency(); in getPluralName() local
88 isoCode, in getPluralName()
96 if (symbol == isoCode) { in getPluralName()
97 return UnicodeString(isoCode, 3); in getPluralName()
Dcurramt.cpp22 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/
DCurrencyData.java30 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/
DCurrencyDisplayNames.java116 public abstract String getSymbol(String isoCode); in getSymbol() argument
127 public abstract String getNarrowSymbol(String isoCode); in getNarrowSymbol() argument
137 public abstract String getName(String isoCode); in getName() argument
150 public abstract String getPluralName(String isoCode, String pluralKey); in getPluralName() argument
DCurrencyMetaInfo.java504 public CurrencyDigits currencyDigits(String isoCode) { in currencyDigits() argument
505 return currencyDigits(isoCode, CurrencyUsage.STANDARD); in currencyDigits()
514 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyUsage) { in currencyDigits() argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyDisplayNames.java121 public abstract String getSymbol(String isoCode); in getSymbol() argument
133 public abstract String getNarrowSymbol(String isoCode); in getNarrowSymbol() argument
144 public abstract String getName(String isoCode); in getName() argument
158 public abstract String getPluralName(String isoCode, String pluralKey); in getPluralName() argument
DCurrencyMetaInfo.java545 public CurrencyDigits currencyDigits(String isoCode) { in currencyDigits() argument
546 return currencyDigits(isoCode, CurrencyUsage.STANDARD); in currencyDigits()
556 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyUsage) { in currencyDigits() argument
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DCombinedCurrencyMatcher.java29 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/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DCombinedCurrencyMatcher.java27 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/icu4c/source/test/cintltst/
Dcldrtest.c1388 const char *isoCode, *structISOCode; in TestCurrencyList() local
1402 while ((isoCode = uenum_next(en, NULL, &errorCode)) != NULL && ures_hasNext(currencies)) { in TestCurrencyList()
1406 if (strcmp(structISOCode, isoCode) != 0) { in TestCurrencyList()
1407 … log_err("First difference found at structLocale(%s) and ISO4217(%s).\n", structISOCode, isoCode); in TestCurrencyList()
1432 UChar* isoCode = (UChar*)malloc(sizeof(UChar) * (uprv_strlen(usdCode) + 1)); in TestAvailableIsoCodes() local
1435 u_charsToUChars(eurCode, isoCode, uprv_strlen(usdCode) + 1); in TestAvailableIsoCodes()
1436 if (ucurr_isAvailable(isoCode, U_DATE_MIN, U_DATE_MAX, &errorCode) == FALSE) { in TestAvailableIsoCodes()
1440 u_charsToUChars(usdCode, isoCode, uprv_strlen(zzzCode) + 1); in TestAvailableIsoCodes()
1441 if (ucurr_isAvailable(isoCode, U_DATE_MIN, U_DATE_MAX, &errorCode) == FALSE) { in TestAvailableIsoCodes()
1445 u_charsToUChars(zzzCode, isoCode, uprv_strlen(zzzCode) + 1); in TestAvailableIsoCodes()
[all …]
Dcnmdptst.c557 UChar isoCode[16]={0}; in TestCurrencyObject() local
564 u_uastrcpy(isoCode, currency[i]); in TestCurrencyObject()
566 isoCode, u_strlen(isoCode), &status); in TestCurrencyObject()
574 isoCode, sizeof(isoCode), &status); in TestCurrencyObject()
580 u_UCharsToChars(isoCode,cStr,u_strlen(isoCode)); in TestCurrencyObject()
/external/icu/icu4c/source/i18n/unicode/
Dcurrunit.h54 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec);
119 char16_t isoCode[4];
123 return isoCode; in getISOCurrency()
Dcurramt.h49 CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode,
62 CurrencyAmount(double amount, ConstChar16Ptr isoCode,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java770 String isoCode = e.getValue(); in setupCurrencyTrieVec() local
774 CurrencyStringInfo value = new CurrencyStringInfo(isoCode, symbol); in setupCurrencyTrieVec()
787 String isoCode = e.getValue(); in setupCurrencyTrieVec() local
788 trie.put(name, new CurrencyStringInfo(isoCode, name)); in setupCurrencyTrieVec()
798 private String isoCode; field in Currency.CurrencyStringInfo
806 public CurrencyStringInfo(String isoCode, String currencyString) { in CurrencyStringInfo() argument
807 this.isoCode = isoCode; in CurrencyStringInfo()
817 return isoCode; in getISOCode()
950 isoCode = theISOCode; in Currency()
1050 private final String isoCode; field in Currency
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCurrency.java741 String isoCode = e.getValue(); in setupCurrencyTrieVec() local
745 CurrencyStringInfo value = new CurrencyStringInfo(isoCode, symbol); in setupCurrencyTrieVec()
758 String isoCode = e.getValue(); in setupCurrencyTrieVec() local
759 trie.put(name, new CurrencyStringInfo(isoCode, name)); in setupCurrencyTrieVec()
770 private String isoCode; field in Currency.CurrencyStringInfo
778 public CurrencyStringInfo(String isoCode, String currencyString) { in CurrencyStringInfo() argument
779 this.isoCode = isoCode; in CurrencyStringInfo()
789 return isoCode; in getISOCode()
916 isoCode = theISOCode; in Currency()
1014 private final String isoCode; field in Currency
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCustomSymbolCurrency.java36 public CustomSymbolCurrency(String isoCode, String currency1Sym, String currency2Sym) { in CustomSymbolCurrency() argument
37 super(isoCode); in CustomSymbolCurrency()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCustomSymbolCurrency.java40 public CustomSymbolCurrency(String isoCode, String currency1Sym, String currency2Sym) { in CustomSymbolCurrency() argument
41 super(isoCode); in CustomSymbolCurrency()
/external/icu/icu4c/source/common/unicode/
Ducurr.h140 ucurr_register(const UChar* isoCode,
347 ucurr_isAvailable(const UChar* isoCode,
/external/icu/libandroidicu/include/unicode/
Ducurr.h140 ucurr_register(const UChar* isoCode,
347 ucurr_isAvailable(const UChar* isoCode,

12