Searched refs:pluralRuleStart (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NFRule.java | 425 int pluralRuleStart = ruleText.indexOf("$("); in extractSubstitutions() local 426 int pluralRuleEnd = (pluralRuleStart >= 0 ? ruleText.indexOf(")$", pluralRuleStart) : -1); in extractSubstitutions() 428 int endType = ruleText.indexOf(',', pluralRuleStart); in extractSubstitutions() 432 String type = this.ruleText.substring(pluralRuleStart + 2, endType); in extractSubstitutions() 747 int pluralRuleStart = ruleText.length(); in doFormat() local 753 pluralRuleStart = ruleText.indexOf("$("); in doFormat() 754 int pluralRuleEnd = ruleText.indexOf(")$", pluralRuleStart); in doFormat() 760 if (pluralRuleStart > 0) { in doFormat() 761 toInsertInto.insert(pos, ruleText.substring(0, pluralRuleStart)); in doFormat() 766 …sub2.doSubstitution(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : … in doFormat() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NFRule.java | 426 int pluralRuleStart = ruleText.indexOf("$("); in extractSubstitutions() local 427 int pluralRuleEnd = (pluralRuleStart >= 0 ? ruleText.indexOf(")$", pluralRuleStart) : -1); in extractSubstitutions() 429 int endType = ruleText.indexOf(',', pluralRuleStart); in extractSubstitutions() 433 String type = this.ruleText.substring(pluralRuleStart + 2, endType); in extractSubstitutions() 748 int pluralRuleStart = ruleText.length(); in doFormat() local 754 pluralRuleStart = ruleText.indexOf("$("); in doFormat() 755 int pluralRuleEnd = ruleText.indexOf(")$", pluralRuleStart); in doFormat() 761 if (pluralRuleStart > 0) { in doFormat() 762 toInsertInto.insert(pos, ruleText.substring(0, pluralRuleStart)); in doFormat() 767 …sub2.doSubstitution(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : … in doFormat() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | nfrule.cpp | 427 int32_t pluralRuleStart = this->ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in extractSubstitutions() local 428 …int32_t pluralRuleEnd = (pluralRuleStart >= 0 ? this->ruleText.indexOf(gClosedParenthesisDollar, -… in extractSubstitutions() 430 int32_t endType = this->ruleText.indexOf(gComma, pluralRuleStart); in extractSubstitutions() 435 …UnicodeString type(this->ruleText.tempSubString(pluralRuleStart + 2, endType - pluralRuleStart - 2… in extractSubstitutions() 737 int32_t pluralRuleStart = ruleText.length(); in doFormat() local 743 pluralRuleStart = ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in doFormat() 744 int pluralRuleEnd = ruleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart); in doFormat() 751 if (pluralRuleStart > 0) { in doFormat() 752 toInsertInto.insert(pos, ruleText.tempSubString(0, pluralRuleStart)); in doFormat() 758 …sub2->doSubstitution(number, toInsertInto, pos - (sub2->getPos() > pluralRuleStart ? lengthOffset … in doFormat() [all …]
|