/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | ReplaceableContextIterator.java | 36 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; in ReplaceableContextIterator() 47 limit=contextLimit=rep.length(); in setText() 93 public void setContextLimits(int contextStart, int contextLimit) { in setContextLimits() argument 101 if(contextLimit<this.contextStart) { in setContextLimits() 102 this.contextLimit=this.contextStart; in setContextLimits() 103 } else if(contextLimit<=rep.length()) { in setContextLimits() 104 this.contextLimit=contextLimit; in setContextLimits() 106 this.contextLimit=rep.length(); in setContextLimits() 141 contextLimit+=delta; in replace() 175 if(index<contextLimit) { in next() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ReplaceableContextIterator.java | 37 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; in ReplaceableContextIterator() 48 limit=contextLimit=rep.length(); in setText() 94 public void setContextLimits(int contextStart, int contextLimit) { in setContextLimits() argument 102 if(contextLimit<this.contextStart) { in setContextLimits() 103 this.contextLimit=this.contextStart; in setContextLimits() 104 } else if(contextLimit<=rep.length()) { in setContextLimits() 105 this.contextLimit=contextLimit; in setContextLimits() 107 this.contextLimit=rep.length(); in setContextLimits() 142 contextLimit+=delta; in replace() 176 if(index<contextLimit) { in next() [all …]
|
D | Transliterator.java | 283 public int contextLimit; field in Transliterator.Position 314 public Position(int contextStart, int contextLimit, int start) { in Position() argument 315 this(contextStart, contextLimit, start, contextLimit); in Position() 322 public Position(int contextStart, int contextLimit, in Position() argument 325 this.contextLimit = contextLimit; in Position() 342 contextLimit = pos.contextLimit; in set() 354 contextLimit == pos.contextLimit && in equals() 380 + ", cl=" + contextLimit in toString() 394 contextLimit < limit || in validate() 395 length < contextLimit) { in validate() [all …]
|
D | CaseFoldTransliterator.java | 76 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 102 offsets.contextLimit += delta; in handleTransliterate()
|
D | UppercaseTransliterator.java | 79 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 105 offsets.contextLimit += delta; in handleTransliterate()
|
D | LowercaseTransliterator.java | 83 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 109 offsets.contextLimit += delta; in handleTransliterate()
|
D | TitlecaseTransliterator.java | 106 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 146 offsets.contextLimit += delta; in handleTransliterate()
|
D | TransliterationRule.java | 448 match = postContext.matches(text, intRef, pos.contextLimit, incremental); in matchAndReplace() 459 if (oText != pos.contextLimit) { in matchAndReplace() 478 pos.contextLimit += lenDelta; in matchAndReplace()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/ |
D | TransliteratorInputMethod.java | 413 index.contextStart = index.contextLimit = index.start = index.limit = 0; in reset() 425 + buffer.substring(index.start, index.contextLimit) + '|' in traceBuffer() 426 + buffer.substring(index.contextLimit) + '\'')); in traceBuffer() 436 off = index.contextLimit - len; // will be negative in update() 437 cc = index.start = index.limit = index.contextLimit = len; in update() 441 off = index.contextLimit - cc; in update() 460 index.contextLimit -= cc; in update() 466 null, 0, TextHitInfo.leading(index.contextLimit), null); in updateCaret() 467 traceBuffer("updateCaret", 0, index.contextLimit); in updateCaret() 471 if (index.contextLimit > index.start) { in caretToStart() [all …]
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
D | AnyTransliterator.java | 108 + ", cl: " + offsets.contextLimit in toString() 155 current.start = current.limit = current.contextLimit = expanse.start; in reset() 164 + ", cl: " + current.contextLimit); in next() 197 current.contextLimit = (i == limit) ? expanse.contextLimit : i; // extend at end in next() 205 + ", cl: " + current.contextLimit); in next() 217 run.contextLimit = current.contextLimit; in set() 242 current.contextLimit += delta; in adjust() 244 expanse.contextLimit += delta; in adjust()
|
D | TransliteratingTextComponent.java | 121 index.contextLimit = buf.length(); in transliterate() 134 + ", cl: " + index.contextLimit in transliterate() 151 + ", cl: " + index.contextLimit in transliterate()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | Transliterator.java | 287 public int contextLimit; field in Transliterator.Position 322 public Position(int contextStart, int contextLimit, int start) { in Position() argument 323 this(contextStart, contextLimit, start, contextLimit); in Position() 331 public Position(int contextStart, int contextLimit, in Position() argument 334 this.contextLimit = contextLimit; in Position() 353 contextLimit = pos.contextLimit; in set() 366 contextLimit == pos.contextLimit && in equals() 393 + ", cl=" + contextLimit in toString() 408 contextLimit < limit || in validate() 409 length < contextLimit) { in validate() [all …]
|
D | CaseFoldTransliterator.java | 75 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 101 offsets.contextLimit += delta; in handleTransliterate()
|
D | UppercaseTransliterator.java | 78 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 104 offsets.contextLimit += delta; in handleTransliterate()
|
D | LowercaseTransliterator.java | 82 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 108 offsets.contextLimit += delta; in handleTransliterate()
|
D | TitlecaseTransliterator.java | 105 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 145 offsets.contextLimit += delta; in handleTransliterate()
|
D | TransliterationRule.java | 447 match = postContext.matches(text, intRef, pos.contextLimit, incremental); in matchAndReplace() 458 if (oText != pos.contextLimit) { in matchAndReplace() 477 pos.contextLimit += lenDelta; in matchAndReplace()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UtilityExtensions.java | 73 pos.limit <= pos.contextLimit && in formatInput() 74 pos.contextLimit <= input.length()) { in formatInput() 80 d = input.substring(pos.limit, pos.contextLimit); in formatInput() 91 pos.limit + ", cl=" + pos.contextLimit + "} on " + in formatInput()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/ |
D | UtilityExtensions.java | 71 pos.limit <= pos.contextLimit && in formatInput() 72 pos.contextLimit <= input.length()) { in formatInput() 78 d = input.substring(pos.limit, pos.contextLimit); in formatInput() 89 pos.limit + ", cl=" + pos.contextLimit + "} on " + in formatInput()
|
/external/icu/icu4c/source/test/intltest/ |
D | trnserr.cpp | 69 pos.contextLimit = 0; in TestTransliteratorErrors() 102 len = pos.contextLimit = testString.length(); in TestTransliteratorErrors() 115 pos.contextLimit = testString.length(); in TestTransliteratorErrors() 128 pos.contextLimit = testString.length() - 1; in TestTransliteratorErrors()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | ErrorTest.java | 75 len = pos.contextLimit = testString.length(); in TestTransliteratorErrors() 88 pos.contextLimit = testString.length(); in TestTransliteratorErrors() 101 pos.contextLimit = testString.length() - 1; in TestTransliteratorErrors()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | ErrorTest.java | 79 len = pos.contextLimit = testString.length(); in TestTransliteratorErrors() 92 pos.contextLimit = testString.length(); in TestTransliteratorErrors() 105 pos.contextLimit = testString.length() - 1; in TestTransliteratorErrors()
|
/external/icu/icu4c/source/i18n/ |
D | titletrn.cpp | 115 csc.limit = offsets.contextLimit; in handleTransliterate() 157 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
|
D | rbt_set.cpp | 53 pos.limit <= pos.contextLimit && in _formatInput() 54 pos.contextLimit <= input.length()) { in _formatInput() 60 input.extractBetween(pos.limit, pos.contextLimit, d); in _formatInput() 61 input.extractBetween(pos.contextLimit, input.length(), e); in _formatInput()
|
D | casetrn.cpp | 147 csc.limit = offsets.contextLimit; in handleTransliterate() 183 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
|