Home
last modified time | relevance | path

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

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/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()
269 int firstByte; in nextChar() local
270 firstByte = it.charValue = it.nextByte(det); in nextChar()
271 if (firstByte < 0) { in nextChar()
275 if (firstByte <= 0x7f || firstByte==0xff) { in nextChar()
331 int firstByte = 0; in nextChar() local
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCharsetRecog_mbcs.java204 int firstByte; in nextChar() local
205 firstByte = it.charValue = it.nextByte(det); in nextChar()
206 if (firstByte < 0) { in nextChar()
210 if (firstByte <= 0x7f || (firstByte>0xa0 && firstByte<=0xdf)) { in nextChar()
218 it.charValue = (firstByte << 8) | secondByte; in nextChar()
270 int firstByte; in nextChar() local
271 firstByte = it.charValue = it.nextByte(det); in nextChar()
272 if (firstByte < 0) { in nextChar()
276 if (firstByte <= 0x7f || firstByte==0xff) { in nextChar()
332 int firstByte = 0; in nextChar() local
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcsrmbcs.cpp248 int32_t firstByte = it->charValue = it->nextByte(det); in nextChar() local
250 if (firstByte < 0) { in nextChar()
254 if (firstByte <= 0x7F || (firstByte > 0xA0 && firstByte <= 0xDF)) { in nextChar()
260 it->charValue = (firstByte << 8) | secondByte; in nextChar()
294 int32_t firstByte = 0; in nextChar() local
300 firstByte = it->charValue = it->nextByte(det); in nextChar()
302 if (firstByte < 0) { in nextChar()
307 if (firstByte <= 0x8D) { in nextChar()
318 if (firstByte >= 0xA1 && firstByte <= 0xFE) { in nextChar()
327 if (firstByte == 0x8E) { in nextChar()
[all …]
Dcollationiterator.cpp761 int32_t firstByte = 2; in appendNumericSegmentCEs() local
765 uint32_t primary = numericPrimary | ((firstByte + value) << 16); in appendNumericSegmentCEs()
770 firstByte += numBytes; in appendNumericSegmentCEs()
775 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8); in appendNumericSegmentCEs()
780 firstByte += numBytes; in appendNumericSegmentCEs()
788 primary |= (firstByte + value % 254) << 16; in appendNumericSegmentCEs()
/third_party/icu/icu4c/source/i18n/
Dcsrmbcs.cpp248 int32_t firstByte = it->charValue = it->nextByte(det); in nextChar() local
250 if (firstByte < 0) { in nextChar()
254 if (firstByte <= 0x7F || (firstByte > 0xA0 && firstByte <= 0xDF)) { in nextChar()
260 it->charValue = (firstByte << 8) | secondByte; in nextChar()
294 int32_t firstByte = 0; in nextChar() local
300 firstByte = it->charValue = it->nextByte(det); in nextChar()
302 if (firstByte < 0) { in nextChar()
307 if (firstByte <= 0x8D) { in nextChar()
318 if (firstByte >= 0xA1 && firstByte <= 0xFE) { in nextChar()
327 if (firstByte == 0x8E) { in nextChar()
[all …]
Dcollationiterator.cpp761 int32_t firstByte = 2; in appendNumericSegmentCEs() local
765 uint32_t primary = numericPrimary | ((firstByte + value) << 16); in appendNumericSegmentCEs()
770 firstByte += numBytes; in appendNumericSegmentCEs()
775 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8); in appendNumericSegmentCEs()
780 firstByte += numBytes; in appendNumericSegmentCEs()
788 primary |= (firstByte + value % 254) << 16; in appendNumericSegmentCEs()
/third_party/node/deps/icu-small/source/i18n/
Dcsrmbcs.cpp248 int32_t firstByte = it->charValue = it->nextByte(det); in nextChar() local
250 if (firstByte < 0) { in nextChar()
254 if (firstByte <= 0x7F || (firstByte > 0xA0 && firstByte <= 0xDF)) { in nextChar()
260 it->charValue = (firstByte << 8) | secondByte; in nextChar()
294 int32_t firstByte = 0; in nextChar() local
300 firstByte = it->charValue = it->nextByte(det); in nextChar()
302 if (firstByte < 0) { in nextChar()
307 if (firstByte <= 0x8D) { in nextChar()
318 if (firstByte >= 0xA1 && firstByte <= 0xFE) { in nextChar()
327 if (firstByte == 0x8E) { in nextChar()
[all …]
Dcollationiterator.cpp761 int32_t firstByte = 2; in appendNumericSegmentCEs() local
765 uint32_t primary = numericPrimary | ((firstByte + value) << 16); in appendNumericSegmentCEs()
770 firstByte += numBytes; in appendNumericSegmentCEs()
775 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8); in appendNumericSegmentCEs()
780 firstByte += numBytes; in appendNumericSegmentCEs()
788 primary |= (firstByte + value % 254) << 16; in appendNumericSegmentCEs()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcsrmbcs.cpp248 int32_t firstByte = it->charValue = it->nextByte(det); in nextChar() local
250 if (firstByte < 0) { in nextChar()
254 if (firstByte <= 0x7F || (firstByte > 0xA0 && firstByte <= 0xDF)) { in nextChar()
260 it->charValue = (firstByte << 8) | secondByte; in nextChar()
294 int32_t firstByte = 0; in nextChar() local
300 firstByte = it->charValue = it->nextByte(det); in nextChar()
302 if (firstByte < 0) { in nextChar()
307 if (firstByte <= 0x8D) { in nextChar()
318 if (firstByte >= 0xA1 && firstByte <= 0xFE) { in nextChar()
327 if (firstByte == 0x8E) { in nextChar()
[all …]
Dcollationiterator.cpp761 int32_t firstByte = 2; in appendNumericSegmentCEs() local
765 uint32_t primary = numericPrimary | ((firstByte + value) << 16); in appendNumericSegmentCEs()
770 firstByte += numBytes; in appendNumericSegmentCEs()
775 ((firstByte + value / 254) << 16) | ((2 + value % 254) << 8); in appendNumericSegmentCEs()
780 firstByte += numBytes; in appendNumericSegmentCEs()
788 primary |= (firstByte + value % 254) << 16; in appendNumericSegmentCEs()
/third_party/node/test/parallel/
Dtest-crypto-ecdh-convert-key.js70 let firstByte = compressed[0]; variable
71 assert(firstByte === 2 || firstByte === 3);
72 firstByte = hybrid[0];
73 assert(firstByte === 6 || firstByte === 7);
Dtest-crypto-dh.js286 let firstByte = ecdh1.getPublicKey('buffer', 'compressed')[0]; variable
287 assert(firstByte === 2 || firstByte === 3);
288 firstByte = ecdh1.getPublicKey('buffer', 'hybrid')[0];
289 assert(firstByte === 6 || firstByte === 7);
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dprint-lzw-example.go193 firstByte := byte(0)
200 firstByte = suffix
206 buffer[4095] = firstByte
214 t.suffixes[n] = firstByte
253 firstByte := byte(0)
260 firstByte = suffix[0]
266 buffer[4095] = firstByte
280 t.suffixes[n][lm1] = firstByte
284 t.suffixes[n][0] = firstByte
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/
DBIG5Tool.java304 int firstByte = 0; in nextChar() local
308 firstByte = it.charValue = it.nextByte(); in nextChar()
309 if (firstByte < 0) { in nextChar()
314 if (firstByte <= 0x0080 || in nextChar()
315 (sjis && firstByte>=0x00a0 && firstByte< 0x00e0) || in nextChar()
316 (sjis && firstByte>=0x00fd && firstByte<=0x00ff)) { in nextChar()
332 …System.out.println("Error " + Integer.toHexString(firstByte) + " " + Integer.toHexString(secondByt… in nextChar()
DEUCTool.java304 int firstByte = 0; in nextChar() local
310 firstByte = it.charValue = it.nextByte(); in nextChar()
311 if (firstByte < 0) { in nextChar()
316 if (firstByte <= 0x8d) { in nextChar()
324 if (firstByte >= 0xA1 && firstByte <= 0xfe) { in nextChar()
331 if (firstByte == 0x8e) { in nextChar()
344 if (firstByte == 0x8f) { in nextChar()
356 …System.out.println("Error " + Integer.toHexString(firstByte) + " " + Integer.toHexString(secondByt… in nextChar()
/third_party/node/lib/internal/debugger/
Dinspect_client.js108 const firstByte = data[0];
111 const final = (firstByte & kFinalBit) !== 0;
112 const reserved1 = (firstByte & kReserved1Bit) !== 0;
113 const reserved2 = (firstByte & kReserved2Bit) !== 0;
114 const reserved3 = (firstByte & kReserved3Bit) !== 0;
115 const opCode = firstByte & kOpCodeMask;
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DAbstractParser.java246 int firstByte = input.read(); in parsePartialDelimitedFrom() local
247 if (firstByte == -1) { in parsePartialDelimitedFrom()
250 size = CodedInputStream.readRawVarint32(firstByte, input); in parsePartialDelimitedFrom()
DAbstractMessageLite.java330 final int firstByte = input.read(); in mergeDelimitedFrom() local
331 if (firstByte == -1) { in mergeDelimitedFrom()
334 final int size = CodedInputStream.readRawVarint32(firstByte, input); in mergeDelimitedFrom()
/third_party/jsoncpp/src/lib_json/
Djson_writer.cpp188 unsigned int firstByte = static_cast<unsigned char>(*s); in utf8ToCodepoint() local
190 if (firstByte < 0x80) in utf8ToCodepoint()
191 return firstByte; in utf8ToCodepoint()
193 if (firstByte < 0xE0) { in utf8ToCodepoint()
198 ((firstByte & 0x1F) << 6) | (static_cast<unsigned int>(s[1]) & 0x3F); in utf8ToCodepoint()
204 if (firstByte < 0xF0) { in utf8ToCodepoint()
208 unsigned int calculated = ((firstByte & 0x0F) << 12) | in utf8ToCodepoint()
220 if (firstByte < 0xF8) { in utf8ToCodepoint()
224 unsigned int calculated = ((firstByte & 0x07) << 18) | in utf8ToCodepoint()
/third_party/skia/third_party/externals/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()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
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;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
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;
/third_party/node/deps/icu-small/source/common/
Ducnv_lmb.cpp761 ulmbcs_byte_t firstByte; in LMBCSConversionWorker() local
770 firstByte = (ulmbcs_byte_t)(value >> ((bytesConverted - 1) * 8)); in LMBCSConversionWorker()
782 …U_ASSERT((firstByte <= ULMBCS_C0END) || (firstByte >= ULMBCS_C1START) || (group == ULMBCS_GRP_EXCE… in LMBCSConversionWorker()
795 if ( bytesConverted == 1 && firstByte < 0x20 ) in LMBCSConversionWorker()
/third_party/skia/third_party/externals/icu/source/common/
Ducnv_lmb.cpp761 ulmbcs_byte_t firstByte; in LMBCSConversionWorker() local
770 firstByte = (ulmbcs_byte_t)(value >> ((bytesConverted - 1) * 8)); in LMBCSConversionWorker()
782 …U_ASSERT((firstByte <= ULMBCS_C0END) || (firstByte >= ULMBCS_C1START) || (group == ULMBCS_GRP_EXCE… in LMBCSConversionWorker()
795 if ( bytesConverted == 1 && firstByte < 0x20 ) in LMBCSConversionWorker()
/third_party/icu/icu4c/source/common/
Ducnv_lmb.cpp761 ulmbcs_byte_t firstByte; in LMBCSConversionWorker() local
770 firstByte = (ulmbcs_byte_t)(value >> ((bytesConverted - 1) * 8)); in LMBCSConversionWorker()
782 …U_ASSERT((firstByte <= ULMBCS_C0END) || (firstByte >= ULMBCS_C1START) || (group == ULMBCS_GRP_EXCE… in LMBCSConversionWorker()
795 if ( bytesConverted == 1 && firstByte < 0x20 ) in LMBCSConversionWorker()

12