Home
last modified time | relevance | path

Searched refs:contextStart (Results 1 – 25 of 26) 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/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()
DAnyTransliterator.java82 new ScriptRunIterator(text, pos.contextStart, pos.contextLimit); in handleTransliterate()
DTransliterationRule.java401 int anteLimit = posBefore(text, pos.contextStart); in matchAndReplace()
/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()
Dtranstst.cpp551 s.extractBetween(0, index.contextStart, a); in keyboardAux()
552 s.extractBetween(index.contextStart, index.start, b); in keyboardAux()
1054 pos.contextStart= POS[4*i]; in TestPositionHandling()
3599 pos.contextStart = 0; in CheckIncrementalAux()
4798 if (0 <= pos.contextStart && in formatInput()
4799 pos.contextStart <= pos.start && in formatInput()
4805 input.extractBetween(0, pos.contextStart, a); in formatInput()
4806 input.extractBetween(pos.contextStart, pos.start, b); in formatInput()
4815 pos.contextStart + ", s=" + pos.start + ", l=" + in formatInput()
Dcpdtrtst.cpp419 index.contextStart =0; in expect()
/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()
DTransliteratorTest.java4015 index = new Transliterator.Position(pos.contextStart, pos.contextLimit, in expect()
4036 index = new Transliterator.Position(pos.contextStart, pos.contextLimit, in expect()
/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()
Danytrans.cpp235 ScriptRunIterator it(text, pos.contextStart, pos.contextLimit); in handleTransliterate()
Drbt_rule.cpp385 int32_t anteLimit = posBefore(text, pos.contextStart); in matchAndReplace()
/external/icu/icu4c/source/i18n/unicode/
Dutrans.h130 int32_t contextStart; member
/external/icu/icu4c/source/test/cintltst/
Dutransts.c714 pos.start = pos.contextStart = 0; in _expect()
759 pos.start = pos.contextStart = 0; in _expect()
/external/icu/icu4c/source/io/
Dustdio.c186 pos.contextStart = 0; in u_file_translit()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12