Searched refs:pluralRuleStart (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NFRule.java | 428 int pluralRuleStart = ruleText.indexOf("$("); in extractSubstitutions() local 429 int pluralRuleEnd = (pluralRuleStart >= 0 ? ruleText.indexOf(")$", pluralRuleStart) : -1); in extractSubstitutions() 431 int endType = ruleText.indexOf(',', pluralRuleStart); in extractSubstitutions() 435 String type = this.ruleText.substring(pluralRuleStart + 2, endType); in extractSubstitutions() 750 int pluralRuleStart = ruleText.length(); in doFormat() local 756 pluralRuleStart = ruleText.indexOf("$("); in doFormat() 757 int pluralRuleEnd = ruleText.indexOf(")$", pluralRuleStart); in doFormat() 763 if (pluralRuleStart > 0) { in doFormat() 764 toInsertInto.insert(pos, ruleText.substring(0, pluralRuleStart)); in doFormat() 769 …sub2.doSubstitution(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : … in doFormat() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NFRule.java | 427 int pluralRuleStart = ruleText.indexOf("$("); in extractSubstitutions() local 428 int pluralRuleEnd = (pluralRuleStart >= 0 ? ruleText.indexOf(")$", pluralRuleStart) : -1); in extractSubstitutions() 430 int endType = ruleText.indexOf(',', pluralRuleStart); in extractSubstitutions() 434 String type = this.ruleText.substring(pluralRuleStart + 2, endType); in extractSubstitutions() 749 int pluralRuleStart = ruleText.length(); in doFormat() local 755 pluralRuleStart = ruleText.indexOf("$("); in doFormat() 756 int pluralRuleEnd = ruleText.indexOf(")$", pluralRuleStart); in doFormat() 762 if (pluralRuleStart > 0) { in doFormat() 763 toInsertInto.insert(pos, ruleText.substring(0, pluralRuleStart)); in doFormat() 768 …sub2.doSubstitution(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : … in doFormat() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | nfrule.cpp | 429 int32_t pluralRuleStart = this->ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in extractSubstitutions() local 430 …int32_t pluralRuleEnd = (pluralRuleStart >= 0 ? this->ruleText.indexOf(gClosedParenthesisDollar, -… in extractSubstitutions() 432 int32_t endType = this->ruleText.indexOf(gComma, pluralRuleStart); in extractSubstitutions() 437 …UnicodeString type(this->ruleText.tempSubString(pluralRuleStart + 2, endType - pluralRuleStart - 2… in extractSubstitutions() 739 int32_t pluralRuleStart = ruleText.length(); in doFormat() local 745 pluralRuleStart = ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in doFormat() 746 int pluralRuleEnd = ruleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart); in doFormat() 753 if (pluralRuleStart > 0) { in doFormat() 754 toInsertInto.insert(pos, ruleText.tempSubString(0, pluralRuleStart)); in doFormat() 760 …sub2->doSubstitution(number, toInsertInto, pos - (sub2->getPos() > pluralRuleStart ? lengthOffset … in doFormat() [all …]
|