Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java466 int subEnd; in extractSubstitution() local
481 subEnd = subStart + 2; in extractSubstitution()
487 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
489 …if (c == '<' && subEnd != -1 && subEnd < ruleText.length() - 1 && ruleText.charAt(subEnd+1) == c) { in extractSubstitution()
494 ++subEnd; in extractSubstitution()
501 if (subEnd == -1) { in extractSubstitution()
509 this.formatter, ruleText.substring(subStart, subEnd + 1)); in extractSubstitution()
512 ruleText = ruleText.substring(0, subStart) + ruleText.substring(subEnd + 1); in extractSubstitution()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java465 int subEnd; in extractSubstitution() local
480 subEnd = subStart + 2; in extractSubstitution()
486 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
488 …if (c == '<' && subEnd != -1 && subEnd < ruleText.length() - 1 && ruleText.charAt(subEnd+1) == c) { in extractSubstitution()
493 ++subEnd; in extractSubstitution()
500 if (subEnd == -1) { in extractSubstitution()
508 this.formatter, ruleText.substring(subStart, subEnd + 1)); in extractSubstitution()
511 ruleText = ruleText.substring(0, subStart) + ruleText.substring(subEnd + 1); in extractSubstitution()
/external/icu/icu4c/source/i18n/
Dnfrule.cpp476 int32_t subEnd = subStart; in extractSubstitution() local
487 subEnd = subStart + 2; in extractSubstitution()
493 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
495 …if (c == gLessThan && subEnd != -1 && subEnd < ruleText.length() - 1 && ruleText.charAt(subEnd+1) … in extractSubstitution()
500 ++subEnd; in extractSubstitution()
507 if (subEnd == -1) { in extractSubstitution()
515 subToken.setTo(ruleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
520 ruleText.removeBetween(subStart, subEnd+1); in extractSubstitution()