Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyPluralInfo.java118 public String getCurrencyPluralPattern(String pluralCount) { in getCurrencyPluralPattern() argument
119 String currencyPluralPattern = pluralCountToCurrencyUnitPattern.get(pluralCount); in getCurrencyPluralPattern()
122 if (!pluralCount.equals("other")) { in getCurrencyPluralPattern()
168 public void setCurrencyPluralPattern(String pluralCount, String pattern) { in setCurrencyPluralPattern() argument
169 pluralCountToCurrencyUnitPattern.put(pluralCount, pattern); in setCurrencyPluralPattern()
199 for (String pluralCount : pluralCountToCurrencyUnitPattern.keySet()) { in clone()
200 String currencyPattern = pluralCountToCurrencyUnitPattern.get(pluralCount); in clone()
201 other.pluralCountToCurrencyUnitPattern.put(pluralCount, currencyPattern); in clone()
285 String pluralCount = e.getKey(); in setupCurrencyPluralPattern() local
301 pluralCountToCurrencyUnitPattern.put(pluralCount, patternWithCurrencySign); in setupCurrencyPluralPattern()
DTimeUnitFormat.java400 String pluralCount = oneUnitRes.get(pluralIndex).getKey(); in setup() local
401 if (!pluralKeywords.contains(pluralCount)) in setup()
409 Object[] pair = countToPatterns.get(pluralCount); in setup()
412 countToPatterns.put(pluralCount, pair); in setup()
448 for (String pluralCount : keywords) { in setup()
449 … if (countToPatterns.get(pluralCount) == null || countToPatterns.get(pluralCount)[style] == null) { in setup()
451 … searchInTree(resourceKey, style, timeUnit, pluralCount, pluralCount, countToPatterns); in setup()
DDecimalFormat.java1322 …private StringBuffer subformat(String pluralCount, StringBuffer result, FieldPosition fieldPositio… in subformat() argument
1337 String currencyPluralPattern = currencyPluralInfo.getCurrencyPluralPattern(pluralCount); in subformat()
1348 expandAffixAdjustWidth(pluralCount); in subformat()
2145 String pluralCount = iter.next(); in setupCurrencyAffixForAllPatterns() local
2146 String currencyPattern = currencyPluralInfo.getCurrencyPluralPattern(pluralCount); in setupCurrencyAffixForAllPatterns()
4018 private void expandAffixes(String pluralCount) {
4026 expandAffix(posPrefixPattern, pluralCount, buffer, false);
4030 expandAffix(posSuffixPattern, pluralCount, buffer, false);
4034 expandAffix(negPrefixPattern, pluralCount, buffer, false);
4038 expandAffix(negSuffixPattern, pluralCount, buffer, false);
[all …]
/external/icu/icu4c/source/i18n/
Dcurrpinf.cpp157 CurrencyPluralInfo::getCurrencyPluralPattern(const UnicodeString& pluralCount, in getCurrencyPluralPattern() argument
160 (UnicodeString*)fPluralCountToCurrencyUnitPattern->get(pluralCount); in getCurrencyPluralPattern()
163 if (pluralCount.compare(gPluralCountOther, 5)) { in getCurrencyPluralPattern()
199 CurrencyPluralInfo::setCurrencyPluralPattern(const UnicodeString& pluralCount, in setCurrencyPluralPattern() argument
203 fPluralCountToCurrencyUnitPattern->put(pluralCount, new UnicodeString(pattern), status); in setCurrencyPluralPattern()
292 const char* pluralCount; in setupCurrencyPluralPattern() local
293 while ((pluralCount = keywords->next(NULL, ec)) != NULL) { in setupCurrencyPluralPattern()
298 currencyRes, pluralCount, &ptnLen, &err); in setupCurrencyPluralPattern()
304 … std::cout << "pluralCount: " << pluralCount << "; pattern: " << result_1 << "\n"; in setupCurrencyPluralPattern()
320 … std::cout << "pluralCount: " << pluralCount << "; pattern: " << result_1 << "\n"; in setupCurrencyPluralPattern()
[all …]
Dtmutfmt.cpp325 UnicodeString* pluralCount; in setup() local
326 while ((pluralCount = const_cast<UnicodeString*>(keywords->snext(err))) != NULL) { in setup()
327 pluralCounts.addElement(pluralCount, err); in setup()
420 const char* pluralCount; in readFromCurrentLocale() local
424 ures_getNextUnicodeString(countsToPatternRB, &pluralCount, &status); in readFromCurrentLocale()
428 UnicodeString pluralCountUniStr(pluralCount, -1, US_INV); in readFromCurrentLocale()
496 const UnicodeString* pluralCount; in checkConsistency() local
497 while ((pluralCount = keywords->snext(err)) != NULL) { in checkConsistency()
511 … MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount); in checkConsistency()
516 pluralCountChars.appendInvariantChars(*pluralCount, err); in checkConsistency()
[all …]
Ddecimfmt.cpp681 const UnicodeString* pluralCount; in setupCurrencyAffixes() local
682 while ((pluralCount = keywords->snext(status)) != NULL) { in setupCurrencyAffixes()
684 expandAffixAdjustWidth(pluralCount); in setupCurrencyAffixes()
687 fAffixesForCurrency->put(*pluralCount, affix, status); in setupCurrencyAffixes()
708 const UnicodeString* pluralCount; in setupCurrencyAffixes() local
709 while ((pluralCount = keywords->snext(status)) != NULL) { in setupCurrencyAffixes()
712 fCurrencyPluralInfo->getCurrencyPluralPattern(*pluralCount, ptn); in setupCurrencyAffixes()
713 applyPatternInternally(*pluralCount, ptn, false, parseErr, status); in setupCurrencyAffixes()
716 fPluralAffixesForCurrency->put(*pluralCount, affix, status); in setupCurrencyAffixes()
4236 void DecimalFormat::expandAffixes(const UnicodeString* pluralCount) {
[all …]
Ducurr.cpp770 const char* pluralCount, in ucurr_getPluralName() argument
811 s = ures_getStringByKeyWithFallback(rb, pluralCount, len, &ec2); in ucurr_getPluralName()
/external/icu/icu4c/source/i18n/unicode/
Dcurrpinf.h127 UnicodeString& getCurrencyPluralPattern(const UnicodeString& pluralCount,
165 void setCurrencyPluralPattern(const UnicodeString& pluralCount,
Ddecimfmt.h2026 void applyPatternInternally(const UnicodeString& pluralCount,
2044 void expandAffixAdjustWidth(const UnicodeString* pluralCount);
2177 const UnicodeString* pluralCount) const;
2179 void expandAffixes(const UnicodeString* pluralCount);
Ducurr.h189 const char* pluralCount,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java557 public String getName(Locale locale, int nameStyle, String pluralCount, in getName() argument
559 return getName(ULocale.forLocale(locale), nameStyle, pluralCount, isChoiceFormat); in getName()
586 public String getName(ULocale locale, int nameStyle, String pluralCount, in getName() argument
598 return names.getPluralName(subType, pluralCount); in getName()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...