Home
last modified time | relevance | path

Searched refs:isCESU8 (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF8.java41 private final boolean isCESU8 = this instanceof CharsetCESU8; field in CharsetUTF8
104 … && !(isCESU8 && bytesSoFar == 1 && char32 == 0xd && UTF8.isTrail(ch))) { in decodeLoop()
112 } else if (bytesSoFar == bytesExpected && (!isCESU8 || bytesSoFar <= 3)) { in decodeLoop()
226 … && !(isCESU8 && bytesSoFar == 1 && char32 == 0xd && UTF8.isTrail(ch))) { in decodeLoop()
234 } else if (bytesSoFar == bytesExpected && (!isCESU8 || bytesSoFar <= 3)) { in decodeLoop()
400 } else if (!UTF16.isSurrogate((char) char32) || isCESU8) { in encodeLoop()
484 } else if (!UTF16.isSurrogate((char) char32) || isCESU8) { in encodeLoop()
/external/icu/icu4c/source/common/
Ducnv_u8.cpp74 UBool isCESU8 = hasCESU8Data(cnv); in ucnv_toUnicode_UTF8() local
112 !(isCESU8 && i == 1 && ch == 0xed && U8_IS_TRAIL(ch2))) in ucnv_toUnicode_UTF8()
131 if (i == inBytes && (!isCESU8 || i <= 3)) in ucnv_toUnicode_UTF8()
192 UBool isCESU8 = hasCESU8Data(cnv); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
229 !(isCESU8 && i == 1 && ch == 0xed && U8_IS_TRAIL(ch2))) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
247 if (i == inBytes && (!isCESU8 || i <= 3)) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()