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.java143 boolean leadIsOk, trailIsOk; in decodeLoop()
157trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (mySourceChar - 0x21)) <= (0x7e - 0x2… in decodeLoop()
158 if (leadIsOk && trailIsOk) { in decodeLoop()
163 } else if (trailIsOk) { in decodeLoop()
DCharsetISO2022.java1006 boolean leadIsOk, trailIsOk; in decodeLoop()
1020trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (trailByte - 0x21)) <= (0x7e - 0x21); in decodeLoop()
1021 if (leadIsOk && trailIsOk) { in decodeLoop()
1037 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in decodeLoop()
1205 boolean leadIsOk, trailIsOk; in decodeLoop()
1222trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (trailByte - 0x21)) <= (0x7e - 0x21); in decodeLoop()
1223 if (leadIsOk && trailIsOk) { in decodeLoop()
1243 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in decodeLoop()
1378 boolean leadIsOk, trailIsOk; in decodeLoop()
1396trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (trailByte - 0x21)) <= (0x7e - 0x21); in decodeLoop()
[all …]
/external/icu/icu4c/source/common/
Ducnvhz.c251 int leadIsOk, trailIsOk; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
265 trailIsOk = (uint8_t)(mySourceChar - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
266 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
272 } else if (trailIsOk) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv2022.cpp2252 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2267 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2268 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2284 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2766 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2782 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2783 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2789 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3386 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
3401 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
[all …]