Home
last modified time | relevance | path

Searched refs:subStart (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/tools/makeconv/
Dgencnvex.c416 int32_t i, j, uniqueCount, count, subStart, subLimit; in generateToUTable() local
498 subStart=subLimit; in generateToUTable()
504 if(subStart==subLimit) { in generateToUTable()
511 m=mappings+map[subStart]; in generateToUTable()
514 ++subStart; in generateToUTable()
516 if(subStart<subLimit && mappings[map[subStart]].bLen==unitIndex+1) { in generateToUTable()
520 ucm_printMapping(table, mappings+map[subStart], stderr); in generateToUTable()
527 if(subStart==subLimit) { in generateToUTable()
535 if(!generateToUTable(extData, table, subStart, subLimit, unitIndex+1, defaultValue)) { in generateToUTable()
715 int32_t i, j, uniqueCount, count, subStart, subLimit; in generateFromUTable() local
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java465 int subStart; in extractSubstitution() local
470 subStart = indexOfAnyRulePrefix(ruleText); in extractSubstitution()
474 if (subStart == -1) { in extractSubstitution()
480 if (ruleText.startsWith(">>>", subStart)) { in extractSubstitution()
481 subEnd = subStart + 2; in extractSubstitution()
486 char c = ruleText.charAt(subStart); in extractSubstitution()
487 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
508 result = NFSubstitution.makeSubstitution(subStart, this, predecessor, owner, 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.java464 int subStart; in extractSubstitution() local
469 subStart = indexOfAnyRulePrefix(ruleText); in extractSubstitution()
473 if (subStart == -1) { in extractSubstitution()
479 if (ruleText.startsWith(">>>", subStart)) { in extractSubstitution()
480 subEnd = subStart + 2; in extractSubstitution()
485 char c = ruleText.charAt(subStart); in extractSubstitution()
486 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
507 result = NFSubstitution.makeSubstitution(subStart, this, predecessor, owner, 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 subStart = indexOfAnyRulePrefix(); in extractSubstitution() local
477 int32_t subEnd = subStart; in extractSubstitution()
481 if (subStart == -1) { in extractSubstitution()
487 if (fRuleText.indexOf(gGreaterGreaterGreater, 3, 0) == subStart) { in extractSubstitution()
488 subEnd = subStart + 2; in extractSubstitution()
493 UChar c = fRuleText.charAt(subStart); in extractSubstitution()
494 subEnd = fRuleText.indexOf(c, subStart + 1); in extractSubstitution()
516 subToken.setTo(fRuleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
517 result = NFSubstitution::makeSubstitution(subStart, this, predecessor, ruleSet, in extractSubstitution()
521 fRuleText.removeBetween(subStart, subEnd+1); in extractSubstitution()