Home
last modified time | relevance | path

Searched refs:byte2 (Results 1 - 25 of 51) sorted by relevance

123

/third_party/json/tests/src/
H A Dunit-unicode2.cpp32 void check_utf8dump(bool success_expected, int byte1, int byte2, int byte3, int byte4);
34 void check_utf8dump(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1) in check_utf8dump()
40 CAPTURE(byte2) in check_utf8dump()
46 if (byte2 != -1) in check_utf8dump()
48 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
119 void check_utf8string(bool success_expected, int byte1, int byte2, int byte3, int byte4);
122 void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1) in check_utf8string()
135 if (byte2 != -1) in check_utf8string()
137 CAPTURE(byte2) in check_utf8string()
138 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8string()
[all...]
H A Dunit-unicode4.cpp32 void check_utf8dump(bool success_expected, int byte1, int byte2, int byte3, int byte4);
34 void check_utf8dump(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1) in check_utf8dump()
40 CAPTURE(byte2) in check_utf8dump()
46 if (byte2 != -1) in check_utf8dump()
48 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
119 void check_utf8string(bool success_expected, int byte1, int byte2, int byte3, int byte4);
122 void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1) in check_utf8string()
135 if (byte2 != -1) in check_utf8string()
137 CAPTURE(byte2) in check_utf8string()
138 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8string()
[all...]
H A Dunit-unicode5.cpp32 void check_utf8dump(bool success_expected, int byte1, int byte2, int byte3, int byte4);
34 void check_utf8dump(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1) in check_utf8dump()
40 CAPTURE(byte2) in check_utf8dump()
46 if (byte2 != -1) in check_utf8dump()
48 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
119 void check_utf8string(bool success_expected, int byte1, int byte2, int byte3, int byte4);
122 void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1) in check_utf8string()
135 if (byte2 != -1) in check_utf8string()
137 CAPTURE(byte2) in check_utf8string()
138 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8string()
[all...]
H A Dunit-unicode3.cpp32 void check_utf8dump(bool success_expected, int byte1, int byte2, int byte3, int byte4);
34 void check_utf8dump(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1) in check_utf8dump()
40 CAPTURE(byte2) in check_utf8dump()
46 if (byte2 != -1) in check_utf8dump()
48 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8dump()
119 void check_utf8string(bool success_expected, int byte1, int byte2, int byte3, int byte4);
122 void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -1) in check_utf8string()
135 if (byte2 != -1) in check_utf8string()
137 CAPTURE(byte2) in check_utf8string()
138 json_string += std::string(1, static_cast<char>(byte2)); in check_utf8string()
[all...]
/third_party/rust/crates/memchr/bench/src/memchr/
H A Dmod.rs181 search.byte1.count + search.byte2.count, in all()
184 search.byte2.byte, in all()
193 search.byte1.count + search.byte2.count, in all()
196 search.byte2.byte, in all()
205 search.byte1.count + search.byte2.count, in all()
208 search.byte2.byte, in all()
217 search.byte1.count + search.byte2.count, in all()
220 search.byte2.byte, in all()
234 search.byte1.count + search.byte2.count, in all()
237 search.byte2 in all()
[all...]
H A Dinputs.rs282 pub byte2: SearchByte,
293 Some(Search2 { corpus, byte1: bytes[0], byte2: bytes[1] }) in new()
306 pub byte2: SearchByte,
322 byte2: bytes[1], in new()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DUtf8.java125 // int state = byte1 ^ (byte2 << 8) ^ (byte3 << 16);
127 // Such a state is unpacked thus (note the ~ operation for byte2 to
131 // int byte2 = (byte) ~(state >> 8);
183 private static int incompleteStateFor(int byte1, int byte2) { in incompleteStateFor() argument
184 return (byte1 > (byte) 0xF4 || byte2 > (byte) 0xBF) ? MALFORMED : byte1 ^ (byte2 << 8); in incompleteStateFor()
187 private static int incompleteStateFor(int byte1, int byte2, int byte3) { in incompleteStateFor() argument
188 return (byte1 > (byte) 0xF4 || byte2 > (byte) 0xBF || byte3 > (byte) 0xBF) in incompleteStateFor()
190 : byte1 ^ (byte2 << 8) ^ (byte3 << 16); in incompleteStateFor()
468 // byte2 trailin in partialIsValidUtf8Default()
1904 handleTwoBytes(byte byte1, byte byte2, char[] resultArr, int resultPos) handleTwoBytes() argument
1914 handleThreeBytes( byte byte1, byte byte2, byte byte3, char[] resultArr, int resultPos) handleThreeBytes() argument
1930 handleFourBytes( byte byte1, byte byte2, byte byte3, byte byte4, char[] resultArr, int resultPos) handleFourBytes() argument
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dcollation.cpp71 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - step; in decTwoBytePrimaryByOneStep() local
73 if(byte2 < 4) { in decTwoBytePrimaryByOneStep()
74 byte2 += 251; in decTwoBytePrimaryByOneStep()
78 if(byte2 < 2) { in decTwoBytePrimaryByOneStep()
79 byte2 += 254; in decTwoBytePrimaryByOneStep()
83 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16); in decTwoBytePrimaryByOneStep()
98 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - 1; in decThreeBytePrimaryByOneStep() local
100 if(byte2 < 4) { in decThreeBytePrimaryByOneStep()
101 byte2 = 0xfe; in decThreeBytePrimaryByOneStep()
105 if(byte2 < in decThreeBytePrimaryByOneStep()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dcollation.cpp71 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - step; in decTwoBytePrimaryByOneStep() local
73 if(byte2 < 4) { in decTwoBytePrimaryByOneStep()
74 byte2 += 251; in decTwoBytePrimaryByOneStep()
78 if(byte2 < 2) { in decTwoBytePrimaryByOneStep()
79 byte2 += 254; in decTwoBytePrimaryByOneStep()
83 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16); in decTwoBytePrimaryByOneStep()
98 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - 1; in decThreeBytePrimaryByOneStep() local
100 if(byte2 < 4) { in decThreeBytePrimaryByOneStep()
101 byte2 = 0xfe; in decThreeBytePrimaryByOneStep()
105 if(byte2 < in decThreeBytePrimaryByOneStep()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A 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 < in decThreeBytePrimaryByOneStep()
[all...]
/third_party/libunwind/libunwind/src/ia64/
H A 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 >> in unw_decode_x4()
264 unw_word grmask, frmask, byte1, byte2, byte3; unw_decode_p2_p5() local
292 unsigned char r, byte1, byte2; unw_decode_p7_p10() local
[all...]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollation.java514 int byte2 = ((int)(basePrimary >> 16) & 0xff) - step; in decTwoBytePrimaryByOneStep()
516 if(byte2 < 4) { in decTwoBytePrimaryByOneStep()
517 byte2 += 251; in decTwoBytePrimaryByOneStep()
521 if(byte2 < 2) { in decTwoBytePrimaryByOneStep()
522 byte2 += 254; in decTwoBytePrimaryByOneStep()
526 return (basePrimary & 0xff000000L) | (byte2 << 16); in decTwoBytePrimaryByOneStep()
543 int byte2 = ((int)(basePrimary >> 16) & 0xff) - 1; in decThreeBytePrimaryByOneStep()
545 if(byte2 < 4) { in decThreeBytePrimaryByOneStep()
546 byte2 = 0xfe; in decThreeBytePrimaryByOneStep()
550 if(byte2 < in decThreeBytePrimaryByOneStep()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
H A DCollation.java516 int byte2 = ((int)(basePrimary >> 16) & 0xff) - step; in decTwoBytePrimaryByOneStep()
518 if(byte2 < 4) { in decTwoBytePrimaryByOneStep()
519 byte2 += 251; in decTwoBytePrimaryByOneStep()
523 if(byte2 < 2) { in decTwoBytePrimaryByOneStep()
524 byte2 += 254; in decTwoBytePrimaryByOneStep()
528 return (basePrimary & 0xff000000L) | (byte2 << 16); in decTwoBytePrimaryByOneStep()
545 int byte2 = ((int)(basePrimary >> 16) & 0xff) - 1; in decThreeBytePrimaryByOneStep()
547 if(byte2 < 4) { in decThreeBytePrimaryByOneStep()
548 byte2 = 0xfe; in decThreeBytePrimaryByOneStep()
552 if(byte2 < in decThreeBytePrimaryByOneStep()
[all...]
/third_party/backends/backend/
H A Dibm-scsi.c66 SANE_Byte byte2; member
74 SANE_Byte byte2; member
102 SANE_Byte byte2; member
110 SANE_Byte byte2; member
123 SANE_Byte byte2; member
131 SANE_Byte byte2; member
183 select_cmd.cmd.byte2 |= SMS_PF; in mode_select()
278 cmd.byte2 |= (SANE_Byte)0x01; /* set Single bit to get one window desc. */ in get_window()
H A Dricoh-scsi.c62 SANE_Byte byte2; member
70 SANE_Byte byte2; member
88 SANE_Byte byte2; member
96 SANE_Byte byte2; member
109 SANE_Byte byte2; member
117 SANE_Byte byte2; member
169 select_cmd.cmd.byte2 |= SMS_PF; in mode_select()
260 cmd.byte2 |= (SANE_Byte)0x01; /* set Single bit to get one window desc. */ in get_window()
H A Dricoh.h252 SANE_Byte byte2; member
293 SANE_Byte byte2; member
H A Dibm.h307 SANE_Byte byte2; member
349 SANE_Byte byte2; member
/third_party/rust/crates/aho-corasick/src/
H A Dprefilter.rs569 byte2: bytes[1], in build()
574 byte2: bytes[1], in build()
723 byte2: u8,
733 memchr2(self.byte1, self.byte2, &haystack[at..]) in next_candidate()
762 byte2: u8,
773 memchr3(self.byte1, self.byte2, self.byte3, &haystack[at..]) in next_candidate()
872 byte2: bytes[1], in build()
876 byte2: bytes[1], in build()
939 byte2: u8,
949 memchr2(self.byte1, self.byte2, in next_candidate()
[all...]
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dglx_usefont.c143 char2b.byte2 = (c & 0xff); in fill_bitmap()
169 unsigned int byte1 = 0, byte2 = 0; in isvalid() local
182 byte2 = which & 0xff; in isvalid()
184 if ((fs->min_char_or_byte2 > byte2) || in isvalid()
185 (fs->max_char_or_byte2 < byte2) || in isvalid()
199 (byte2 - fs->min_char_or_byte2); in isvalid()
/third_party/mesa3d/src/glx/
H A 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()
/third_party/FreeBSD/sys/cam/scsi/
H A Dscsi_all.h147 uint8_t byte2; member
155 uint8_t byte2; member
164 uint8_t byte2; member
194 uint8_t byte2; member
/third_party/vk-gl-cts/external/amber/src/samples/
H A Dppm.cc35 uint8_t byte2(uint32_t word) { in byte2() function
61 buffer->push_back(byte2(pixel)); // R in ConvertToPPM()
H A Dpng.cc39 unsigned char byte2(uint32_t word) { in byte2() function
62 data.push_back(byte2(pixel)); // R in ConvertToPNG()
/third_party/node/test/common/
H A Dinspector-helper.js97 let byte2 = 0x80;
102 byte2 = 0x80 + bodyLen;
104 byte2 = 0xFE;
108 byte2 = 0xFF;
113 wsHeaderBuf.writeUInt8(byte2, 1);
/third_party/libphonenumber/cpp/src/phonenumbers/utf/
H A Dunicodetext.cc454 uint8 byte2 = static_cast<uint8>(it_[1]); in operator *()
457 | (byte2 & 0x3F); in operator *()
462 | ((byte2 & 0x3F) << 6) in operator *()
467 | ((byte2 & 0x3F) << 12) in operator *()

Completed in 15 milliseconds

123