Home
last modified time | relevance | path

Searched refs:rulePatternFormat (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java99 private PluralFormat rulePatternFormat = null; field in NFRule
446 rulePatternFormat = formatter.createPluralFormat(pluralType, in extractSubstitutions()
752 if (rulePatternFormat == null) { in doFormat()
762 toInsertInto.insert(pos, rulePatternFormat.format(number / power(radix, exponent))); in doFormat()
794 if (rulePatternFormat == null) { in doFormat()
813 toInsertInto.insert(pos, rulePatternFormat.format((long)(pluralVal))); in doFormat()
979 … ruleText.substring(sub1Pos, sub2Pos), rulePatternFormat, in doParse()
997 … ruleText.substring(sub2Pos), rulePatternFormat, pp2, sub2, in doParse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java98 private PluralFormat rulePatternFormat = null; field in NFRule
445 rulePatternFormat = formatter.createPluralFormat(pluralType, in extractSubstitutions()
751 if (rulePatternFormat == null) { in doFormat()
761 toInsertInto.insert(pos, rulePatternFormat.format(number / power(radix, exponent))); in doFormat()
793 if (rulePatternFormat == null) { in doFormat()
812 toInsertInto.insert(pos, rulePatternFormat.format((long)(pluralVal))); in doFormat()
978 … ruleText.substring(sub1Pos, sub2Pos), rulePatternFormat, in doParse()
996 … ruleText.substring(sub2Pos), rulePatternFormat, pp2, sub2, in doParse()
/external/icu/icu4c/source/i18n/
Dnfrule.cpp46 , rulePatternFormat(NULL) in NFRule()
61 delete rulePatternFormat; in ~NFRule()
62 rulePatternFormat = NULL; in ~NFRule()
450 rulePatternFormat = formatter->createPluralFormat(pluralType, in extractSubstitutions()
748 if (!rulePatternFormat) { in doFormat()
759 rulePatternFormat->format((int32_t)(number/util64_pow(radix, exponent)), status)); in doFormat()
794 if (!rulePatternFormat) { in doFormat()
813 toInsertInto.insert(pos, rulePatternFormat->format((int32_t)(pluralVal), status)); in doFormat()
1473 if (rulePatternFormat) { in findText()
1477 rulePatternFormat->parseType(str, this, result, position); in findText()
Dnfrule.h114 const PluralFormat* rulePatternFormat; variable