Home
last modified time | relevance | path

Searched refs:anteContextLength (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DTransliterationRule.java101 private int anteContextLength; field in TransliterationRule
166 anteContextLength = 0; in TransliterationRule()
171 anteContextLength = anteContextPos; in TransliterationRule()
174 keyLength = input.length() - anteContextLength; in TransliterationRule()
176 if (postContextPos < anteContextLength || in TransliterationRule()
180 keyLength = postContextPos - anteContextLength; in TransliterationRule()
204 if (anteContextLength > 0) { in TransliterationRule()
205 anteContext = new StringMatcher(pattern.substring(0, anteContextLength), in TransliterationRule()
211 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
215 int postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
[all …]
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterationRule.java100 private int anteContextLength; field in TransliterationRule
165 anteContextLength = 0; in TransliterationRule()
170 anteContextLength = anteContextPos; in TransliterationRule()
173 keyLength = input.length() - anteContextLength; in TransliterationRule()
175 if (postContextPos < anteContextLength || in TransliterationRule()
179 keyLength = postContextPos - anteContextLength; in TransliterationRule()
203 if (anteContextLength > 0) { in TransliterationRule()
204 anteContext = new StringMatcher(pattern.substring(0, anteContextLength), in TransliterationRule()
210 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
214 int postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
[all …]
/external/icu/icu4c/source/i18n/
Drbt_rule.cpp76 anteContextLength = 0; in TransliterationRule()
83 anteContextLength = anteContextPos; in TransliterationRule()
86 keyLength = input.length() - anteContextLength; in TransliterationRule()
88 if (postContextPos < anteContextLength || in TransliterationRule()
94 keyLength = postContextPos - anteContextLength; in TransliterationRule()
120 if (anteContextLength > 0) { in TransliterationRule()
121 anteContext = new StringMatcher(pattern, 0, anteContextLength, in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
141 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
[all …]
Drbt_rule.h120 int32_t anteContextLength; variable