Home | History | Annotate | Download | only in i18n

Lines Matching defs:pluralCount

657                 const UnicodeString* pluralCount;
658 while ((pluralCount = keywords->snext(status)) != NULL) {
660 expandAffixAdjustWidth(pluralCount);
663 fAffixesForCurrency->put(*pluralCount, affix, status);
684 const UnicodeString* pluralCount;
685 while ((pluralCount = keywords->snext(status)) != NULL) {
688 fCurrencyPluralInfo->getCurrencyPluralPattern(*pluralCount, ptn);
689 applyPatternInternally(*pluralCount, ptn, false, parseErr, status);
692 fPluralAffixesForCurrency->put(*pluralCount, affix, status);
4094 * 'pluralCount' will be a non-null currency plural count.
4095 * In all other cases, the 'pluralCount' is null, which means it is not needed.
4097 void DecimalFormat::expandAffixes(const UnicodeString* pluralCount) {
4100 expandAffix(*fPosPrefixPattern, fPositivePrefix, 0, none, FALSE, pluralCount);
4103 expandAffix(*fPosSuffixPattern, fPositiveSuffix, 0, none, FALSE, pluralCount);
4106 expandAffix(*fNegPrefixPattern, fNegativePrefix, 0, none, FALSE, pluralCount);
4109 expandAffix(*fNegSuffixPattern, fNegativeSuffix, 0, none, FALSE, pluralCount);
4156 * @param pluralCount the plural count. It is only used for currency
4168 const UnicodeString* pluralCount) const {
4199 if (plural && pluralCount != NULL) {
4200 // plural name is only needed when pluralCount != null,
4202 // For other cases, pluralCount == null,
4206 pluralCountChar.appendInvariantChars(*pluralCount, ec);
4342 UnicodeString pluralCount;
4346 pluralCount = fCurrencyPluralInfo->getPluralRules()->select(ni);
4348 pluralCount = fCurrencyPluralInfo->getPluralRules()->select(number);
4352 oneSet = (AffixesForCurrency*)fPluralAffixesForCurrency->get(pluralCount);
4354 oneSet = (AffixesForCurrency*)fAffixesForCurrency->get(pluralCount);
5409 DecimalFormat::expandAffixAdjustWidth(const UnicodeString* pluralCount) {
5410 expandAffixes(pluralCount);
5450 DecimalFormat::applyPatternInternally(const UnicodeString& pluralCount,
5456 expandAffixAdjustWidth(&pluralCount);