Home
last modified time | relevance | path

Searched refs:pluralNumber (Results 1 – 6 of 6) sorted by relevance

/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternUtilDemo.java129 String pluralNumber) { in genCode() argument
144 System.out.println(prefix + operator + " formatNumber(" + pluralNumber + ")"); in genCode()
188 String pluralNumber = offset == 0. ? argName : argName + " - " + offset; in genCodeForPlural() local
191 genCodeForNumericVariants(numericVariants, depth++, firstResult, argName, pluralNumber); in genCodeForPlural()
195 "_keyword = PluralRules.select(" + pluralNumber + ")"); in genCodeForPlural()
197 "_keyword", pluralNumber); in genCodeForPlural()
199 genCode(otherVariant.getMessage(), depth, firstResult, pluralNumber); in genCodeForPlural() local
228 String pluralNumber) { in genCodeForNumericVariants() argument
236 genCode(variant.getMessage(), depth, firstResult, pluralNumber); in genCodeForNumericVariants() local
246 String pluralNumber) { in genCodeForKeywordVariants() argument
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DMessageFormat.java1594 private void format(int msgStart, PluralSelectorContext pluralNumber, in format() argument
1609 if(pluralNumber.forReplaceNumber) { in format()
1611 dest.formatAndAppend(pluralNumber.formatter, in format()
1612 pluralNumber.number, pluralNumber.numberString); in format()
1614 dest.formatAndAppend(getStockNumberFormatter(), pluralNumber.number); in format()
1656 } else if(pluralNumber!=null && pluralNumber.numberArgIndex==(i-2)) { in format()
1657 if(pluralNumber.offset == 0) { in format()
1659 … dest.formatAndAppend(pluralNumber.formatter, pluralNumber.number, pluralNumber.numberString); in format()
1663 dest.formatAndAppend(pluralNumber.formatter, arg); in format()
1749 int msgStart, PluralSelectorContext pluralNumber, in formatComplexSubMessage() argument
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java1638 private void format(int msgStart, PluralSelectorContext pluralNumber, in format() argument
1653 if(pluralNumber.forReplaceNumber) { in format()
1655 dest.formatAndAppend(pluralNumber.formatter, in format()
1656 pluralNumber.number, pluralNumber.numberString); in format()
1658 dest.formatAndAppend(getStockNumberFormatter(), pluralNumber.number); in format()
1700 } else if(pluralNumber!=null && pluralNumber.numberArgIndex==(i-2)) { in format()
1701 if(pluralNumber.offset == 0) { in format()
1703 … dest.formatAndAppend(pluralNumber.formatter, pluralNumber.number, pluralNumber.numberString); in format()
1707 dest.formatAndAppend(pluralNumber.formatter, arg); in format()
1793 int msgStart, PluralSelectorContext pluralNumber, in formatComplexSubMessage() argument
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dmsgfmt.cpp1033 const PluralSelectorContext &pluralNumber = in format() local
1035 if(pluralNumber.forReplaceNumber) { in format()
1037 appendTo.formatAndAppend(pluralNumber.formatter, in format()
1038 pluralNumber.number, pluralNumber.numberString, success); in format()
1041 appendTo.formatAndAppend(nf, pluralNumber.number, success); in format()
1078 const PluralSelectorContext &pluralNumber = in format() local
1080 if(pluralNumber.offset == 0) { in format()
1082 appendTo.formatAndAppend(pluralNumber.formatter, pluralNumber.number, in format()
1083 pluralNumber.numberString, success); in format()
1087 appendTo.formatAndAppend(pluralNumber.formatter, *arg, success); in format()
[all …]
/third_party/icu/icu4c/source/i18n/
Dmsgfmt.cpp1032 const PluralSelectorContext &pluralNumber = in format() local
1034 if(pluralNumber.forReplaceNumber) { in format()
1036 appendTo.formatAndAppend(pluralNumber.formatter, in format()
1037 pluralNumber.number, pluralNumber.numberString, success); in format()
1040 appendTo.formatAndAppend(nf, pluralNumber.number, success); in format()
1077 const PluralSelectorContext &pluralNumber = in format() local
1079 if(pluralNumber.offset == 0) { in format()
1081 appendTo.formatAndAppend(pluralNumber.formatter, pluralNumber.number, in format()
1082 pluralNumber.numberString, success); in format()
1086 appendTo.formatAndAppend(pluralNumber.formatter, *arg, success); in format()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dmsgfmt.cpp1030 const PluralSelectorContext &pluralNumber = in format() local
1032 if(pluralNumber.forReplaceNumber) { in format()
1034 appendTo.formatAndAppend(pluralNumber.formatter, in format()
1035 pluralNumber.number, pluralNumber.numberString, success); in format()
1038 appendTo.formatAndAppend(nf, pluralNumber.number, success); in format()
1075 const PluralSelectorContext &pluralNumber = in format() local
1077 if(pluralNumber.offset == 0) { in format()
1079 appendTo.formatAndAppend(pluralNumber.formatter, pluralNumber.number, in format()
1080 pluralNumber.numberString, success); in format()
1084 appendTo.formatAndAppend(pluralNumber.formatter, *arg, success); in format()
[all …]