Lines Matching refs:anteContextLength
74 anteContextLength = 0; in TransliterationRule()
81 anteContextLength = anteContextPos; in TransliterationRule()
84 keyLength = input.length() - anteContextLength; in TransliterationRule()
86 if (postContextPos < anteContextLength || in TransliterationRule()
92 keyLength = postContextPos - anteContextLength; in TransliterationRule()
118 if (anteContextLength > 0) { in TransliterationRule()
119 anteContext = new StringMatcher(pattern, 0, anteContextLength, in TransliterationRule()
130 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
139 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
142 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
168 anteContextLength(other.anteContextLength), in TransliterationRule()
210 return anteContextLength + ((flags & ANCHOR_START) ? 1 : 0); in getContextLength()
220 if (anteContextLength == pattern.length()) { in getIndexValue()
225 UChar32 c = pattern.char32At(anteContextLength); in getIndexValue()
292 int32_t left = anteContextLength; in masks()
293 int32_t left2 = r2.anteContextLength; in masks()
532 int32_t limit = anteContextLength + keyLength; in addSourceSetTo()
533 for (int32_t i=anteContextLength; i<limit; ) { in addSourceSetTo()