Home
last modified time | relevance | path

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

123

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DReplaceableContextIterator.java36 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/
DReplaceableContextIterator.java37 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 …]
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()
354 contextLimit == pos.contextLimit && in equals()
380 + ", cl=" + contextLimit in toString()
394 contextLimit < limit || in validate()
395 length < contextLimit) { in validate()
[all …]
DCaseFoldTransliterator.java76 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
102 offsets.contextLimit += delta; in handleTransliterate()
DUppercaseTransliterator.java79 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
105 offsets.contextLimit += delta; in handleTransliterate()
DLowercaseTransliterator.java83 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
109 offsets.contextLimit += delta; in handleTransliterate()
DTitlecaseTransliterator.java106 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
146 offsets.contextLimit += delta; in handleTransliterate()
DTransliterationRule.java448 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/
DTransliteratorInputMethod.java413 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/
DAnyTransliterator.java108 + ", 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()
DTransliteratingTextComponent.java121 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/
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()
366 contextLimit == pos.contextLimit && in equals()
393 + ", cl=" + contextLimit in toString()
408 contextLimit < limit || in validate()
409 length < contextLimit) { in validate()
[all …]
DCaseFoldTransliterator.java75 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
101 offsets.contextLimit += delta; in handleTransliterate()
DUppercaseTransliterator.java78 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
104 offsets.contextLimit += delta; in handleTransliterate()
DLowercaseTransliterator.java82 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
108 offsets.contextLimit += delta; in handleTransliterate()
DTitlecaseTransliterator.java105 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
145 offsets.contextLimit += delta; in handleTransliterate()
DTransliterationRule.java447 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/
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/icu4j/main/classes/translit/src/com/ibm/icu/impl/
DUtilityExtensions.java71 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/
Dtrnserr.cpp69 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/
DErrorTest.java75 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/
DErrorTest.java79 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/
Dtitletrn.cpp115 csc.limit = offsets.contextLimit; in handleTransliterate()
157 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
Drbt_set.cpp53 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()
Dcasetrn.cpp147 csc.limit = offsets.contextLimit; in handleTransliterate()
183 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()

123