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()
755 if (rulePatternFormat == null) { in doFormat()
765 toInsertInto.insert(pos, rulePatternFormat.format(number / power(radix, exponent))); in doFormat()
797 if (rulePatternFormat == null) { in doFormat()
816 toInsertInto.insert(pos, rulePatternFormat.format((long)(pluralVal))); in doFormat()
982 … ruleText.substring(sub1Pos, sub2Pos), rulePatternFormat, in doParse()
1000 … 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()
754 if (rulePatternFormat == null) { in doFormat()
764 toInsertInto.insert(pos, rulePatternFormat.format(number / power(radix, exponent))); in doFormat()
796 if (rulePatternFormat == null) { in doFormat()
815 toInsertInto.insert(pos, rulePatternFormat.format((long)(pluralVal))); in doFormat()
981 … ruleText.substring(sub1Pos, sub2Pos), rulePatternFormat, in doParse()
999 … 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()
1479 if (rulePatternFormat) { in findText()
1483 rulePatternFormat->parseType(str, this, result, position); in findText()
Dnfrule.h116 const PluralFormat* rulePatternFormat; variable