Home
last modified time | relevance | path

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

12

/external/protobuf/java/src/main/java/com/google/protobuf/
DUtf8.java172 int byte2 = (byte) ~(state >> 8); in partialIsValidUtf8() local
173 if (byte2 == 0) { in partialIsValidUtf8()
174 byte2 = bytes[index++]; in partialIsValidUtf8()
176 return incompleteStateFor(byte1, byte2); in partialIsValidUtf8()
179 if (byte2 > (byte) 0xBF || in partialIsValidUtf8()
181 (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0) || in partialIsValidUtf8()
183 (byte1 == (byte) 0xED && byte2 >= (byte) 0xA0) || in partialIsValidUtf8()
192 int byte2 = (byte) ~(state >> 8); in partialIsValidUtf8() local
194 if (byte2 == 0) { in partialIsValidUtf8()
195 byte2 = bytes[index++]; in partialIsValidUtf8()
[all …]
/external/icu/icu4c/source/i18n/
Dcollation.cpp78 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - step; in decTwoBytePrimaryByOneStep() local
80 if(byte2 < 4) { in decTwoBytePrimaryByOneStep()
81 byte2 += 251; in decTwoBytePrimaryByOneStep()
85 if(byte2 < 2) { in decTwoBytePrimaryByOneStep()
86 byte2 += 254; in decTwoBytePrimaryByOneStep()
90 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16); in decTwoBytePrimaryByOneStep()
105 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - 1; in decThreeBytePrimaryByOneStep() local
107 if(byte2 < 4) { in decThreeBytePrimaryByOneStep()
108 byte2 = 0xfe; in decThreeBytePrimaryByOneStep()
112 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.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/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollation.java512 int byte2 = ((int)(basePrimary >> 16) & 0xff) - step;
514 if(byte2 < 4) {
515 byte2 += 251;
519 if(byte2 < 2) {
520 byte2 += 254;
524 return (basePrimary & 0xff000000L) | (byte2 << 16);
541 int byte2 = ((int)(basePrimary >> 16) & 0xff) - 1;
543 if(byte2 < 4) {
544 byte2 = 0xfe;
548 if(byte2 < 2) {
[all …]
/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/valgrind/none/tests/s390x/
Dclcl.c155 uint8_t byte, byte1, byte2; in main() local
165 byte2 = 20; in main()
166 run_test(&byte1, 1, &byte2, 1, 0x00); // first operand low in main()
168 run_test(&byte2, 1, &byte1, 1, 0x00); // first operand high in main()
169 run_test(&byte1, 1, &byte2, 1, 0xFF); // first operand low in main()
171 run_test(&byte2, 1, &byte1, 1, 0xFF); // first operand high in main()
/external/valgrind/VEX/priv/
Dguest_s390_helpers.c606 UInt byte2 = (0x80 | klmnop); in s390_do_cu41() local
608 retval = (byte1 << 8) | byte2; in s390_do_cu41()
616 UInt byte2 = 0x80 | efghij; in s390_do_cu41() local
619 retval = (byte1 << 16) | (byte2 << 8) | byte3; in s390_do_cu41()
628 UInt byte2 = 0x80 | (xy << 4) | efgh; in s390_do_cu41() local
632 retval = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4; in s390_do_cu41()
699 s390_do_cu12_cu14_helper2(UInt byte1, UInt byte2, UInt byte3, UInt byte4, in s390_do_cu12_cu14_helper2() argument
717 if (byte2 < 0x80 || byte2 > 0xbf) { in s390_do_cu12_cu14_helper2()
725 UInt klmnop = byte2 & 0x3f; in s390_do_cu12_cu14_helper2()
736 if ((byte2 < 0xa0 || byte2 > 0xbf) || in s390_do_cu12_cu14_helper2()
[all …]
Dguest_s390_defs.h85 ULong s390_do_cu12_helper2(UInt byte1, UInt byte2, UInt byte3, UInt byte4,
87 ULong s390_do_cu14_helper2(UInt byte1, UInt byte2, UInt byte3, UInt byte4,
Dguest_s390_toIR.c11149 IRTemp byte2 = newTemp(Ity_I8); in s390_irgen_CLST() local
11157 assign(byte2, load(Ity_I8, mkexpr(address2))); in s390_irgen_CLST()
11166 binop(Iop_Xor8, mkexpr(byte2), mkexpr(end))))); in s390_irgen_CLST()
11177 next_insn_if(binop(Iop_CmpEQ8, mkexpr(end), mkexpr(byte2))); in s390_irgen_CLST()
11182 unop(Iop_8Uto32, mkexpr(byte2)))); in s390_irgen_CLST()
11186 next_insn_if(binop(Iop_CmpLT32U, unop(Iop_8Uto32, mkexpr(byte2)), in s390_irgen_CLST()
13773 s390_call_cu12_helper2(IRExpr *byte1, IRExpr *byte2, IRExpr *byte3, in s390_call_cu12_helper2() argument
13777 args = mkIRExprVec_5(byte1, byte2, byte3, byte4, stuff); in s390_call_cu12_helper2()
13788 s390_call_cu14_helper2(IRExpr *byte1, IRExpr *byte2, IRExpr *byte3, in s390_call_cu14_helper2() argument
13792 args = mkIRExprVec_5(byte1, byte2, byte3, byte4, stuff); in s390_call_cu14_helper2()
[all …]
Dguest_x86_toIR.c6091 UChar byte2, subopc; in dis_MMX() local
6094 byte2 = getIByte(delta); /* amode / sub-opcode */ in dis_MMX()
6095 subopc = toUChar( (byte2 >> 3) & 7 ); in dis_MMX()
/external/mesa3d/src/mesa/drivers/x11/
Dxfonts.c148 char2b.byte2 = (c & 0xff); in fill_bitmap()
174 unsigned int byte1 = 0, byte2 = 0; in isvalid() local
187 byte2 = which & 0xff; in isvalid()
189 if ((fs->min_char_or_byte2 > byte2) || in isvalid()
190 (fs->max_char_or_byte2 < byte2) || in isvalid()
204 (byte2 - fs->min_char_or_byte2); in isvalid()
/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/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_usefont.c141 char2b.byte2 = (c & 0xff); in fill_bitmap()
167 unsigned int byte1 = 0, byte2 = 0; in isvalid() local
180 byte2 = which & 0xff; in isvalid()
182 if ((fs->min_char_or_byte2 > byte2) || in isvalid()
183 (fs->max_char_or_byte2 < byte2) || in isvalid()
197 (byte2 - fs->min_char_or_byte2); in isvalid()
/external/llvm/test/CodeGen/SystemZ/
Dbranch-06.ll161 %byte2 = load i8 , i8 *%targetptr2
163 %ext2 = zext i8 %byte2 to i32
Dvec-combine-02.ll175 %byte2 = extractelement <16 x i8> %vec, i32 8
180 store i8 %byte2, i8 *%ptr2
/external/dng_sdk/source/
Ddng_iptc.cpp278 uint32 byte2 = stream.Get_uint8 (); in Parse() local
282 byte2 == 0x25 && in Parse()
Ddng_image_writer.cpp3445 uint8 byte2 = (uint8) (code << (-shift2)); in PutCodeWord() local
3452 *dstPtr3 = byte2; in PutCodeWord()
3461 uint8 byte2 = (uint8) (code >> shift2); in PutCodeWord() local
3471 *dstPtr2 = byte2; in PutCodeWord()
/external/libevent/
Devutil.c1712 int byte1,byte2,byte3,byte4; in evutil_inet_pton()
1721 &byte1,&byte2,&byte3,&byte4,&more) != 4) in evutil_inet_pton()
1725 byte2 > 255 || byte2 < 0 || in evutil_inet_pton()
1730 words[6] = (byte1<<8) | byte2; in evutil_inet_pton()
/external/vixl/src/vixl/a64/
Dmacro-assembler-a64.cc854 int byte2 = ((imm >> 8) & 0xff); in Movi16bitHelper() local
855 if (byte1 == byte2) { in Movi16bitHelper()
858 movi(vd, byte2, LSL, 8); in Movi16bitHelper()
859 } else if (byte2 == 0) { in Movi16bitHelper()
862 mvni(vd, ~byte2 & 0xff, LSL, 8); in Movi16bitHelper()
863 } else if (byte2 == 0xff) { in Movi16bitHelper()
/external/llvm/lib/Target/X86/Disassembler/
DX86DisassemblerDecoder.cpp457 uint8_t byte1, byte2; in readPrefixes() local
464 if (lookAtByte(insn, &byte2)) { in readPrefixes()
470 ((~byte1 & 0xc) == 0xc) && ((byte2 & 0x4) == 0x4)) { in readPrefixes()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToHTMLStream.java1258 int byte2 = in writeAttrURI() local
1266 writer.write(makeHHString(byte2)); in writeAttrURI()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_cid.cpp892 uint8_t byte2 = ((uint8_t*)pString)[offset++]; in GetNextChar() local
893 return byte1 * 256 + byte2; in GetNextChar()
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
DInstructionCodec.java1076 private static int byte2(int value) { in byte2() method in InstructionCodec
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp2361 unsigned char byte2 = 0; in ReadEOLMarkers() local
2363 GetCharAt(pos + 1, byte2); in ReadEOLMarkers()
2365 if (byte1 == '\r' && byte2 == '\n') { in ReadEOLMarkers()

12