Home
last modified time | relevance | path

Searched refs:contextStart (Results 1 – 25 of 47) 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()
48 cpStart=cpLimit=index=contextStart=0; in setText()
93 public void setContextLimits(int contextStart, int contextLimit) { in setContextLimits() argument
94 if(contextStart<0) { in setContextLimits()
95 this.contextStart=0; in setContextLimits()
96 } else if(contextStart<=rep.length()) { in setContextLimits()
97 this.contextStart=contextStart; in setContextLimits()
99 this.contextStart=rep.length(); in setContextLimits()
101 if(contextLimit<this.contextStart) { in setContextLimits()
102 this.contextLimit=this.contextStart; in setContextLimits()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DReplaceableContextIterator.java37 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; in ReplaceableContextIterator()
49 cpStart=cpLimit=index=contextStart=0; in setText()
94 public void setContextLimits(int contextStart, int contextLimit) { in setContextLimits() argument
95 if(contextStart<0) { in setContextLimits()
96 this.contextStart=0; in setContextLimits()
97 } else if(contextStart<=rep.length()) { in setContextLimits()
98 this.contextStart=contextStart; in setContextLimits()
100 this.contextStart=rep.length(); in setContextLimits()
102 if(contextLimit<this.contextStart) { in setContextLimits()
103 this.contextLimit=this.contextStart; in setContextLimits()
[all …]
DTransliterator.java274 public int contextStart; 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
324 this.contextStart = contextStart; in Position()
341 contextStart = pos.contextStart; in set()
353 return contextStart == pos.contextStart && in equals()
377 return "[cs=" + contextStart in toString()
391 if (contextStart < 0 || in validate()
392 start < contextStart || in validate()
[all …]
DTitlecaseTransliterator.java87 … for (start = offsets.start - 1; start >= offsets.contextStart; start -= UTF16.getCharCount(c)) { in handleTransliterate()
106 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DCaseFoldTransliterator.java76 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DUppercaseTransliterator.java79 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DLowercaseTransliterator.java83 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DAnyTransliterator.java105 return "[cs: " + offsets.contextStart in toString()
154 current.contextStart = expanse.contextStart; in reset()
161 System.out.println("+cs: " + current.contextStart in next()
178 current.contextStart = (i == limit) ? expanse.contextStart : i; // extend at start in next()
202 System.out.println("-cs: " + current.contextStart in next()
214 run.contextStart = current.contextStart; in set()
DTransliteratingTextComponent.java122 index.contextStart = 0; in transliterate()
131 + "; {cs: " + index.contextStart in transliterate()
148 + "; {cs: " + index.contextStart in transliterate()
/external/icu/android_icu4j/src/main/java/android/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/impl/
DUtilityExtensions.java68 if (0 <= pos.contextStart && in formatInput()
69 pos.contextStart <= pos.start && in formatInput()
76 b = input.substring(pos.contextStart, pos.start); in formatInput()
88 pos.contextStart + ", s=" + pos.start + ", l=" + in formatInput()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterator.java277 public int contextStart; 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
333 this.contextStart = contextStart; in Position()
352 contextStart = pos.contextStart; in set()
365 return contextStart == pos.contextStart && in equals()
390 return "[cs=" + contextStart in toString()
405 if (contextStart < 0 || in validate()
406 start < contextStart || in validate()
[all …]
DTitlecaseTransliterator.java86 … for (start = offsets.start - 1; start >= offsets.contextStart; start -= UTF16.getCharCount(c)) { in handleTransliterate()
105 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DCaseFoldTransliterator.java75 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DUppercaseTransliterator.java78 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
DLowercaseTransliterator.java82 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate()
/external/icu/icu4c/source/test/intltest/
Dtrnserr.cpp70 pos.contextStart = 0; in TestTransliteratorErrors()
103 pos.contextStart = 0; in TestTransliteratorErrors()
114 pos.contextStart = 0; in TestTransliteratorErrors()
127 pos.contextStart = 0; in TestTransliteratorErrors()
Dtransapi.cpp508 index.contextStart = index.contextLimit = index.start = index.limit = 0; in TestKeyboardTransliterator1()
599 index.contextStart=getInt(Data[i+0]); in TestKeyboardTransliterator3()
631 index.contextStart =start; in TestNullTransliterator()
859 index.contextStart=getInt(DATA[i+2]); in keyboardAux()
879 got.extractBetween(0, index.contextStart, a); in displayOutput()
880 got.extractBetween(index.contextStart, index.start, b); in displayOutput()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DErrorTest.java76 pos.contextStart = 0; in TestTransliteratorErrors()
87 pos.contextStart = 0; in TestTransliteratorErrors()
100 pos.contextStart = 0; in TestTransliteratorErrors()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DErrorTest.java80 pos.contextStart = 0; in TestTransliteratorErrors()
91 pos.contextStart = 0; in TestTransliteratorErrors()
104 pos.contextStart = 0; in TestTransliteratorErrors()
/external/icu/icu4c/source/i18n/
Dtitletrn.cpp96 for (start = offsets.start - 1; start >= offsets.contextStart; start -= U16_LENGTH(c)) { in handleTransliterate()
114 csc.start = offsets.contextStart; in handleTransliterate()
Drbt_set.cpp50 if (0 <= pos.contextStart && in _formatInput()
51 pos.contextStart <= pos.start && in _formatInput()
57 input.extractBetween(0, pos.contextStart, a); in _formatInput()
58 input.extractBetween(pos.contextStart, pos.start, b); in _formatInput()
Dcasetrn.cpp146 csc.start = offsets.contextStart; in handleTransliterate()
Dtranslit.cpp112 return !(index.contextStart < 0 || in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
113 index.start < index.contextStart || in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION()
198 offsets.contextStart= start; in transliterate()
413 index.contextStart = uprv_max(newCS, originalStart); in _transliterate()
/external/icu/icu4c/source/i18n/unicode/
Dutrans.h130 int32_t contextStart; member

12