Home
last modified time | relevance | path

Searched refs:trailIsOk (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetHZ.java151 boolean leadIsOk, trailIsOk; in decodeLoop()
165trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (mySourceChar - 0x21)) <= (0x7e - 0x2… in decodeLoop()
166 if (leadIsOk && trailIsOk) { in decodeLoop()
171 } else if (trailIsOk) { in decodeLoop()
DCharsetISO2022.java1007 boolean leadIsOk, trailIsOk; in decodeLoop()
1021trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (trailByte - 0x21)) <= (0x7e - 0x21); in decodeLoop()
1022 if (leadIsOk && trailIsOk) { in decodeLoop()
1038 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in decodeLoop()
1208 boolean leadIsOk, trailIsOk; in decodeLoop()
1225trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (trailByte - 0x21)) <= (0x7e - 0x21); in decodeLoop()
1226 if (leadIsOk && trailIsOk) { in decodeLoop()
1246 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in decodeLoop()
1383 boolean leadIsOk, trailIsOk; in decodeLoop()
1401trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (trailByte - 0x21)) <= (0x7e - 0x21); in decodeLoop()
[all …]
/external/icu/icu4c/source/common/
Ducnvhz.cpp253 int leadIsOk, trailIsOk; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
267 trailIsOk = (uint8_t)(mySourceChar - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
268 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
274 } else if (trailIsOk) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv2022.cpp2240 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2255 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2256 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2272 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2754 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2770 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2771 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2777 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3373 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
3388 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
[all …]