/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | ReplaceableContextIterator.java | 38 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; in ReplaceableContextIterator() 49 limit=contextLimit=rep.length(); in setText() 95 public void setContextLimits(int contextStart, int contextLimit) { in setContextLimits() argument 103 if(contextLimit<this.contextStart) { in setContextLimits() 104 this.contextLimit=this.contextStart; in setContextLimits() 105 } else if(contextLimit<=rep.length()) { in setContextLimits() 106 this.contextLimit=contextLimit; in setContextLimits() 108 this.contextLimit=rep.length(); in setContextLimits() 143 contextLimit+=delta; in replace() 177 if(index<contextLimit) { in next() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ReplaceableContextIterator.java | 39 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; in ReplaceableContextIterator() 50 limit=contextLimit=rep.length(); in setText() 96 public void setContextLimits(int contextStart, int contextLimit) { in setContextLimits() argument 104 if(contextLimit<this.contextStart) { in setContextLimits() 105 this.contextLimit=this.contextStart; in setContextLimits() 106 } else if(contextLimit<=rep.length()) { in setContextLimits() 107 this.contextLimit=contextLimit; in setContextLimits() 109 this.contextLimit=rep.length(); in setContextLimits() 144 contextLimit+=delta; in replace() 178 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() 355 contextLimit == pos.contextLimit && in equals() 383 + ", cl=" + contextLimit in toString() 397 contextLimit < limit || in validate() 398 length < contextLimit) { in validate() [all …]
|
D | CaseFoldTransliterator.java | 80 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 106 offsets.contextLimit += delta; in handleTransliterate()
|
D | UppercaseTransliterator.java | 82 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 108 offsets.contextLimit += delta; in handleTransliterate()
|
D | LowercaseTransliterator.java | 86 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 112 offsets.contextLimit += delta; in handleTransliterate()
|
D | TitlecaseTransliterator.java | 110 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 150 offsets.contextLimit += delta; in handleTransliterate()
|
D | TransliterationRule.java | 450 match = postContext.matches(text, intRef, pos.contextLimit, incremental); in matchAndReplace() 461 if (oText != pos.contextLimit) { in matchAndReplace() 480 pos.contextLimit += lenDelta; in matchAndReplace()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/ |
D | TransliteratorInputMethod.java | 415 index.contextStart = index.contextLimit = index.start = index.limit = 0; in reset() 427 + buffer.substring(index.start, index.contextLimit) + '|' in traceBuffer() 428 + buffer.substring(index.contextLimit) + '\'')); in traceBuffer() 438 off = index.contextLimit - len; // will be negative in update() 439 cc = index.start = index.limit = index.contextLimit = len; in update() 443 off = index.contextLimit - cc; in update() 462 index.contextLimit -= cc; in update() 468 null, 0, TextHitInfo.leading(index.contextLimit), null); in updateCaret() 469 traceBuffer("updateCaret", 0, index.contextLimit); in updateCaret() 473 if (index.contextLimit > index.start) { in caretToStart() [all …]
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
D | AnyTransliterator.java | 110 + ", cl: " + offsets.contextLimit in toString() 157 current.start = current.limit = current.contextLimit = expanse.start; in reset() 166 + ", cl: " + current.contextLimit); in next() 199 current.contextLimit = (i == limit) ? expanse.contextLimit : i; // extend at end in next() 207 + ", cl: " + current.contextLimit); in next() 219 run.contextLimit = current.contextLimit; in set() 244 current.contextLimit += delta; in adjust() 246 expanse.contextLimit += delta; in adjust()
|
D | TransliteratingTextComponent.java | 123 index.contextLimit = buf.length(); in transliterate() 136 + ", cl: " + index.contextLimit in transliterate() 153 + ", 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() 367 contextLimit == pos.contextLimit && in equals() 396 + ", cl=" + contextLimit in toString() 411 contextLimit < limit || in validate() 412 length < contextLimit) { in validate() [all …]
|
D | CaseFoldTransliterator.java | 79 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 105 offsets.contextLimit += delta; in handleTransliterate()
|
D | LowercaseTransliterator.java | 85 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 111 offsets.contextLimit += delta; in handleTransliterate()
|
D | UppercaseTransliterator.java | 81 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 107 offsets.contextLimit += delta; in handleTransliterate()
|
D | TitlecaseTransliterator.java | 109 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 149 offsets.contextLimit += delta; in handleTransliterate()
|
D | TransliterationRule.java | 449 match = postContext.matches(text, intRef, pos.contextLimit, incremental); in matchAndReplace() 460 if (oText != pos.contextLimit) { in matchAndReplace() 479 pos.contextLimit += lenDelta; in matchAndReplace()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UtilityExtensions.java | 75 pos.limit <= pos.contextLimit && in formatInput() 76 pos.contextLimit <= input.length()) { in formatInput() 82 d = input.substring(pos.limit, pos.contextLimit); in formatInput() 93 pos.limit + ", cl=" + pos.contextLimit + "} on " + in formatInput()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/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/icu4c/source/test/intltest/ |
D | trnserr.cpp | 71 pos.contextLimit = 0; in TestTransliteratorErrors() 104 len = pos.contextLimit = testString.length(); in TestTransliteratorErrors() 117 pos.contextLimit = testString.length(); in TestTransliteratorErrors() 130 pos.contextLimit = testString.length() - 1; in TestTransliteratorErrors()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | ErrorTest.java | 83 len = pos.contextLimit = testString.length(); in TestTransliteratorErrors() 96 pos.contextLimit = testString.length(); in TestTransliteratorErrors() 109 pos.contextLimit = testString.length() - 1; in TestTransliteratorErrors()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | ErrorTest.java | 80 len = pos.contextLimit = testString.length(); in TestTransliteratorErrors() 93 pos.contextLimit = testString.length(); in TestTransliteratorErrors() 106 pos.contextLimit = testString.length() - 1; in TestTransliteratorErrors()
|
/external/icu/icu4c/source/i18n/ |
D | rbt_set.cpp | 55 pos.limit <= pos.contextLimit && in _formatInput() 56 pos.contextLimit <= input.length()) { in _formatInput() 62 input.extractBetween(pos.limit, pos.contextLimit, d); in _formatInput() 63 input.extractBetween(pos.contextLimit, input.length(), e); in _formatInput()
|
D | titletrn.cpp | 117 csc.limit = offsets.contextLimit; in handleTransliterate() 159 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
|
D | casetrn.cpp | 147 csc.limit = offsets.contextLimit; in handleTransliterate() 183 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
|