Home
last modified time | relevance | path

Searched refs:contextLimit (Results 1 – 25 of 72) sorted by relevance

123

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DReplaceableContextIterator.java38 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/
DReplaceableContextIterator.java39 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 …]
DTransliterator.java283 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 …]
DCaseFoldTransliterator.java80 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
106 offsets.contextLimit += delta; in handleTransliterate()
DUppercaseTransliterator.java82 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
108 offsets.contextLimit += delta; in handleTransliterate()
DLowercaseTransliterator.java86 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
112 offsets.contextLimit += delta; in handleTransliterate()
DTitlecaseTransliterator.java110 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
150 offsets.contextLimit += delta; in handleTransliterate()
DTransliterationRule.java450 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/
DTransliteratorInputMethod.java415 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/
DAnyTransliterator.java110 + ", 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()
DTransliteratingTextComponent.java123 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/
DTransliterator.java287 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 …]
DCaseFoldTransliterator.java79 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
105 offsets.contextLimit += delta; in handleTransliterate()
DLowercaseTransliterator.java85 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
111 offsets.contextLimit += delta; in handleTransliterate()
DUppercaseTransliterator.java81 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
107 offsets.contextLimit += delta; in handleTransliterate()
DTitlecaseTransliterator.java109 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
149 offsets.contextLimit += delta; in handleTransliterate()
DTransliterationRule.java449 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/
DUtilityExtensions.java75 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/
DUtilityExtensions.java73 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/
Dtrnserr.cpp71 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/
DErrorTest.java83 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/
DErrorTest.java80 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/
Drbt_set.cpp55 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()
Dtitletrn.cpp117 csc.limit = offsets.contextLimit; in handleTransliterate()
159 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
Dcasetrn.cpp147 csc.limit = offsets.contextLimit; in handleTransliterate()
183 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()

123