Home
last modified time | relevance | path

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

123

/third_party/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.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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.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 …]
DCurrencyData.java40 public abstract CurrencyFormatInfo getFormatInfo(String isoCode); in getFormatInfo() argument
48 public final String isoCode; field in CurrencyData.CurrencyFormatInfo
53 public CurrencyFormatInfo(String isoCode, String currencyPattern, String monetarySeparator, in CurrencyFormatInfo() argument
55 this.isoCode = isoCode; in CurrencyFormatInfo()
163 public String getName(String isoCode) { in getName() argument
164 return fallback ? isoCode : null; in getName()
168 public String getPluralName(String isoCode, String pluralType) { in getPluralName() argument
169 return fallback ? isoCode : null; in getPluralName()
173 public String getSymbol(String isoCode) { in getSymbol() argument
174 return fallback ? isoCode : null; in getSymbol()
[all …]
/third_party/icu/icu4c/source/i18n/
Dcurrunit.cpp46 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 …]
Dnumber_currencysymbols.cpp65 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()
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()
/third_party/node/deps/icu-small/source/i18n/
Dcurrunit.cpp46 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 …]
Dnumber_currencysymbols.cpp65 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()
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()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcurrunit.cpp46 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 …]
Dnumber_currencysymbols.cpp65 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()
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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCurrencyDisplayNames.java117 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
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyDisplayNames.java122 public abstract String getSymbol(String isoCode); in getSymbol() argument
138 public abstract String getNarrowSymbol(String isoCode); in getNarrowSymbol() argument
154 public abstract String getFormalSymbol(String isoCode); in getFormalSymbol() argument
169 public abstract String getVariantSymbol(String isoCode); in getVariantSymbol() argument
180 public abstract String getName(String isoCode); in getName() argument
194 public abstract String getPluralName(String isoCode, String pluralKey); in getPluralName() argument
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dcurrunit.h57 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec);
68 CurrencyUnit(StringPiece isoCode, UErrorCode &ec);
133 char16_t isoCode[4];
137 return isoCode; in getISOCurrency()
/third_party/icu/icu4c/source/i18n/unicode/
Dcurrunit.h57 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec);
68 CurrencyUnit(StringPiece isoCode, UErrorCode &ec);
133 char16_t isoCode[4];
137 return isoCode; in getISOCurrency()
/third_party/node/deps/icu-small/source/i18n/unicode/
Dcurrunit.h57 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec);
68 CurrencyUnit(StringPiece isoCode, UErrorCode &ec);
133 char16_t isoCode[4];
137 return isoCode; in getISOCurrency()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dcurrunit.h54 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec);
119 char16_t isoCode[4];
123 return isoCode; in getISOCurrency()
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/icu/icu4c/source/test/cintltst/
Dcldrtest.c1431 const char *isoCode, *structISOCode; in TestCurrencyList() local
1445 while ((isoCode = uenum_next(en, NULL, &errorCode)) != NULL && ures_hasNext(currencies)) { in TestCurrencyList()
1449 if (strcmp(structISOCode, isoCode) != 0) { in TestCurrencyList()
1450 … log_err("First difference found at structLocale(%s) and ISO4217(%s).\n", structISOCode, isoCode); in TestCurrencyList()
1475 UChar* isoCode = (UChar*)malloc(sizeof(UChar) * (uprv_strlen(usdCode) + 1)); in TestAvailableIsoCodes() local
1478 u_charsToUChars(eurCode, isoCode, (int32_t)uprv_strlen(usdCode) + 1); in TestAvailableIsoCodes()
1479 if (ucurr_isAvailable(isoCode, U_DATE_MIN, U_DATE_MAX, &errorCode) == FALSE) { in TestAvailableIsoCodes()
1483 u_charsToUChars(usdCode, isoCode, (int32_t)uprv_strlen(zzzCode) + 1); in TestAvailableIsoCodes()
1484 if (ucurr_isAvailable(isoCode, U_DATE_MIN, U_DATE_MAX, &errorCode) == FALSE) { in TestAvailableIsoCodes()
1488 u_charsToUChars(zzzCode, isoCode, (int32_t)uprv_strlen(zzzCode) + 1); in TestAvailableIsoCodes()
[all …]

123