Home
last modified time | relevance | path

Searched refs:getCharCount (Results 1 – 25 of 101) sorted by relevance

12345

/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringReplacer.java159 int len = UTF16.getCharCount(text.char32At(start-1)); in replace()
185 int nextIndex = oOutput + UTF16.getCharCount(c); in replace()
187 tempExtra = UTF16.getCharCount(text.char32At(limit)); in replace()
241 newStart -= UTF16.getCharCount(text.char32At(newStart-1)); in replace()
250 newStart += UTF16.getCharCount(text.char32At(newStart)); in replace()
327 for (int i=0; i<output.length(); i+=UTF16.getCharCount(ch)) { in addReplacementSetTo()
DBidiWriter.java59 i += UTF16.getCharCount(c); in doWriteForward()
86 i += UTF16.getCharCount(c); in doWriteForward()
148 srcLength -= UTF16.getCharCount(UTF16.charAt(src, in writeReverse()
177 srcLength -= UTF16.getCharCount(c); in writeReverse()
203 srcLength -= UTF16.getCharCount(c); in writeReverse()
208 srcLength -= UTF16.getCharCount(c); in writeReverse()
224 j += UTF16.getCharCount(c); in writeReverse()
DCanonicalIterator.java178 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { in permute()
192 + source.substring(i + UTF16.getCharCount(cp)), skipZeros, subpermute); in permute()
378 decompPos += UTF16.getCharCount(decompCp); // adjust position to skip first char in extract()
382 for (int i = segmentPos; i < segment.length(); i += UTF16.getCharCount(cp)) { in extract()
387 … buf.append(segment.substring(i + UTF16.getCharCount(cp))); // add remaining segment chars in extract()
392 decompPos += UTF16.getCharCount(decompCp); in extract()
DReplaceableContextIterator.java125 cpLimit+=UTF16.getCharCount(c); in nextCaseMapCP()
180 index+=UTF16.getCharCount(c); in next()
188 index-=UTF16.getCharCount(c); in next()
DUnicodeFilter.java39 offset[0] += UTF16.getCharCount(c); in matches()
48 offset[0] -= UTF16.getCharCount(text.char32At(offset[0])) - 1; in matches()
DTransliterationRule.java339 pos - UTF16.getCharCount(str.char32At(pos-1)) : in posBefore()
345 pos + UTF16.getCharCount(str.char32At(pos)) : in posAfter()
569 i += UTF16.getCharCount(ch); in addSourceTargetSet()
DUnescapeTransliterator.java211 s += UTF16.getCharCount(ch); in handleTransliterate()
255 start += UTF16.getCharCount(text.char32At(start)); in handleTransliterate()
DUnicodeNameTransliterator.java64 int clen = UTF16.getCharCount(c); in handleTransliterate()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringReplacer.java158 int len = UTF16.getCharCount(text.char32At(start-1)); in replace()
184 int nextIndex = oOutput + UTF16.getCharCount(c); in replace()
186 tempExtra = UTF16.getCharCount(text.char32At(limit)); in replace()
240 newStart -= UTF16.getCharCount(text.char32At(newStart-1)); in replace()
249 newStart += UTF16.getCharCount(text.char32At(newStart)); in replace()
326 for (int i=0; i<output.length(); i+=UTF16.getCharCount(ch)) { in addReplacementSetTo()
DTransliterationRule.java338 pos - UTF16.getCharCount(str.char32At(pos-1)) : in posBefore()
344 pos + UTF16.getCharCount(str.char32At(pos)) : in posAfter()
568 i += UTF16.getCharCount(ch); in addSourceTargetSet()
DUnescapeTransliterator.java210 s += UTF16.getCharCount(ch); in handleTransliterate()
254 start += UTF16.getCharCount(text.char32At(start)); in handleTransliterate()
DUnicodeNameTransliterator.java63 int clen = UTF16.getCharCount(c); in handleTransliterate()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiWriter.java58 i += UTF16.getCharCount(c); in doWriteForward()
85 i += UTF16.getCharCount(c); in doWriteForward()
147 srcLength -= UTF16.getCharCount(UTF16.charAt(src, in writeReverse()
176 srcLength -= UTF16.getCharCount(c); in writeReverse()
202 srcLength -= UTF16.getCharCount(c); in writeReverse()
207 srcLength -= UTF16.getCharCount(c); in writeReverse()
223 j += UTF16.getCharCount(c); in writeReverse()
DCanonicalIterator.java182 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { in permute()
196 + source.substring(i + UTF16.getCharCount(cp)), skipZeros, subpermute); in permute()
382 decompPos += UTF16.getCharCount(decompCp); // adjust position to skip first char in extract()
386 for (int i = segmentPos; i < segment.length(); i += UTF16.getCharCount(cp)) { in extract()
391 … buf.append(segment.substring(i + UTF16.getCharCount(cp))); // add remaining segment chars in extract()
396 decompPos += UTF16.getCharCount(decompCp); in extract()
DReplaceableContextIterator.java124 cpLimit+=UTF16.getCharCount(c); in nextCaseMapCP()
179 index+=UTF16.getCharCount(c); in next()
187 index-=UTF16.getCharCount(c); in next()
DUnicodeFilter.java45 offset[0] += UTF16.getCharCount(c); in matches()
54 offset[0] -= UTF16.getCharCount(text.char32At(offset[0])) - 1; in matches()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPatternTokenizer.java168 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { in quoteLiteral()
266 for (int i = start; i < limit; i += UTF16.getCharCount(cp)) { in next()
350 start = i + UTF16.getCharCount(cp); in next()
DRuleCharacterIterator.java136 _advance(UTF16.getCharCount(c)); in next()
254 _advance(UTF16.getCharCount(a)); in skipIgnored()
DUtility.java755 i += UTF16.getCharCount(c); in escape()
815 offset += UTF16.getCharCount(c); in unescapeAt()
854 offset += UTF16.getCharCount(c); in unescapeAt()
904 offset16[0] = offset + UTF16.getCharCount(c); in unescapeAt()
1009 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) {
1238 index += UTF16.getCharCount(c);
1250 int n = UTF16.getCharCount(c);
1348 p += UTF16.getCharCount(ch);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPatternTokenizer.java170 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { in quoteLiteral()
268 for (int i = start; i < limit; i += UTF16.getCharCount(cp)) { in next()
352 start = i + UTF16.getCharCount(cp); in next()
DRuleCharacterIterator.java137 _advance(UTF16.getCharCount(c)); in next()
255 _advance(UTF16.getCharCount(a)); in skipIgnored()
DUtility.java759 i += UTF16.getCharCount(c); in escape()
819 offset += UTF16.getCharCount(c); in unescapeAt()
858 offset += UTF16.getCharCount(c); in unescapeAt()
908 offset16[0] = offset + UTF16.getCharCount(c); in unescapeAt()
1013 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) {
1242 index += UTF16.getCharCount(c);
1254 int n = UTF16.getCharCount(c);
1352 p += UTF16.getCharCount(ch);
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DUnicodeSetClosure.java294 for (int i = 0; i < str.length(); i += UTF16.getCharCount(cp)) { in addAll()
302 for (int i = 0; i < str.length(); i += UTF16.getCharCount(cp)) { in containsSome()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTestUtility.java58 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { in replaceAll()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTestUtility.java57 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { in replaceAll()

12345