Home
last modified time | relevance | path

Searched refs:firstByte (Results 1 – 25 of 29) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_mbcs.java203 int firstByte; in nextChar() local
204 firstByte = it.charValue = it.nextByte(det); in nextChar()
205 if (firstByte < 0) { in nextChar()
209 if (firstByte <= 0x7f || (firstByte>0xa0 && firstByte<=0xdf)) { in nextChar()
217 it.charValue = (firstByte << 8) | secondByte; in nextChar()
266 int firstByte; in nextChar() local
267 firstByte = it.charValue = it.nextByte(det); in nextChar()
268 if (firstByte < 0) { in nextChar()
272 if (firstByte <= 0x7f || firstByte==0xff) { in nextChar()
325 int firstByte = 0; in nextChar() local
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_mbcs.java202 int firstByte; in nextChar() local
203 firstByte = it.charValue = it.nextByte(det); in nextChar()
204 if (firstByte < 0) { in nextChar()
208 if (firstByte <= 0x7f || (firstByte>0xa0 && firstByte<=0xdf)) { in nextChar()
216 it.charValue = (firstByte << 8) | secondByte; in nextChar()
265 int firstByte; in nextChar() local
266 firstByte = it.charValue = it.nextByte(det); in nextChar()
267 if (firstByte < 0) { in nextChar()
271 if (firstByte <= 0x7f || firstByte==0xff) { in nextChar()
324 int firstByte = 0; in nextChar() local
[all …]
/external/icu/icu4c/source/i18n/
Dcsrmbcs.cpp247 int32_t firstByte = it->charValue = it->nextByte(det); in nextChar() local
249 if (firstByte < 0) { in nextChar()
253 if (firstByte <= 0x7F || (firstByte > 0xA0 && firstByte <= 0xDF)) { in nextChar()
259 it->charValue = (firstByte << 8) | secondByte; in nextChar()
293 int32_t firstByte = 0; in nextChar() local
299 firstByte = it->charValue = it->nextByte(det); in nextChar()
301 if (firstByte < 0) { in nextChar()
306 if (firstByte <= 0x8D) { in nextChar()
317 if (firstByte >= 0xA1 && firstByte <= 0xFE) { in nextChar()
326 if (firstByte == 0x8E) { in nextChar()
[all …]
Dcollationiterator.cpp759 int32_t firstByte = 2; in appendNumericSegmentCEs() local
763 uint32_t primary = numericPrimary | ((firstByte + value) << 16); in appendNumericSegmentCEs()
768 firstByte += numBytes; in appendNumericSegmentCEs()
773 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8); in appendNumericSegmentCEs()
778 firstByte += numBytes; in appendNumericSegmentCEs()
786 primary |= (firstByte + value % 254) << 16; in appendNumericSegmentCEs()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/
DBIG5Tool.java302 int firstByte = 0; in nextChar() local
306 firstByte = it.charValue = it.nextByte(); in nextChar()
307 if (firstByte < 0) { in nextChar()
312 if (firstByte <= 0x0080 || in nextChar()
313 (sjis && firstByte>=0x00a0 && firstByte< 0x00e0) || in nextChar()
314 (sjis && firstByte>=0x00fd && firstByte<=0x00ff)) { in nextChar()
330 …System.out.println("Error " + Integer.toHexString(firstByte) + " " + Integer.toHexString(secondByt… in nextChar()
DEUCTool.java302 int firstByte = 0; in nextChar() local
308 firstByte = it.charValue = it.nextByte(); in nextChar()
309 if (firstByte < 0) { in nextChar()
314 if (firstByte <= 0x8d) { in nextChar()
322 if (firstByte >= 0xA1 && firstByte <= 0xfe) { in nextChar()
329 if (firstByte == 0x8e) { in nextChar()
342 if (firstByte == 0x8f) { in nextChar()
354 …System.out.println("Error " + Integer.toHexString(firstByte) + " " + Integer.toHexString(secondByt… in nextChar()
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DataMatrixDecodedBitStreamParser.cpp187 int32_t firstByte = bits->ReadBits(8, e); in DecodeC40Segment() local
189 if (firstByte == 254) { in DecodeC40Segment()
194 ParseTwoBytes(firstByte, tempp, cValues); in DecodeC40Segment()
274 int32_t firstByte = bits->ReadBits(8, e); in DecodeTextSegment() local
276 if (firstByte == 254) { in DecodeTextSegment()
281 ParseTwoBytes(firstByte, inTp, cValues); in DecodeTextSegment()
363 int32_t firstByte = bits->ReadBits(8, e); in DecodeAnsiX12Segment() local
365 if (firstByte == 254) { in DecodeAnsiX12Segment()
370 ParseTwoBytes(firstByte, iTemp1, cValues); in DecodeAnsiX12Segment()
394 int32_t firstByte, in ParseTwoBytes() argument
[all …]
DBC_DataMatrixDecodedBitStreamParser.h31 static void ParseTwoBytes(int32_t firstByte,
/external/lzma/CPP/7zip/Crypto/
D7zAes.cpp147 Byte firstByte = (Byte)(_key.NumCyclesPower | in WriteCoderProperties() local
150 RINOK(outStream->Write(&firstByte, 1, NULL)); in WriteCoderProperties()
185 Byte firstByte = data[pos++]; in SetDecoderProperties2() local
187 _key.NumCyclesPower = firstByte & 0x3F; in SetDecoderProperties2()
188 if ((firstByte & 0xC0) == 0) in SetDecoderProperties2()
190 _key.SaltSize = (firstByte >> 7) & 1; in SetDecoderProperties2()
191 UInt32 ivSize = (firstByte >> 6) & 1; in SetDecoderProperties2()
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRDecodedBitStreamParser.cpp256 int32_t firstByte = bits->ReadBits(8, e); in ParseECIValue() local
258 if ((firstByte & 0x80) == 0) { in ParseECIValue()
259 return firstByte & 0x7f; in ParseECIValue()
260 } else if ((firstByte & 0xc0) == 0x80) { in ParseECIValue()
263 return ((firstByte & 0x3f) << 8) | secondByte; in ParseECIValue()
264 } else if ((firstByte & 0xe0) == 0xc0) { in ParseECIValue()
267 return ((firstByte & 0x1f) << 16) | secondThirdByte; in ParseECIValue()
/external/guava/guava/src/com/google/common/io/
DGwtWorkarounds.java118 int firstByte = read();
119 if (firstByte == -1) {
122 b[off] = (byte) firstByte;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHpack.java321 int readInt(int firstByte, int prefixMask) throws IOException { in readInt() argument
322 int prefix = firstByte & prefixMask; in readInt()
345 int firstByte = readByte(); in readByteString() local
346 boolean huffmanDecode = (firstByte & 0x80) == 0x80; // 1NNNNNNN in readByteString()
347 int length = readInt(firstByte, PREFIX_7_BITS); in readByteString()
/external/protobuf/java/src/main/java/com/google/protobuf/
DAbstractParser.java224 int firstByte = input.read(); in parsePartialDelimitedFrom() local
225 if (firstByte == -1) { in parsePartialDelimitedFrom()
228 size = CodedInputStream.readRawVarint32(firstByte, input); in parsePartialDelimitedFrom()
DCodedInputStream.java671 final int firstByte = input.read(); in readRawVarint32() local
672 if (firstByte == -1) { in readRawVarint32()
675 return readRawVarint32(firstByte, input); in readRawVarint32()
684 final int firstByte, final InputStream input) throws IOException { in readRawVarint32() argument
685 if ((firstByte & 0x80) == 0) { in readRawVarint32()
686 return firstByte; in readRawVarint32()
689 int result = firstByte & 0x7f; in readRawVarint32()
DAbstractMessageLite.java294 final int firstByte = input.read(); in mergeDelimitedFrom() local
295 if (firstByte == -1) { in mergeDelimitedFrom()
298 final int size = CodedInputStream.readRawVarint32(firstByte, input); in mergeDelimitedFrom()
DUnknownFieldSet.java575 final int firstByte = input.read(); in mergeDelimitedFrom() local
576 if (firstByte == -1) { in mergeDelimitedFrom()
579 final int size = CodedInputStream.readRawVarint32(firstByte, input); in mergeDelimitedFrom()
/external/lzma/C/
D7zArcIn.c203 Byte firstByte, mask; in ReadNumber() local
207 SZ_READ_BYTE(firstByte); in ReadNumber()
208 if ((firstByte & 0x80) == 0) in ReadNumber()
210 *value = firstByte; in ReadNumber()
214 if ((firstByte & 0x40) == 0) in ReadNumber()
216 *value = (((UInt32)firstByte & 0x3F) << 8) | v; in ReadNumber()
225 if ((firstByte & mask) == 0) in ReadNumber()
227 UInt64 highPart = firstByte & (mask - 1); in ReadNumber()
292 Byte firstByte; in SzReadNumber32() local
296 firstByte = *sd->Data; in SzReadNumber32()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java87 int firstByte = streamReader.getUInt8(); in getType() local
90 if (firstByte == EXIF_MAGIC_NUMBER >> 8) { in getType()
94 final int firstTwoBytes = firstByte << 8 & 0xFF00 | streamReader.getUInt8() & 0xFF; in getType()
/external/dng_sdk/source/
Ddng_iptc.cpp253 uint8 firstByte = stream.Get_uint8 (); in Parse() local
255 if (firstByte != 0x1C) break; in Parse()
339 uint8 firstByte = stream.Get_uint8 (); in Parse() local
341 if (firstByte != 0x1C) break; in Parse()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java1033 int firstByte = 2;
1037 long primary = numericPrimary | ((firstByte + value) << 16);
1042 firstByte += numBytes;
1047 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8);
1052 firstByte += numBytes;
1060 primary |= (firstByte + value % 254) << 16;
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationIterator.java1035 int firstByte = 2;
1039 long primary = numericPrimary | ((firstByte + value) << 16);
1044 firstByte += numBytes;
1049 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8);
1054 firstByte += numBytes;
1062 primary |= (firstByte + value % 254) << 16;
/external/icu/icu4c/source/common/
Ducnv_lmb.c753 ulmbcs_byte_t firstByte; in LMBCSConversionWorker() local
762 firstByte = (ulmbcs_byte_t)(value >> ((bytesConverted - 1) * 8)); in LMBCSConversionWorker()
774 …U_ASSERT((firstByte <= ULMBCS_C0END) || (firstByte >= ULMBCS_C1START) || (group == ULMBCS_GRP_EXCE… in LMBCSConversionWorker()
787 if ( bytesConverted == 1 && firstByte < 0x20 ) in LMBCSConversionWorker()
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.cpp188 Byte firstByte = 0; in WriteNumber() local
195 firstByte |= Byte(value >> (8 * i)); in WriteNumber()
198 firstByte |= mask; in WriteNumber()
201 WriteByte(firstByte); in WriteNumber()
/external/llvm/include/llvm/Support/
DConvertUTF.h175 unsigned getNumBytesForUTF8(UTF8 firstByte);
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_m_a_p.py339 for firstByte in range(256):
340 subHeadindex = subHeaderKeys[firstByte]
343 … if (firstByte < subHeader.firstCode) or (firstByte >= subHeader.firstCode + subHeader.entryCount):
346 charCode = firstByte
347 offsetIndex = firstByte - subHeader.firstCode
356 charCodeOffset = firstByte * 256 + subHeader.firstCode

12