Home
last modified time | relevance | path

Searched refs:contextStart (Results 1 – 25 of 57) 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()
50 cpStart=cpLimit=index=contextStart=0; in setText()
95 public void setContextLimits(int contextStart, int contextLimit) { in setContextLimits() argument
96 if(contextStart<0) { in setContextLimits()
97 this.contextStart=0; in setContextLimits()
98 } else if(contextStart<=rep.length()) { in setContextLimits()
99 this.contextStart=contextStart; in setContextLimits()
101 this.contextStart=rep.length(); in setContextLimits()
103 if(contextLimit<this.contextStart) { in setContextLimits()
104 this.contextLimit=this.contextStart; in setContextLimits()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DReplaceableContextIterator.java39 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; in ReplaceableContextIterator()
51 cpStart=cpLimit=index=contextStart=0; in setText()
96 public void setContextLimits(int contextStart, int contextLimit) { in setContextLimits() argument
97 if(contextStart<0) { in setContextLimits()
98 this.contextStart=0; in setContextLimits()
99 } else if(contextStart<=rep.length()) { in setContextLimits()
100 this.contextStart=contextStart; in setContextLimits()
102 this.contextStart=rep.length(); in setContextLimits()
104 if(contextLimit<this.contextStart) { in setContextLimits()
105 this.contextLimit=this.contextStart; in setContextLimits()
[all …]
DTransliterator.java277 public int contextStart; field in Transliterator.Position
317 public Position(int contextStart, int contextLimit, int start) { in Position() argument
318 this(contextStart, contextLimit, start, contextLimit); in Position()
325 public Position(int contextStart, int contextLimit, in Position() argument
327 this.contextStart = contextStart; in Position()
344 contextStart = pos.contextStart; in set()
357 return contextStart == pos.contextStart && in equals()
383 return "[cs=" + contextStart in toString()
397 if (contextStart < 0 || in validate()
398 start < contextStart || in validate()
[all …]
DTitlecaseTransliterator.java91 … for (start = offsets.start - 1; start >= offsets.contextStart; start -= UTF16.getCharCount(c)) { in handleTransliterate()
110 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DCaseFoldTransliterator.java80 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DUppercaseTransliterator.java82 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DLowercaseTransliterator.java86 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DAnyTransliterator.java107 return "[cs: " + offsets.contextStart in toString()
156 current.contextStart = expanse.contextStart; in reset()
163 System.out.println("+cs: " + current.contextStart in next()
180 current.contextStart = (i == limit) ? expanse.contextStart : i; // extend at start in next()
204 System.out.println("-cs: " + current.contextStart in next()
216 run.contextStart = current.contextStart; in set()
DTransliteratingTextComponent.java124 index.contextStart = 0; in transliterate()
133 + "; {cs: " + index.contextStart in transliterate()
150 + "; {cs: " + index.contextStart in transliterate()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtilityExtensions.java72 if (0 <= pos.contextStart && in formatInput()
73 pos.contextStart <= pos.start && in formatInput()
80 b = input.substring(pos.contextStart, pos.start); in formatInput()
92 pos.contextStart + ", s=" + pos.start + ", l=" + in formatInput()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/
DUtilityExtensions.java70 if (0 <= pos.contextStart && in formatInput()
71 pos.contextStart <= pos.start && in formatInput()
78 b = input.substring(pos.contextStart, pos.start); in formatInput()
90 pos.contextStart + ", s=" + pos.start + ", l=" + in formatInput()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterator.java280 public int contextStart; field in Transliterator.Position
325 public Position(int contextStart, int contextLimit, int start) { in Position() argument
326 this(contextStart, contextLimit, start, contextLimit); in Position()
334 public Position(int contextStart, int contextLimit, in Position() argument
336 this.contextStart = contextStart; in Position()
355 contextStart = pos.contextStart; in set()
369 return contextStart == pos.contextStart && in equals()
396 return "[cs=" + contextStart in toString()
411 if (contextStart < 0 || in validate()
412 start < contextStart || in validate()
[all …]
DTitlecaseTransliterator.java90 … for (start = offsets.start - 1; start >= offsets.contextStart; start -= UTF16.getCharCount(c)) { in handleTransliterate()
109 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DCaseFoldTransliterator.java79 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DLowercaseTransliterator.java85 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DUppercaseTransliterator.java81 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
/external/icu/icu4c/source/test/intltest/
Dtrnserr.cpp72 pos.contextStart = 0; in TestTransliteratorErrors()
105 pos.contextStart = 0; in TestTransliteratorErrors()
116 pos.contextStart = 0; in TestTransliteratorErrors()
129 pos.contextStart = 0; in TestTransliteratorErrors()
Dtransapi.cpp511 index.contextStart = index.contextLimit = index.start = index.limit = 0; in TestKeyboardTransliterator1()
602 index.contextStart=getInt(Data[i+0]); in TestKeyboardTransliterator3()
634 index.contextStart =start; in TestNullTransliterator()
862 index.contextStart=getInt(DATA[i+2]); in keyboardAux()
882 got.extractBetween(0, index.contextStart, a); in displayOutput()
883 got.extractBetween(index.contextStart, index.start, b); in displayOutput()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DErrorTest.java78 pos.contextStart = 0; in TestTransliteratorErrors()
89 pos.contextStart = 0; in TestTransliteratorErrors()
102 pos.contextStart = 0; in TestTransliteratorErrors()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DErrorTest.java77 pos.contextStart = 0; in TestTransliteratorErrors()
88 pos.contextStart = 0; in TestTransliteratorErrors()
101 pos.contextStart = 0; in TestTransliteratorErrors()
/external/icu/icu4c/source/i18n/
Dtitletrn.cpp98 for (start = offsets.start - 1; start >= offsets.contextStart; start -= U16_LENGTH(c)) { in handleTransliterate()
116 csc.start = offsets.contextStart; in handleTransliterate()
Drbt_set.cpp52 if (0 <= pos.contextStart && in _formatInput()
53 pos.contextStart <= pos.start && in _formatInput()
59 input.extractBetween(0, pos.contextStart, a); in _formatInput()
60 input.extractBetween(pos.contextStart, pos.start, b); in _formatInput()
Dcasetrn.cpp148 csc.start = offsets.contextStart; in handleTransliterate()
Dtranslit.cpp114 return !(index.contextStart < 0 || in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
115 index.start < index.contextStart || in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
200 offsets.contextStart= start; in transliterate()
415 index.contextStart = uprv_max(newCS, originalStart); in _transliterate()
/external/icu/icu4c/source/i18n/unicode/
Dutrans.h132 int32_t contextStart; member

123