Home
last modified time | relevance | path

Searched refs:cursorPos (Results 1 – 6 of 6) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringReplacer.java37 private int cursorPos; field in StringReplacer
74 cursorPos = theCursorPos; in StringReplacer()
92 cursorPos = 0; in StringReplacer()
132 newStart = cursorPos; in replace()
170 if (oOutput == cursorPos) { in replace()
216 if (oOutput == cursorPos) { in replace()
236 if (cursorPos < 0) { in replace()
238 int n = cursorPos; in replace()
245 } else if (cursorPos > output.length()) { in replace()
247 int n = cursorPos - output.length(); in replace()
[all …]
DTransliterationRule.java158 int cursorPos, int cursorOffset, in TransliterationRule() argument
182 if (cursorPos < 0) { in TransliterationRule()
183 cursorPos = output.length(); in TransliterationRule()
184 } else if (cursorPos > output.length()) { in TransliterationRule()
222 this.output = new StringReplacer(output, cursorPos + cursorOffset, data); in TransliterationRule()
/external/icu/icu4c/source/i18n/
Dstrrepl.cpp43 cursorPos = theCursorPos; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
61 cursorPos = 0; in StringReplacer()
75 cursorPos = other.cursorPos; in StringReplacer()
121 newStart = cursorPos; in replace()
159 if (oOutput == cursorPos) { in replace()
189 if (oOutput == cursorPos) { in replace()
209 if (cursorPos < 0) { in replace()
211 int32_t n = cursorPos; in replace()
218 } else if (cursorPos > output.length()) { in replace()
220 int32_t n = cursorPos - output.length(); in replace()
[all …]
Dstrrepl.h50 int32_t cursorPos; variable
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringReplacer.java36 private int cursorPos; field in StringReplacer
73 cursorPos = theCursorPos; in StringReplacer()
91 cursorPos = 0; in StringReplacer()
131 newStart = cursorPos; in replace()
169 if (oOutput == cursorPos) { in replace()
215 if (oOutput == cursorPos) { in replace()
235 if (cursorPos < 0) { in replace()
237 int n = cursorPos; in replace()
244 } else if (cursorPos > output.length()) { in replace()
246 int n = cursorPos - output.length(); in replace()
[all …]
DTransliterationRule.java157 int cursorPos, int cursorOffset, in TransliterationRule() argument
181 if (cursorPos < 0) { in TransliterationRule()
182 cursorPos = output.length(); in TransliterationRule()
183 } else if (cursorPos > output.length()) { in TransliterationRule()
221 this.output = new StringReplacer(output, cursorPos + cursorOffset, data); in TransliterationRule()