Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/node/deps/icu-small/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.cpp2234 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2249 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2250 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2266 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2748 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2764 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2765 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2771 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3367 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
3382 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
[all …]
/third_party/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.cpp2234 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2249 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2250 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2266 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2748 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2764 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2765 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2771 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3367 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
3382 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
[all …]
/third_party/skia/third_party/externals/icu/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.cpp2166 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2181 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2182 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2193 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2675 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2691 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2692 if (leadIsOk && trailIsOk) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2698 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) { in UConverter_toUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3294 int leadIsOk, trailIsOk; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
3309 trailIsOk = (uint8_t)(trailByte - 0x21) <= (0x7e - 0x21); in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
[all …]
/third_party/skia/third_party/externals/icu/patches/
Diso2022jp.patch111 if (leadIsOk && trailIsOk) {
133 } else if (!(trailIsOk || IS_2022_CONTROL(trailByte))) {