Home
last modified time | relevance | path

Searched refs:pluralCount (Results 1 – 19 of 19) 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()
/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()
/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/libicu/cts_headers/unicode/
Dcurrpinf.h131 UnicodeString& getCurrencyPluralPattern(const UnicodeString& pluralCount,
169 void setCurrencyPluralPattern(const UnicodeString& pluralCount,
Ducurr.h223 const char* pluralCount,
/external/icu/icu4c/source/i18n/unicode/
Dcurrpinf.h131 UnicodeString& getCurrencyPluralPattern(const UnicodeString& pluralCount,
169 void setCurrencyPluralPattern(const UnicodeString& pluralCount,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCustomSymbolCurrency.java54 …public String getName(ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat)… in getName() argument
55 return super.getName(locale, nameStyle, pluralCount, isChoiceFormat); in getName()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCustomSymbolCurrency.java58 …public String getName(ULocale locale, int nameStyle, String pluralCount, boolean[] isChoiceFormat)… in getName() argument
59 return super.getName(locale, nameStyle, pluralCount, isChoiceFormat); in getName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java625 public String getName(Locale locale, int nameStyle, String pluralCount, in getName() argument
627 return getName(ULocale.forLocale(locale), nameStyle, pluralCount, isChoiceFormat); in getName()
652 public String getName(ULocale locale, int nameStyle, String pluralCount, in getName() argument
664 return names.getPluralName(subType, pluralCount); in getName()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCurrency.java595 public String getName(Locale locale, int nameStyle, String pluralCount, in getName() argument
597 return getName(ULocale.forLocale(locale), nameStyle, pluralCount, isChoiceFormat); in getName()
621 public String getName(ULocale locale, int nameStyle, String pluralCount, in getName() argument
633 return names.getPluralName(subType, pluralCount); in getName()
/external/icu/icu4c/source/common/unicode/
Ducurr.h223 const char* pluralCount,
/external/icu/libandroidicu/include/unicode/
Ducurr.h223 const char* pluralCount,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCurrencyTest.java298 String pluralCount = ""; in testGetName_Locale_Int_String_BooleanArray() local
300 currency.getName(ULocale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray()
302 String localeName = currency.getName(Locale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCurrencyTest.java295 String pluralCount = ""; in testGetName_Locale_Int_String_BooleanArray() local
297 currency.getName(ULocale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray()
299 String localeName = currency.getName(Locale.CANADA, nameStyle, pluralCount, isChoiceFormat); in testGetName_Locale_Int_String_BooleanArray()
/external/icu/icu4c/source/common/
Ducurr.cpp749 const char* pluralCount, in ucurr_getPluralName() argument
790 s = ures_getStringByKeyWithFallback(rb, pluralCount, len, &ec2); in ucurr_getPluralName()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...