/third_party/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
H A 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() 162 getSymbol(String isoCode) getSymbol() argument 173 getNarrowSymbol(String isoCode) getNarrowSymbol() argument 184 getFormalSymbol(String isoCode) getFormalSymbol() argument 195 getVariantSymbol(String isoCode) getVariantSymbol() argument 206 getPluralName(String isoCode, String pluralKey ) getPluralName() argument 253 getFormatInfo(String isoCode) getFormatInfo() argument 273 fetchFormattingData(String isoCode) fetchFormattingData() argument 285 fetchVariantSymbol(String isoCode, String variant) fetchVariantSymbol() argument 297 fetchPluralsData(String isoCode) fetchPluralsData() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A 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() 166 getSymbol(String isoCode) getSymbol() argument 177 getNarrowSymbol(String isoCode) getNarrowSymbol() argument 188 getFormalSymbol(String isoCode) getFormalSymbol() argument 199 getVariantSymbol(String isoCode) getVariantSymbol() argument 210 getPluralName(String isoCode, String pluralKey ) getPluralName() argument 257 getFormatInfo(String isoCode) getFormatInfo() argument 277 fetchFormattingData(String isoCode) fetchFormattingData() argument 289 fetchVariantSymbol(String isoCode, String variant) fetchVariantSymbol() argument 301 fetchPluralsData(String isoCode) fetchPluralsData() argument [all...] |
H A D | CurrencyData.java | 40 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 178 getNarrowSymbol(String isoCode) getNarrowSymbol() argument 183 getFormalSymbol(String isoCode) getFormalSymbol() argument 188 getVariantSymbol(String isoCode) getVariantSymbol() argument 216 getFormatInfo(String isoCode) getFormatInfo() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A 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() local 95 isoCode[ in CurrencyUnit() [all...] |
H A 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()
|
H A 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()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | currunit.cpp | 46 isoCode[i] = u_asciiToUpper(_isoCode[i]); in CurrencyUnit() 48 isoCode[3] = 0; in CurrencyUnit() 51 uprv_memcpy(isoCode, kDefaultCurrency, sizeof(char16_t) * 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() local 95 isoCode[ in CurrencyUnit() [all...] |
H A 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()
|
H A 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()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A 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() local 95 isoCode[ in CurrencyUnit() [all...] |
H A 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()
|
H A 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()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A 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 153 getNarrowSymbol(String isoCode) getNarrowSymbol() argument 158 getFormalSymbol(String isoCode) getFormalSymbol() argument 163 getVariantSymbol(String isoCode) getVariantSymbol() argument 191 getFormatInfo(String isoCode) getFormatInfo() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CurrencyDisplayNames.java | 115 * If there is no data for this symbol, substitutes isoCode, 118 * @param isoCode the three-letter ISO code. 122 public abstract String getSymbol(String isoCode); in getSymbol() argument 134 * @param isoCode the three-letter ISO code. 138 public abstract String getNarrowSymbol(String isoCode); in getNarrowSymbol() argument 150 * @param isoCode the three-letter ISO code. 154 public abstract String getFormalSymbol(String isoCode); in getFormalSymbol() argument 165 * @param isoCode the three-letter ISO code. 169 public abstract String getVariantSymbol(String isoCode); in getVariantSymbol() argument 173 * If there is no data for the ISO code, substitutes isoCode, o 180 getName(String isoCode) getName() argument 194 getPluralName(String isoCode, String pluralKey) getPluralName() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | CurrencyDisplayNames.java | 111 * If there is no data for this symbol, substitutes isoCode, 114 * @param isoCode the three-letter ISO code. 117 public abstract String getSymbol(String isoCode); in getSymbol() argument 129 * @param isoCode the three-letter ISO code. 132 public abstract String getNarrowSymbol(String isoCode); in getNarrowSymbol() argument 144 * @param isoCode the three-letter ISO code. 148 public abstract String getFormalSymbol(String isoCode); in getFormalSymbol() argument 159 * @param isoCode the three-letter ISO code. 163 public abstract String getVariantSymbol(String isoCode); in getVariantSymbol() argument 167 * If there is no data for the ISO code, substitutes isoCode, o 173 getName(String isoCode) getName() argument 186 getPluralName(String isoCode, String pluralKey) getPluralName() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | currunit.h | 50 * @param isoCode the 3-letter ISO 4217 currency code; must have 53 * @param ec input-output error code. If the isoCode is invalid, 57 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec); 62 * @param isoCode the 3-letter ISO 4217 currency code; must have 64 * @param ec input-output error code. If the isoCode is invalid, 68 CurrencyUnit(StringPiece isoCode, UErrorCode &ec); 133 char16_t isoCode[4]; member in CurrencyUnit 137 return isoCode; in getISOCurrency()
|
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | currunit.h | 50 * @param isoCode the 3-letter ISO 4217 currency code; must have 53 * @param ec input-output error code. If the isoCode is invalid, 57 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec); 62 * @param isoCode the 3-letter ISO 4217 currency code; must have 64 * @param ec input-output error code. If the isoCode is invalid, 68 CurrencyUnit(StringPiece isoCode, UErrorCode &ec); 133 char16_t isoCode[4]; member in CurrencyUnit 137 return isoCode; in getISOCurrency()
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | currunit.h | 50 * @param isoCode the 3-letter ISO 4217 currency code; must have 53 * @param ec input-output error code. If the isoCode is invalid, 57 CurrencyUnit(ConstChar16Ptr isoCode, UErrorCode &ec); 62 * @param isoCode the 3-letter ISO 4217 currency code; must have 64 * @param ec input-output error code. If the isoCode is invalid, 68 CurrencyUnit(StringPiece isoCode, UErrorCode &ec); 133 char16_t isoCode[4]; member in CurrencyUnit 137 return isoCode; in getISOCurrency()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
H A 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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/ |
H A 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()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | Currency.java | 794 String isoCode = e.getValue(); in setupCurrencyTrieVec() 798 CurrencyStringInfo value = new CurrencyStringInfo(isoCode, symbol); in setupCurrencyTrieVec() 811 String isoCode = e.getValue(); in setupCurrencyTrieVec() 812 trie.put(name, new CurrencyStringInfo(isoCode, name)); in setupCurrencyTrieVec() 822 private String isoCode; field in Currency.CurrencyStringInfo 830 public CurrencyStringInfo(String isoCode, String currencyString) { in CurrencyStringInfo() argument 831 this.isoCode = isoCode; in CurrencyStringInfo() 841 return isoCode; in getISOCode() 986 // isoCode i in Currency() 1088 private final String isoCode; global() field in Currency [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | Currency.java | 759 String isoCode = e.getValue(); in setupCurrencyTrieVec() 763 CurrencyStringInfo value = new CurrencyStringInfo(isoCode, symbol); in setupCurrencyTrieVec() 776 String isoCode = e.getValue(); in setupCurrencyTrieVec() 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() 946 // isoCode i in Currency() 1046 private final String isoCode; global() field in Currency [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | CurrencyTest.java | 265 String isoCode = (String) cas[1]; in testCurrencyVariants() 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...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | CurrencyTest.java | 262 String isoCode = (String) cas[1]; in testCurrencyVariants() 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...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cldrtest.c | 1453 const char *isoCode, *structISOCode; in TestCurrencyList() local 1467 while ((isoCode = uenum_next(en, NULL, &errorCode)) != NULL && ures_hasNext(currencies)) { in TestCurrencyList() 1471 if (strcmp(structISOCode, isoCode) != 0) { in TestCurrencyList() 1472 log_err("First difference found at structLocale(%s) and ISO4217(%s).\n", structISOCode, isoCode); in TestCurrencyList() 1497 UChar* isoCode = (UChar*)malloc(sizeof(UChar) * (uprv_strlen(usdCode) + 1)); in TestAvailableIsoCodes() local 1500 u_charsToUChars(eurCode, isoCode, (int32_t)uprv_strlen(usdCode) + 1); in TestAvailableIsoCodes() 1501 if (ucurr_isAvailable(isoCode, U_DATE_MIN, U_DATE_MAX, &errorCode) == false) { in TestAvailableIsoCodes() 1505 u_charsToUChars(usdCode, isoCode, (int32_t)uprv_strlen(zzzCode) + 1); in TestAvailableIsoCodes() 1506 if (ucurr_isAvailable(isoCode, U_DATE_MIN, U_DATE_MAX, &errorCode) == false) { in TestAvailableIsoCodes() 1510 u_charsToUChars(zzzCode, isoCode, (int32_ in TestAvailableIsoCodes() [all...] |