Home
last modified time | relevance | path

Searched refs:secondByte (Results 1 – 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_mbcs.java214 int secondByte = it.nextByte(det); in nextChar() local
215 if (secondByte < 0) { in nextChar()
218 it.charValue = (firstByte << 8) | secondByte; in nextChar()
219 … if (! ((secondByte>=0x40 && secondByte<=0x7f) || (secondByte>=0x80 && secondByte<=0xff))) { in nextChar()
281 int secondByte = it.nextByte(det); in nextChar() local
282 if (secondByte < 0) { in nextChar()
285 it.charValue = (it.charValue << 8) | secondByte; in nextChar()
287 if (secondByte < 0x40 || in nextChar()
288 secondByte ==0x7f || in nextChar()
289 secondByte == 0xff) { in nextChar()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_mbcs.java213 int secondByte = it.nextByte(det); in nextChar() local
214 if (secondByte < 0) { in nextChar()
217 it.charValue = (firstByte << 8) | secondByte; in nextChar()
218 … if (! ((secondByte>=0x40 && secondByte<=0x7f) || (secondByte>=0x80 && secondByte<=0xff))) { in nextChar()
280 int secondByte = it.nextByte(det); in nextChar() local
281 if (secondByte < 0) { in nextChar()
284 it.charValue = (it.charValue << 8) | secondByte; in nextChar()
286 if (secondByte < 0x40 || in nextChar()
287 secondByte ==0x7f || in nextChar()
288 secondByte == 0xff) { in nextChar()
[all …]
/external/icu/icu4c/source/i18n/
Dcsrmbcs.cpp258 int32_t secondByte = it->nextByte(det); in nextChar() local
259 if (secondByte >= 0) { in nextChar()
260 it->charValue = (firstByte << 8) | secondByte; in nextChar()
264 …if (! ((secondByte >= 0x40 && secondByte <= 0x7F) || (secondByte >= 0x80 && secondByte <= 0xFE))) { in nextChar()
295 int32_t secondByte = 0; in nextChar() local
312 secondByte = it->nextByte(det); in nextChar()
313 if (secondByte >= 0) { in nextChar()
314 it->charValue = (it->charValue << 8) | secondByte; in nextChar()
320 if (secondByte < 0xA1) { in nextChar()
334 if (secondByte < 0xA1) { in nextChar()
[all …]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/
DBIG5Tool.java305 int secondByte = 0; in nextChar() local
321 secondByte = it.nextByte(); in nextChar()
322 it.charValue = (it.charValue << 8) | secondByte; in nextChar()
324 if (secondByte < 0x40 || in nextChar()
325 secondByte == 0x007f || in nextChar()
326 secondByte == 0x00ff || in nextChar()
327 sjis && secondByte >= 0x00fd) { in nextChar()
332 …tem.out.println("Error " + Integer.toHexString(firstByte) + " " + Integer.toHexString(secondByte)); in nextChar()
DEUCTool.java305 int secondByte = 0; in nextChar() local
321 secondByte = it.nextByte(); in nextChar()
322 it.charValue = (it.charValue << 8) | secondByte; in nextChar()
326 if (secondByte < 0xa1) { in nextChar()
338 if (secondByte < 0xa1) { in nextChar()
356 …ystem.out.println("Error " + Integer.toHexString(firstByte) + " " + Integer.toHexString(secondByte) in nextChar()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/z/
DZCompressorInputStream.java45 final int secondByte = (int) in.readBits(8); in ZCompressorInputStream() local
47 if (firstByte != MAGIC_1 || secondByte != MAGIC_2 || thirdByte < 0) { in ZCompressorInputStream()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_m_a_p.py495 secondByte = charCode & 0x00FF
512 subHeader.firstCode = secondByte
520 codeDiff = secondByte - (subHeader.firstCode + subHeader.entryCount)
DE_B_D_T_.py578 secondByte = (curByte >> numBitsCut) & ((1<<8-numBitsCut)-1)
579 ordDataList[secondByteLoc] |= secondByte