Home
last modified time | relevance | path

Searched refs:pluralCount (Results 1 – 20 of 20) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyPluralInfo.java111 public String getCurrencyPluralPattern(String pluralCount) { in getCurrencyPluralPattern() argument
112 String currencyPluralPattern = pluralCountToCurrencyUnitPattern.get(pluralCount); in getCurrencyPluralPattern()
115 if (!pluralCount.equals("other")) { in getCurrencyPluralPattern()
161 public void setCurrencyPluralPattern(String pluralCount, String pattern) { in setCurrencyPluralPattern() argument
162 pluralCountToCurrencyUnitPattern.put(pluralCount, pattern); in setCurrencyPluralPattern()
190 for (String pluralCount : pluralCountToCurrencyUnitPattern.keySet()) { in clone()
191 String currencyPattern = pluralCountToCurrencyUnitPattern.get(pluralCount); in clone()
192 other.pluralCountToCurrencyUnitPattern.put(pluralCount, currencyPattern); in clone()
278 String pluralCount = e.getKey(); in setupCurrencyPluralPattern() local
294 pluralCountToCurrencyUnitPattern.put(pluralCount, patternWithCurrencySign); in setupCurrencyPluralPattern()
DTimeUnitFormat.java411 String pluralCount = key.toString(); in put() local
412 if (!pluralKeywords.contains(pluralCount)) in put()
418 Object[] pair = countToPatterns.get(pluralCount); in put()
421 countToPatterns.put(pluralCount, pair); in put()
475 for (String pluralCount : keywords) { in setup()
476 … if (countToPatterns.get(pluralCount) == null || countToPatterns.get(pluralCount)[style] == null) { in setup()
478 … searchInTree(resourceKey, style, timeUnit, pluralCount, pluralCount, countToPatterns); in setup()
DDecimalFormat_ICU58_Android.java1350 …private StringBuffer subformat(String pluralCount, StringBuffer result, FieldPosition fieldPositio… in subformat() argument
1365 String currencyPluralPattern = currencyPluralInfo.getCurrencyPluralPattern(pluralCount); in subformat()
1376 expandAffixAdjustWidth(pluralCount); in subformat()
2220 String pluralCount = iter.next(); in setupCurrencyAffixForAllPatterns() local
2221 String currencyPattern = currencyPluralInfo.getCurrencyPluralPattern(pluralCount); in setupCurrencyAffixForAllPatterns()
4079 private void expandAffixes(String pluralCount) {
4087 expandAffix(posPrefixPattern, pluralCount, buffer);
4091 expandAffix(posSuffixPattern, pluralCount, buffer);
4095 expandAffix(negPrefixPattern, pluralCount, buffer);
4099 expandAffix(negSuffixPattern, pluralCount, buffer);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyPluralInfo.java120 public String getCurrencyPluralPattern(String pluralCount) { in getCurrencyPluralPattern() argument
121 String currencyPluralPattern = pluralCountToCurrencyUnitPattern.get(pluralCount); in getCurrencyPluralPattern()
124 if (!pluralCount.equals("other")) { in getCurrencyPluralPattern()
174 public void setCurrencyPluralPattern(String pluralCount, String pattern) { in setCurrencyPluralPattern() argument
175 pluralCountToCurrencyUnitPattern.put(pluralCount, pattern); in setCurrencyPluralPattern()
206 for (String pluralCount : pluralCountToCurrencyUnitPattern.keySet()) { in clone()
207 String currencyPattern = pluralCountToCurrencyUnitPattern.get(pluralCount); in clone()
208 other.pluralCountToCurrencyUnitPattern.put(pluralCount, currencyPattern); in clone()
296 String pluralCount = e.getKey(); in setupCurrencyPluralPattern() local
312 pluralCountToCurrencyUnitPattern.put(pluralCount, patternWithCurrencySign); in setupCurrencyPluralPattern()
DTimeUnitFormat.java409 String pluralCount = key.toString(); in put() local
410 if (!pluralKeywords.contains(pluralCount)) in put()
416 Object[] pair = countToPatterns.get(pluralCount); in put()
419 countToPatterns.put(pluralCount, pair); in put()
473 for (String pluralCount : keywords) { in setup()
474 … if (countToPatterns.get(pluralCount) == null || countToPatterns.get(pluralCount)[style] == null) { in setup()
476 … searchInTree(resourceKey, style, timeUnit, pluralCount, pluralCount, countToPatterns); in setup()
DDecimalFormat_ICU58_Android.java1360 …private StringBuffer subformat(String pluralCount, StringBuffer result, FieldPosition fieldPositio… in subformat() argument
1375 String currencyPluralPattern = currencyPluralInfo.getCurrencyPluralPattern(pluralCount); in subformat()
1386 expandAffixAdjustWidth(pluralCount); in subformat()
2232 String pluralCount = iter.next(); in setupCurrencyAffixForAllPatterns() local
2233 String currencyPattern = currencyPluralInfo.getCurrencyPluralPattern(pluralCount); in setupCurrencyAffixForAllPatterns()
4142 private void expandAffixes(String pluralCount) {
4150 expandAffix(posPrefixPattern, pluralCount, buffer);
4154 expandAffix(posSuffixPattern, pluralCount, buffer);
4158 expandAffix(negPrefixPattern, pluralCount, buffer);
4162 expandAffix(negSuffixPattern, pluralCount, buffer);
[all …]
/external/icu/icu4c/source/i18n/
Dcurrpinf.cpp185 CurrencyPluralInfo::getCurrencyPluralPattern(const UnicodeString& pluralCount, in getCurrencyPluralPattern() argument
188 (UnicodeString*)fPluralCountToCurrencyUnitPattern->get(pluralCount); in getCurrencyPluralPattern()
191 if (pluralCount.compare(gPluralCountOther, 5)) { in getCurrencyPluralPattern()
224 CurrencyPluralInfo::setCurrencyPluralPattern(const UnicodeString& pluralCount, in setCurrencyPluralPattern() argument
229 fPluralCountToCurrencyUnitPattern->get(pluralCount)); in setCurrencyPluralPattern()
235 fPluralCountToCurrencyUnitPattern->put(pluralCount, p.orphan(), status); in setCurrencyPluralPattern()
334 const char* pluralCount; in setupCurrencyPluralPattern() local
335 while (((pluralCount = keywords->next(nullptr, ec)) != nullptr) && U_SUCCESS(ec)) { in setupCurrencyPluralPattern()
338 …patternChars = ures_getStringByKeyWithFallback(currencyRes.getAlias(), pluralCount, &ptnLength, &e… in setupCurrencyPluralPattern()
352 std::cout << "pluralCount: " << pluralCount << "; pattern: " << result_1 << "\n"; in setupCurrencyPluralPattern()
[all …]
Dtmutfmt.cpp328 UnicodeString* pluralCount; in setup() local
329 while ((pluralCount = const_cast<UnicodeString*>(keywords->snext(err))) != NULL) { in setup()
330 pluralCounts.addElement(pluralCount, err); in setup()
509 const UnicodeString* pluralCount; in checkConsistency() local
510 while (U_SUCCESS(err) && (pluralCount = keywords->snext(err)) != NULL) { in checkConsistency()
521 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount); in checkConsistency()
526 pluralCountChars.appendInvariantChars(*pluralCount, err); in checkConsistency()
529 *pluralCount, pluralCountChars.data(), in checkConsistency()
/external/icu/icu4c/source/i18n/unicode/
Dcurrpinf.h129 UnicodeString& getCurrencyPluralPattern(const UnicodeString& pluralCount,
167 void setCurrencyPluralPattern(const UnicodeString& pluralCount,
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCustomSymbolCurrency.java55 …public String getName(ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat)… in getName() argument
56 return super.getName(locale, nameStyle, pluralCount, isChoiceFormat); in getName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCustomSymbolCurrency.java51 …public String getName(ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat)… in getName() argument
52 return super.getName(locale, nameStyle, pluralCount, isChoiceFormat); in getName()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCurrency.java575 public String getName(Locale locale, int nameStyle, String pluralCount, in getName() argument
577 return getName(ULocale.forLocale(locale), nameStyle, pluralCount, isChoiceFormat); in getName()
603 public String getName(ULocale locale, int nameStyle, String pluralCount, in getName() argument
615 return names.getPluralName(subType, pluralCount); in getName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java602 public String getName(Locale locale, int nameStyle, String pluralCount, in getName() argument
604 return getName(ULocale.forLocale(locale), nameStyle, pluralCount, isChoiceFormat); in getName()
631 public String getName(ULocale locale, int nameStyle, String pluralCount, in getName() argument
643 return names.getPluralName(subType, pluralCount); in getName()
/external/icu/libandroidicu/include/unicode/
Ducurr.h203 const char* pluralCount,
/external/icu/icu4c/source/common/unicode/
Ducurr.h203 const char* pluralCount,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCurrencyTest.java246 String pluralCount = ""; in testGetName_Locale_Int_String_BooleanArray() local
248 currency.getName(ULocale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray()
250 String localeName = currency.getName(Locale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCurrencyTest.java249 String pluralCount = ""; in testGetName_Locale_Int_String_BooleanArray() local
251 currency.getName(ULocale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray()
253 String localeName = currency.getName(Locale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray()
/external/icu/icu4c/source/common/
Ducurr.cpp776 const char* pluralCount, in ucurr_getPluralName() argument
817 s = ures_getStringByKeyWithFallback(rb, pluralCount, len, &ec2); in ucurr_getPluralName()
/external/icu/libandroidicu/static_shim/
Dshim.cpp1339 … * currency, const char * locale, UBool * isChoiceFormat, const char * pluralCount, int32_t * len,… in ucurr_getPluralName_android() argument
1340 return ucurr_getPluralName(currency, locale, isChoiceFormat, pluralCount, len, ec); in ucurr_getPluralName_android()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...