HomeSort by relevance Sort by last modified time
    Searched defs:firstByte (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /external/protobuf/java/core/src/main/java/com/google/protobuf/
AbstractParser.java 229 int firstByte = input.read();
230 if (firstByte == -1) {
233 size = CodedInputStream.readRawVarint32(firstByte, input);
AbstractMessageLite.java 309 final int firstByte = input.read();
310 if (firstByte == -1) {
313 final int size = CodedInputStream.readRawVarint32(firstByte, input);
CodedInputStream.java 673 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;
    [all...]
UnknownFieldSet.java 606 final int firstByte = input.read();
607 if (firstByte == -1) {
610 final int size = CodedInputStream.readRawVarint32(firstByte, input);
    [all...]
  /external/lzma/CPP/7zip/Crypto/
7zAes.cpp 147 Byte firstByte = (Byte)(_key.NumCyclesPower |
150 RINOK(outStream->Write(&firstByte, 1, NULL));
185 Byte firstByte = data[pos++];
187 _key.NumCyclesPower = firstByte & 0x3F;
188 if ((firstByte & 0xC0) == 0)
190 _key.SaltSize = (firstByte >> 7) & 1;
191 UInt32 ivSize = (firstByte >> 6) & 1;
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
patricia_trie_reading_utils.cpp 49 const uint8_t firstByte = ByteArrayUtils::readUint8AndAdvancePosition(buffer, pos);
50 if (firstByte < 0x80) {
51 return firstByte;
53 return ((firstByte & 0x7F) << 8) ^ ByteArrayUtils::readUint8AndAdvancePosition(
  /external/dng_sdk/source/
dng_iptc.cpp 253 uint8 firstByte = stream.Get_uint8 ();
255 if (firstByte != 0x1C) break;
339 uint8 firstByte = stream.Get_uint8 ();
341 if (firstByte != 0x1C) break;
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CharsetRecog_mbcs.java 204 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 < 0)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CharsetRecog_mbcs.java 203 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 < 0)
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
byte_array_utils.h 160 * codePointTable. The indices are calculated by subtracting 0x20 from the firstByte.
162 const uint8_t firstByte = readUint8(buffer, *pos);
163 if (firstByte < MINIMUM_ONE_BYTE_CHARACTER_VALUE) {
164 if (firstByte == CHARACTER_ARRAY_TERMINATOR) {
173 return codePointTable[firstByte - MINIMUM_ONE_BYTE_CHARACTER_VALUE];
175 return firstByte;
  /external/icu/icu4c/source/i18n/
csrmbcs.cpp 248 int32_t firstByte = it->charValue = it->nextByte(det);
250 if (firstByte < 0) {
254 if (firstByte <= 0x7F || (firstByte > 0xA0 && firstByte <= 0xDF)) {
260 it->charValue = (firstByte << 8) | secondByte;
294 int32_t firstByte = 0;
300 firstByte = it->charValue = it->nextByte(det);
302 if (firstByte < 0) {
307 if (firstByte <= 0x8D)
    [all...]
collationiterator.cpp 761 int32_t firstByte = 2;
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;
    [all...]
  /external/skia/src/core/
SkValidatingReadBuffer.cpp 239 uint8_t firstByte = this->peekByte();
245 if (firstByte) {
  /frameworks/base/core/java/android/net/
NetworkUtils.java 281 int firstByte = address.getAddress()[0] & 0xff; // Convert to an unsigned value.
282 if (firstByte < 128) {
284 } else if (firstByte < 192) {
286 } else if (firstByte < 224) {
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
ImageHeaderParser.java 87 int firstByte = streamReader.getUInt8();
90 if (firstByte == EXIF_MAGIC_NUMBER >> 8) {
94 final int firstTwoBytes = firstByte << 8 & 0xFF00 | streamReader.getUInt8() & 0xFF;
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/
BIG5Tool.java 304 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));
EUCTool.java 304 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/
UnixTerminal.java 371 byte firstByte;
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;
WindowsTerminal.java 457 byte firstByte;
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/lzma/CPP/7zip/Archive/7z/
7zHandler.cpp 472 Byte firstByte = props[0];
473 UInt32 numCyclesPower = firstByte & 0x3F;
7zOut.cpp 188 Byte firstByte = 0;
195 firstByte |= Byte(value >> (8 * i));
198 firstByte |= mask;
201 WriteByte(firstByte);
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
Hpack.java 321 int readInt(int firstByte, int prefixMask) throws IOException {
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/icu/icu4c/source/common/
ucnv_lmb.c 755 ulmbcs_byte_t firstByte;
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 )
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetLMBCS.java     [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/
SmsMessage.java 917 int firstByte = p.getByte();
919 mMti = firstByte & 0x3;
926 parseSmsDeliver(p, firstByte);
929 parseSmsSubmit(p, firstByte);
932 parseSmsStatusReport(p, firstByte);
    [all...]

Completed in 618 milliseconds

1 2 3 4 5