Searched refs:firstByte (Results 1 - 25 of 49) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DCharsetRecog_mbcs.java204 int firstByte;
205 firstByte = it.charValue = it.nextByte(det);
206 if (firstByte < 0) {
210 if (firstByte <= 0x7f || (firstByte>0xa0 && firstByte<=0xdf)) {
218 it.charValue = (firstByte << 8) | secondByte;
270 int firstByte;
271 firstByte = it.charValue = it.nextByte(det);
272 if (firstByte <
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetRecog_mbcs.java203 int firstByte;
204 firstByte = it.charValue = it.nextByte(det);
205 if (firstByte < 0) {
209 if (firstByte <= 0x7f || (firstByte>0xa0 && firstByte<=0xdf)) {
217 it.charValue = (firstByte << 8) | secondByte;
269 int firstByte;
270 firstByte = it.charValue = it.nextByte(det);
271 if (firstByte <
[all...]
/external/icu/icu4c/source/i18n/
H A Dcsrmbcs.cpp248 int32_t firstByte = it->charValue = it->nextByte(det); local
250 if (firstByte < 0) {
254 if (firstByte <= 0x7F || (firstByte > 0xA0 && firstByte <= 0xDF)) {
260 it->charValue = (firstByte << 8) | secondByte;
294 int32_t firstByte = 0; local
300 firstByte = it->charValue = it->nextByte(det);
302 if (firstByte < 0) {
307 if (firstByte <
408 int32_t firstByte; local
459 int32_t firstByte = 0; local
[all...]
H A Dcollationiterator.cpp761 int32_t firstByte = 2; local
765 uint32_t primary = numericPrimary | ((firstByte + value) << 16);
770 firstByte += numBytes;
775 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8);
780 firstByte += numBytes;
788 primary |= (firstByte + value % 254) << 16;
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/
H A DBIG5Tool.java304 int firstByte = 0;
308 firstByte = it.charValue = it.nextByte();
309 if (firstByte < 0) {
314 if (firstByte <= 0x0080 ||
315 (sjis && firstByte>=0x00a0 && firstByte< 0x00e0) ||
316 (sjis && firstByte>=0x00fd && firstByte<=0x00ff)) {
332 System.out.println("Error " + Integer.toHexString(firstByte) + " " + Integer.toHexString(secondByte));
H A DEUCTool.java304 int firstByte = 0;
310 firstByte = it.charValue = it.nextByte();
311 if (firstByte < 0) {
316 if (firstByte <= 0x8d) {
324 if (firstByte >= 0xA1 && firstByte <= 0xfe) {
331 if (firstByte == 0x8e) {
344 if (firstByte == 0x8f) {
356 System.out.println("Error " + Integer.toHexString(firstByte) + " " + Integer.toHexString(secondByte)
/external/jline/src/src/main/java/jline/
H A DUnixTerminal.java371 byte firstByte; field in class:UnixTerminal.ReplayPrefixOneCharInputStream
384 this.firstByte = (byte) recorded;
399 if ((firstByte & (byte) 0xE0) == (byte) 0xC0)
402 else if ((firstByte & (byte) 0xF0) == (byte) 0xE0)
405 else if ((firstByte & (byte) 0xF8) == (byte) 0xF0)
408 throw new IOException("invalid UTF-8 first byte: " + firstByte);
418 return firstByte;
H A DWindowsTerminal.java457 byte firstByte; field in class:WindowsTerminal.ReplayPrefixOneCharInputStream
470 this.firstByte = (byte) recorded;
485 if ((firstByte & (byte) 0xE0) == (byte) 0xC0)
488 else if ((firstByte & (byte) 0xF0) == (byte) 0xE0)
491 else if ((firstByte & (byte) 0xF8) == (byte) 0xF0)
494 throw new IOException("invalid UTF-8 first byte: " + firstByte);
504 return firstByte;
/external/walt/ios/WALT/
H A DMIDIClient.m119 const Byte firstByte = packet->data[0];
122 if (firstByte >= 0x80 && firstByte != MIDIMessageSysEx && firstByte != MIDIMessageSysExEnd) {
141 if (firstByte == MIDIMessageSysEx) {
145 } else if (firstByte < 0x80 || firstByte == MIDIMessageSysExEnd) {
/external/guava/guava/src/com/google/common/io/
H A DGwtWorkarounds.java118 int firstByte = read();
119 if (firstByte == -1) {
122 b[off] = (byte) firstByte;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DImageHeaderParser.java87 int firstByte = streamReader.getUInt8();
90 if (firstByte == EXIF_MAGIC_NUMBER >> 8) {
94 final int firstTwoBytes = firstByte << 8 & 0xFF00 | streamReader.getUInt8() & 0xFF;
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DAbstractMessageLite.java309 final int firstByte = input.read();
310 if (firstByte == -1) {
313 final int size = CodedInputStream.readRawVarint32(firstByte, input);
H A DAbstractParser.java229 int firstByte = input.read();
230 if (firstByte == -1) {
233 size = CodedInputStream.readRawVarint32(firstByte, input);
H A DCodedInputStream.java673 final int firstByte = input.read();
674 if (firstByte == -1) {
677 return readRawVarint32(firstByte, input);
686 final int firstByte, final InputStream input) throws IOException {
687 if ((firstByte & 0x80) == 0) {
688 return firstByte;
691 int result = firstByte & 0x7f;
685 readRawVarint32( final int firstByte, final InputStream input) argument
H A DUnknownFieldSet.java606 final int firstByte = input.read();
607 if (firstByte == -1) {
610 final int size = CodedInputStream.readRawVarint32(firstByte, input);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
H A DHpack.java321 int readInt(int firstByte, int prefixMask) throws IOException { argument
322 int prefix = firstByte & prefixMask;
345 int firstByte = readByte();
346 boolean huffmanDecode = (firstByte & 0x80) == 0x80; // 1NNNNNNN
347 int length = readInt(firstByte, PREFIX_7_BITS);
/external/lzma/C/
H A D7zArcIn.c195 Byte firstByte, mask; local
199 SZ_READ_BYTE(firstByte);
200 if ((firstByte & 0x80) == 0)
202 *value = firstByte;
206 if ((firstByte & 0x40) == 0)
208 *value = (((UInt32)firstByte & 0x3F) << 8) | v;
217 if ((firstByte & mask) == 0)
219 UInt64 highPart = (unsigned)firstByte & (unsigned)(mask - 1);
233 Byte firstByte; local
237 firstByte
605 Byte firstByte, mask; local
[all...]
/external/dng_sdk/source/
H A Ddng_iptc.cpp253 uint8 firstByte = stream.Get_uint8 (); local
255 if (firstByte != 0x1C) break;
339 uint8 firstByte = stream.Get_uint8 (); local
341 if (firstByte != 0x1C) break;
/external/llvm/include/llvm/Support/
H A DConvertUTF.h175 unsigned getNumBytesForUTF8(UTF8 firstByte);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DConvertUTF.h178 unsigned getNumBytesForUTF8(UTF8 firstByte);
/external/skia/src/core/
H A DSkValidatingReadBuffer.cpp251 uint8_t firstByte = this->peekByte(); local
257 if (firstByte) {
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
H A DCollationIterator.java1043 int firstByte = 2;
1047 long primary = numericPrimary | ((firstByte + value) << 16);
1052 firstByte += numBytes;
1057 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8);
1062 firstByte += numBytes;
1070 primary |= (firstByte + value % 254) << 16;
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationIterator.java1041 int firstByte = 2;
1045 long primary = numericPrimary | ((firstByte + value) << 16);
1050 firstByte += numBytes;
1055 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8);
1060 firstByte += numBytes;
1068 primary |= (firstByte + value % 254) << 16;
/external/icu/icu4c/source/common/
H A Ducnv_lmb.c755 ulmbcs_byte_t firstByte; local
764 firstByte = (ulmbcs_byte_t)(value >> ((bytesConverted - 1) * 8));
776 U_ASSERT((firstByte <= ULMBCS_C0END) || (firstByte >= ULMBCS_C1START) || (group == ULMBCS_GRP_EXCEPT));
789 if ( bytesConverted == 1 && firstByte < 0x20 )
/external/lzma/CPP/7zip/Archive/7z/
H A D7zOut.cpp188 Byte firstByte = 0; local
195 firstByte |= Byte(value >> (8 * i));
198 firstByte |= mask;
201 WriteByte(firstByte);

Completed in 928 milliseconds

12