Home
last modified time | relevance | path

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

12

/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/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()
DRemoveTransliterator.java49 index.contextLimit -= len; in handleTransliterate()
DUnicodeNameTransliterator.java69 offsets.contextLimit += limit - offsets.limit; in handleTransliterate()
DNameUnicodeTransliterator.java162 offsets.contextLimit += limit - offsets.limit; in handleTransliterate()
/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()
Dtransapi.cpp508 index.contextStart = index.contextLimit = index.start = index.limit = 0; in TestKeyboardTransliterator1()
600 index.contextLimit=index.limit=getInt(Data[i+1]); in TestKeyboardTransliterator3()
632 index.contextLimit = limit; in TestNullTransliterator()
860 index.contextLimit=index.limit=getInt(DATA[i+3]); in keyboardAux()
882 got.extractBetween(index.limit, index.contextLimit, d); in displayOutput()
883 got.extractBetween(index.contextLimit, got.length(), e); in displayOutput()
/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/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()
Drbt_rule.cpp429 match = postContext->matches(text, oText, pos.contextLimit, incremental); in matchAndReplace()
438 if (oText != pos.contextLimit) { in matchAndReplace()
457 pos.contextLimit += lenDelta; in matchAndReplace()
Dremtrans.cpp64 index.contextLimit -= len; in handleTransliterate()
Duni2name.cpp112 offsets.contextLimit += limit - offsets.limit; in handleTransliterate()
Dtranslit.cpp115 index.contextLimit < index.limit || in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
116 len < index.contextLimit); in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
199 offsets.contextLimit = limit; in transliterate()
368 index.contextLimit += insertion->length(); in _transliterate()
606 index.contextLimit -= delta; in filteredTransliterate()
Dbrktrans.cpp131 offsets.contextLimit += delta; in handleTransliterate()
Dnortrans.cpp170 offsets.contextLimit += limit - offsets.limit; in handleTransliterate()
Dname2uni.cpp245 offsets.contextLimit += limit - offsets.limit; in handleTransliterate()
/external/icu/icu4c/source/i18n/unicode/
Dutrans.h140 int32_t contextLimit; member

12