Home
last modified time | relevance | path

Searched refs:subEnd (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java463 int subEnd; in extractSubstitution() local
478 subEnd = subStart + 2; in extractSubstitution()
484 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
486 …if (c == '<' && subEnd != -1 && subEnd < ruleText.length() - 1 && ruleText.charAt(subEnd+1) == c) { in extractSubstitution()
491 ++subEnd; in extractSubstitution()
498 if (subEnd == -1) { in extractSubstitution()
506 this.formatter, ruleText.substring(subStart, subEnd + 1)); in extractSubstitution()
509 ruleText = ruleText.substring(0, subStart) + ruleText.substring(subEnd + 1); in extractSubstitution()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java464 int subEnd; in extractSubstitution() local
479 subEnd = subStart + 2; in extractSubstitution()
485 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
487 …if (c == '<' && subEnd != -1 && subEnd < ruleText.length() - 1 && ruleText.charAt(subEnd+1) == c) { in extractSubstitution()
492 ++subEnd; in extractSubstitution()
499 if (subEnd == -1) { in extractSubstitution()
507 this.formatter, ruleText.substring(subStart, subEnd + 1)); in extractSubstitution()
510 ruleText = ruleText.substring(0, subStart) + ruleText.substring(subEnd + 1); in extractSubstitution()
/external/icu/icu4c/source/i18n/
Dnfrule.cpp474 int32_t subEnd = subStart; in extractSubstitution() local
485 subEnd = subStart + 2; in extractSubstitution()
491 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
493 …if (c == gLessThan && subEnd != -1 && subEnd < ruleText.length() - 1 && ruleText.charAt(subEnd+1) … in extractSubstitution()
498 ++subEnd; in extractSubstitution()
505 if (subEnd == -1) { in extractSubstitution()
513 subToken.setTo(ruleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
518 ruleText.removeBetween(subStart, subEnd+1); in extractSubstitution()