Home
last modified time | relevance | path

Searched refs:U16_LENGTH (Results 1 – 25 of 88) sorted by relevance

1234

/external/icu/icu4c/source/i18n/
Dcasetrn.cpp64 csc->index-=U16_LENGTH(c); in utrans_rep_caseContextIterator()
76 csc->index+=U16_LENGTH(c); in utrans_rep_caseContextIterator()
157 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
174 delta=result-U16_LENGTH(c); in handleTransliterate()
178 delta=tmp.length()-U16_LENGTH(c); in handleTransliterate()
Dtitletrn.cpp98 for (start = offsets.start - 1; start >= offsets.contextStart; start -= U16_LENGTH(c)) { in handleTransliterate()
126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
150 delta=result-U16_LENGTH(c); in handleTransliterate()
154 delta=tmp.length()-U16_LENGTH(c); in handleTransliterate()
Dstrrepl.cpp148 int32_t len = U16_LENGTH(text.char32At(start-1)); in replace()
182 oOutput += U16_LENGTH(c); in replace()
214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace()
223 newStart += U16_LENGTH(text.char32At(newStart)); in replace()
298 for (int32_t i=0; i<output.length(); i+=U16_LENGTH(ch)) { in addReplacementSetTo()
321 i += U16_LENGTH(c); in setData()
Dnumber_affixutils.cpp70 offset += U16_LENGTH(cp); in estimateLength()
121 offset += U16_LENGTH(cp); in escape()
195 length += U16_LENGTH(tag.codePoint); in unescapedCodePointCount()
284 int32_t count = U16_LENGTH(cp); in nextToken()
Duitercollationiterator.cpp191 pos += U16_LENGTH(c); in nextCodePoint()
196 pos += U16_LENGTH(c); in nextCodePoint()
244 pos -= U16_LENGTH(c); in previousCodePoint()
249 pos -= U16_LENGTH(c); in previousCodePoint()
Drbt_rule.cpp321 pos - U16_LENGTH(str.char32At(pos-1)) : in posBefore()
327 pos + U16_LENGTH(str.char32At(pos)) : in posAfter()
537 i += U16_LENGTH(ch); in addSourceSetTo()
Dunesctrn.cpp235 s += U16_LENGTH(ch); in handleTransliterate()
279 start += U16_LENGTH(text.char32At(start)); in handleTransliterate()
Dstrmatch.cpp206 for (int32_t i=0; i<pattern.length(); i+=U16_LENGTH(ch)) { in addMatchSetTo()
288 i += U16_LENGTH(c); in setData()
Duni2name.cpp100 int32_t clen = U16_LENGTH(c); in handleTransliterate()
Drbt_set.cpp96 i += U16_LENGTH(ch); in _escape()
422 pos.start += U16_LENGTH(text.char32At(pos.start)); in transliterate()
Dcollationruleparser.cpp312 j += U16_LENGTH(c); in parseStarredCharacters()
356 j = U16_LENGTH(c); in parseStarredCharacters()
409 i += U16_LENGTH(c); in parseString()
433 j += U16_LENGTH(c); in parseString()
Dnortrans.cpp147 start += U16_LENGTH(c); in handleTransliterate()
Dnumber_padding.cpp26 return U16_LENGTH(paddingCp) * requiredPadding; in addPaddingHelper()
Dtranslit.cpp414 newCS -= U16_LENGTH(text.char32At(newCS)) - 1; in _transliterate()
485 index.start += U16_LENGTH(c); in filteredTransliterate()
492 index.limit += U16_LENGTH(c); in filteredTransliterate()
575 int32_t charLength = U16_LENGTH(text.char32At(passLimit)); in filteredTransliterate()
1158 i += U16_LENGTH(c); in toRules()
Dstring_segment.cpp38 fStart += U16_LENGTH(getCodePoint()); in adjustOffsetByCodePoint()
Dname2uni.cpp245 cursor += U16_LENGTH(c); in handleTransliterate()
/external/icu/icu4c/source/common/
Dunifilt.cpp49 offset += U16_LENGTH(c); in matches()
59 offset -= U16_LENGTH(text.char32At(offset)) - 1; in matches()
Dcaniter.cpp213 i = U16_LENGTH(source.char32At(0)); in setSource()
220 for (; i < source.length(); i += U16_LENGTH(cp)) { in setSource()
296 for (i = 0; i < source.length(); i += U16_LENGTH(cp)) { in permute()
314 permute(subPermuteString.remove(i, U16_LENGTH(cp)), skipZeros, &subpermute, status); in permute()
448 for (int32_t i = 0; i < segLen; i += U16_LENGTH(cp)) { in getEquivalents2()
Druleiter.cpp46 _advance(U16_LENGTH(c)); in next()
108 _advance(U16_LENGTH(a)); in skipIgnored()
Dutil.cpp248 index += U16_LENGTH(c); in parsePattern()
260 index += U16_LENGTH(c); in parsePattern()
261 ipat += U16_LENGTH(cpat); in parsePattern()
Dutil_props.cpp166 p += U16_LENGTH(ch); in parseUnicodeIdentifier()
Dnormlzr.cpp272 bufferPos+=U16_LENGTH(c); in next()
287 bufferPos-=U16_LENGTH(c); in previous()
/external/icu/icu4c/source/tools/toolutil/
Duparse.cpp285 if((destLength+U16_LENGTH(value))<=destCapacity) { in u_parseString()
288 destLength+=U16_LENGTH(value); in u_parseString()
/external/icu/icu4c/source/test/intltest/
Dcitrtest.cpp614 i += U16_LENGTH(c); in TestIterationUChar32()
653 i -= U16_LENGTH(c); in TestIterationUChar32()
671 if(iter.getIndex() != U16_LENGTH(c) + i) in TestIterationUChar32()
687 i += U16_LENGTH(c); in TestIterationUChar32()
728 i += U16_LENGTH(c); in TestIterationUChar32()
756 i -= U16_LENGTH(c); in TestIterationUChar32()
/external/icing/icing/util/
Di18n-utils.cc121 int GetUtf16Length(UChar32 c) { return U16_LENGTH(c); } in GetUtf16Length()

1234