Home
last modified time | relevance | path

Searched refs:byte2 (Results 1 – 25 of 39) sorted by relevance

12

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java198 private static int incompleteStateFor(int byte1, int byte2) { in incompleteStateFor() argument
200 byte2 > (byte) 0xBF) ? in incompleteStateFor()
201 MALFORMED : byte1 ^ (byte2 << 8); in incompleteStateFor()
204 private static int incompleteStateFor(int byte1, int byte2, int byte3) { in incompleteStateFor() argument
206 byte2 > (byte) 0xBF || in incompleteStateFor()
208 MALFORMED : byte1 ^ (byte2 << 8) ^ (byte3 << 16); in incompleteStateFor()
481 byte byte2 = (byte) ~(state >> 8); in partialIsValidUtf8Default()
482 if (byte2 == 0) { in partialIsValidUtf8Default()
483 byte2 = buffer.get(index++); in partialIsValidUtf8Default()
485 return incompleteStateFor(byte1, byte2); in partialIsValidUtf8Default()
[all …]
/external/flatbuffers/java/com/google/flatbuffers/
DUtf8.java109 byte byte1, byte byte2, char[] resultArr, int resultPos) in handleTwoBytes() argument
114 || isNotTrailingByte(byte2)) { in handleTwoBytes()
117 resultArr[resultPos] = (char) (((byte1 & 0x1F) << 6) | trailingByteValue(byte2)); in handleTwoBytes()
121 byte byte1, byte byte2, byte byte3, char[] resultArr, int resultPos) in handleThreeBytes() argument
123 if (isNotTrailingByte(byte2) in handleThreeBytes()
125 || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0) in handleThreeBytes()
127 || (byte1 == (byte) 0xED && byte2 >= (byte) 0xA0) in handleThreeBytes()
132 … (((byte1 & 0x0F) << 12) | (trailingByteValue(byte2) << 6) | trailingByteValue(byte3)); in handleThreeBytes()
136 byte byte1, byte byte2, byte byte3, byte byte4, char[] resultArr, int resultPos) in handleFourBytes() argument
138 if (isNotTrailingByte(byte2) in handleFourBytes()
[all …]
/external/icu/icu4c/source/i18n/
Dcollation.cpp80 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - step; in decTwoBytePrimaryByOneStep() local
82 if(byte2 < 4) { in decTwoBytePrimaryByOneStep()
83 byte2 += 251; in decTwoBytePrimaryByOneStep()
87 if(byte2 < 2) { in decTwoBytePrimaryByOneStep()
88 byte2 += 254; in decTwoBytePrimaryByOneStep()
92 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16); in decTwoBytePrimaryByOneStep()
107 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - 1; in decThreeBytePrimaryByOneStep() local
109 if(byte2 < 4) { in decThreeBytePrimaryByOneStep()
110 byte2 = 0xfe; in decThreeBytePrimaryByOneStep()
114 if(byte2 < 2) { in decThreeBytePrimaryByOneStep()
[all …]
/external/libunwind/src/ia64/
Dunwind_decoder.h126 unsigned char byte1, byte2, abreg, x, ytreg; in unw_decode_x2() local
129 byte1 = *dp++; byte2 = *dp++; in unw_decode_x2()
132 ytreg = byte2; in unw_decode_x2()
144 unsigned char byte1, byte2, abreg, qp; in unw_decode_x3() local
147 byte1 = *dp++; byte2 = *dp++; in unw_decode_x3()
152 abreg = (byte2 & 0x7f); in unw_decode_x3()
164 unsigned char byte1, byte2, byte3, qp, abreg, x, ytreg; in unw_decode_x4() local
167 byte1 = *dp++; byte2 = *dp++; byte3 = *dp++; in unw_decode_x4()
171 abreg = (byte2 & 0x7f); in unw_decode_x4()
172 x = (byte2 >> 7) & 1; in unw_decode_x4()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollation.java516 int byte2 = ((int)(basePrimary >> 16) & 0xff) - step;
518 if(byte2 < 4) {
519 byte2 += 251;
523 if(byte2 < 2) {
524 byte2 += 254;
528 return (basePrimary & 0xff000000L) | (byte2 << 16);
545 int byte2 = ((int)(basePrimary >> 16) & 0xff) - 1;
547 if(byte2 < 4) {
548 byte2 = 0xfe;
552 if(byte2 < 2) {
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollation.java514 int byte2 = ((int)(basePrimary >> 16) & 0xff) - step;
516 if(byte2 < 4) {
517 byte2 += 251;
521 if(byte2 < 2) {
522 byte2 += 254;
526 return (basePrimary & 0xff000000L) | (byte2 << 16);
543 int byte2 = ((int)(basePrimary >> 16) & 0xff) - 1;
545 if(byte2 < 4) {
546 byte2 = 0xfe;
550 if(byte2 < 2) {
[all …]
/external/oj-libjdwp/src/share/npt/
Dutf.c233 unsigned byte2, byte3, byte4, u21; in utf8sToUtf8m() local
236 byte2 = (unsigned char)string[++i]; in utf8sToUtf8m()
241 u21 += (byte2 & 0x3F) << 12; in utf8sToUtf8m()
274 unsigned byte1, byte2, byte3, byte4, byte5, byte6; in utf8mToUtf8sLength() local
284 byte2 = (unsigned char)string[++i]; in utf8mToUtf8sLength()
285 if ( byte1 != 0xC0 || byte2 != 0x80 ) { in utf8mToUtf8sLength()
296 byte2 = (unsigned char)string[++i]; in utf8mToUtf8sLength()
300 if ( (i+3) < length && byte1 == 0xED && (byte2 & 0xF0) == 0xA0 ) { in utf8mToUtf8sLength()
341 unsigned byte1, byte2, byte3, byte4, byte5, byte6; in utf8mToUtf8s() local
348 byte2 = (unsigned char)string[++i]; in utf8mToUtf8s()
[all …]
/external/u-boot/drivers/mtd/
Dmw_eeprom.c103 u8 byte2=0; in mw_eeprom_write_word() local
111 byte2 = (EEP_OPC_WRITE << 6)&0xc0; in mw_eeprom_write_word()
112 byte2 |= addr; in mw_eeprom_write_word()
116 byte2 = (EEP_OPC_WRITE << 7)&0x80; in mw_eeprom_write_word()
117 byte2 |= addr; in mw_eeprom_write_word()
121 byte2 = addr; in mw_eeprom_write_word()
126 byte2 = addr & 0xff; in mw_eeprom_write_word()
131 byte2 = addr & 0xff; in mw_eeprom_write_word()
140 ssi_tx_byte(byte2); in mw_eeprom_write_word()
/external/guava/guava/src/com/google/common/base/
DUtf8.java163 int byte2 = bytes[index++]; in isWellFormedSlowPath() local
164 if (byte2 > (byte) 0xBF in isWellFormedSlowPath()
166 || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0) in isWellFormedSlowPath()
168 || (byte1 == (byte) 0xED && (byte) 0xA0 <= byte2) in isWellFormedSlowPath()
178 int byte2 = bytes[index++]; in isWellFormedSlowPath() local
179 if (byte2 > (byte) 0xBF in isWellFormedSlowPath()
184 || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0 in isWellFormedSlowPath()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_usefont.c142 char2b.byte2 = (c & 0xff); in fill_bitmap()
168 unsigned int byte1 = 0, byte2 = 0; in isvalid() local
181 byte2 = which & 0xff; in isvalid()
183 if ((fs->min_char_or_byte2 > byte2) || in isvalid()
184 (fs->max_char_or_byte2 < byte2) || in isvalid()
198 (byte2 - fs->min_char_or_byte2); in isvalid()
/external/mesa3d/src/mesa/drivers/x11/
Dxfonts.c142 char2b.byte2 = (c & 0xff); in fill_bitmap()
168 unsigned int byte1 = 0, byte2 = 0; in isvalid() local
181 byte2 = which & 0xff; in isvalid()
183 if ((fs->min_char_or_byte2 > byte2) || in isvalid()
184 (fs->max_char_or_byte2 < byte2) || in isvalid()
198 (byte2 - fs->min_char_or_byte2); in isvalid()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dbswap_tree.ll29 %byte2 = and i32 %x, 16711680 ; 0x00ff0000
33 %tmp2 = shl i32 %byte2, 8
63 %byte2 = lshr i32 %x, 8
67 %tmp2 = and i32 %byte2, 16711680 ; 0x00ff0000
Dbswap_tree2.ll41 %byte2 = and i32 %x, 16711680 ; 0x00ff0000
45 %tmp2 = shl i32 %byte2, 8
89 %byte2 = lshr i32 %x, 8
93 %tmp2 = and i32 %byte2, 16711680 ; 0x00ff0000
142 %byte2 = lshr i32 %integer, 8
146 %tmp2 = and i32 %byte2, 16711680 ; 0x00ff0000
/external/mesa3d/src/glx/
Dxfont.c147 char2b.byte2 = (c & 0xff); in fill_bitmap()
173 int byte1 = 0, byte2 = 0; in isvalid() local
186 byte2 = which & 0xff; in isvalid()
188 if ((fs->min_char_or_byte2 > byte2) || in isvalid()
189 (fs->max_char_or_byte2 < byte2) || in isvalid()
203 (byte2 - fs->min_char_or_byte2); in isvalid()
/external/libtextclassifier/utils/utf8/
Dunicodetext.cc281 unsigned char byte2 = static_cast<unsigned char>(it_[1]); in operator *() local
282 if (byte1 < 0xE0) return ((byte1 & 0x1F) << 6) | (byte2 & 0x3F); in operator *()
286 return ((byte1 & 0x0F) << 12) | ((byte2 & 0x3F) << 6) | (byte3 & 0x3F); in operator *()
290 return ((byte1 & 0x07) << 18) | ((byte2 & 0x3F) << 12) | in operator *()
/external/skia/tests/
DSkVxTest.cpp19 using byte2 = skvx::Vec<2,uint8_t>; typedef
54 static_assert(sizeof(byte2) == 2, ""); in DEF_TEST()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp514 unsigned char byte2 = 0; in ReadEOLMarkers() local
517 GetCharAt(pos + 1, byte2); in ReadEOLMarkers()
519 if (byte1 == '\r' && byte2 == '\n') in ReadEOLMarkers()
/external/llvm/test/CodeGen/SystemZ/
Dbranch-06.ll161 %byte2 = load i8 , i8 *%targetptr2
163 %ext2 = zext i8 %byte2 to i32
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dbranch-06.ll161 %byte2 = load i8, i8 *%targetptr2
163 %ext2 = zext i8 %byte2 to i32
/external/dng_sdk/source/
Ddng_iptc.cpp278 uint32 byte2 = stream.Get_uint8 (); in Parse() local
282 byte2 == 0x25 && in Parse()
/external/harfbuzz_ng/src/
Dhb-cff-interp-common.hh91 #define Make_OpCode_ESC(byte2) ((OpCode)(OpCode_ESC_Base + (byte2))) argument
/external/scapy/scapy/
Dutils6.py759 def matching_bits(byte1, byte2): argument
762 if (byte1 & cur_mask) != (byte2 & cur_mask):
/external/libevent/
Devutil.c1988 unsigned byte1,byte2,byte3,byte4; in evutil_inet_pton()
1997 &byte1,&byte2,&byte3,&byte4,&more) != 4) in evutil_inet_pton()
2001 byte2 > 255 || in evutil_inet_pton()
2006 words[6] = (byte1<<8) | byte2; in evutil_inet_pton()
/external/freetype/src/psaux/
Dpsintrp.c2895 CF2_Int byte2 = cf2_buf_readByte( charstring ); in cf2_interpT2CharString() local
2899 byte2 ); in cf2_interpT2CharString()
2962 FT_UInt32 byte2 = (FT_UInt32)cf2_buf_readByte( charstring ); in cf2_interpT2CharString() local
2968 ( byte2 << 16 ) | in cf2_interpT2CharString()
/external/llvm/lib/Target/X86/Disassembler/
DX86DisassemblerDecoder.cpp454 uint8_t byte1, byte2; in readPrefixes() local
461 if (lookAtByte(insn, &byte2)) { in readPrefixes()
467 ((~byte1 & 0xc) == 0xc) && ((byte2 & 0x4) == 0x4)) { in readPrefixes()

12