Home
last modified time | relevance | path

Searched refs:byte3 (Results 1 – 25 of 28) sorted by relevance

12

/third_party/json/test/src/
Dunit-unicode.cpp51 void check_utf8dump(bool success_expected, int byte1, int byte2, int byte3, int byte4);
53 void check_utf8dump(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 = -… in check_utf8dump() argument
59 CAPTURE(byte3) in check_utf8dump()
69 if (byte3 != -1) in check_utf8dump()
71 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8dump()
125 void check_utf8string(bool success_expected, int byte1, int byte2, int byte3, int byte4);
128 void check_utf8string(bool success_expected, int byte1, int byte2 = -1, int byte3 = -1, int byte4 =… in check_utf8string() argument
146 if (byte3 != -1) in check_utf8string()
148 CAPTURE(byte3) in check_utf8string()
149 json_string += std::string(1, static_cast<char>(byte3)); in check_utf8string()
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java187 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()
497 byte byte3 = 0; in partialIsValidUtf8Default()
504 byte3 = (byte) (state >> 16); in partialIsValidUtf8Default()
506 if (byte3 == 0) { in partialIsValidUtf8Default()
507 byte3 = buffer.get(index++); in partialIsValidUtf8Default()
509 return incompleteStateFor(byte1, byte2, byte3); in partialIsValidUtf8Default()
524 || byte3 > (byte) 0xBF in partialIsValidUtf8Default()
911 int byte3 = 0; in partialIsValidUtf8() local
[all …]
/third_party/flatbuffers/java/com/google/flatbuffers/
DUtf8.java177 byte byte1, byte byte2, byte byte3, char[] resultArr, int resultPos) in handleThreeBytes() argument
184 || isNotTrailingByte(byte3)) { in handleThreeBytes()
188 … (((byte1 & 0x0F) << 12) | (trailingByteValue(byte2) << 6) | trailingByteValue(byte3)); in handleThreeBytes()
192 byte byte1, byte byte2, byte byte3, byte byte4, char[] resultArr, int resultPos) in handleFourBytes() argument
203 || isNotTrailingByte(byte3) in handleFourBytes()
209 | (trailingByteValue(byte3) << 6) in handleFourBytes()
/third_party/node/deps/icu-small/source/i18n/
Dcollation.cpp100 int32_t byte3 = ((int32_t)(basePrimary >> 8) & 0xff) - step; in decThreeBytePrimaryByOneStep() local
101 if(byte3 >= 2) { in decThreeBytePrimaryByOneStep()
102 return (basePrimary & 0xffff0000) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()
104 byte3 += 254; in decThreeBytePrimaryByOneStep()
120 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()
/third_party/icu/icu4c/source/i18n/
Dcollation.cpp100 int32_t byte3 = ((int32_t)(basePrimary >> 8) & 0xff) - step; in decThreeBytePrimaryByOneStep() local
101 if(byte3 >= 2) { in decThreeBytePrimaryByOneStep()
102 return (basePrimary & 0xffff0000) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()
104 byte3 += 254; in decThreeBytePrimaryByOneStep()
120 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollation.cpp100 int32_t byte3 = ((int32_t)(basePrimary >> 8) & 0xff) - step; in decThreeBytePrimaryByOneStep() local
101 if(byte3 >= 2) { in decThreeBytePrimaryByOneStep()
102 return (basePrimary & 0xffff0000) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()
104 byte3 += 254; in decThreeBytePrimaryByOneStep()
120 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollation.cpp100 int32_t byte3 = ((int32_t)(basePrimary >> 8) & 0xff) - step; in decThreeBytePrimaryByOneStep() local
101 if(byte3 >= 2) { in decThreeBytePrimaryByOneStep()
102 return (basePrimary & 0xffff0000) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()
104 byte3 += 254; in decThreeBytePrimaryByOneStep()
120 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollation.java538 int byte3 = ((int)(basePrimary >> 8) & 0xff) - step;
539 if(byte3 >= 2) {
540 return (basePrimary & 0xffff0000L) | (byte3 << 8);
542 byte3 += 254;
558 return (basePrimary & 0xff000000L) | (byte2 << 16) | (byte3 << 8);
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollation.java536 int byte3 = ((int)(basePrimary >> 8) & 0xff) - step;
537 if(byte3 >= 2) {
538 return (basePrimary & 0xffff0000L) | (byte3 << 8);
540 byte3 += 254;
556 return (basePrimary & 0xff000000L) | (byte2 << 16) | (byte3 << 8);
/third_party/libunwind/src/ia64/
Dunwind_decoder.h164 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()
173 ytreg = byte3; in unw_decode_x4()
175 if ((byte2 & 0x80) == 0 && byte3 == 0) in unw_decode_x4()
264 unw_word grmask, frmask, byte1, byte2, byte3; in unw_decode_p2_p5() local
266 byte1 = *dp++; byte2 = *dp++; byte3 = *dp++; in unw_decode_p2_p5()
268 frmask = ((byte1 & 0xf) << 16) | (byte2 << 8) | byte3; in unw_decode_p2_p5()
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DUtf8.kt135 byte3: Byte, in handleThreeBytes()
142 isNotTrailingByte(byte3) in handleThreeBytes()
147 …(byte1.toInt() and 0x0F shl 12 or (trailingByteValue(byte2) shl 6) or trailingByteValue(byte3)).to… in handleThreeBytes()
153 byte3: Byte, in handleFourBytes()
165 (byte1.toInt() shl 28) + (byte2 - 0x90.toByte()) shr 30 != 0 || isNotTrailingByte(byte3) || in handleFourBytes()
173 or (trailingByteValue(byte3) shl 6) in handleFourBytes()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_crc32.c738 uint8_t byte0, byte1, byte2, byte3; in sctp_finalize_crc32c() local
751 byte3 = (result >> 24) & 0x000000ff; in sctp_finalize_crc32c()
752 crc32c = ((byte0 << 24) | (byte1 << 16) | (byte2 << 8) | byte3); in sctp_finalize_crc32c()
/third_party/libphonenumber/cpp/src/phonenumbers/utf/
Dunicodetext.cc459 uint8 byte3 = static_cast<uint8>(it_[2]); in operator *() local
463 | (byte3 & 0x3F); in operator *()
468 | ((byte3 & 0x3F) << 6) in operator *()
/third_party/gstreamer/gstplugins_bad/sys/decklink/linux/
DLinuxCOM.h36 unsigned char byte3; member
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_iptc.cpp279 uint32 byte3 = stream.Get_uint8 (); in Parse() local
283 byte3 == 0x47) in Parse()
Ddng_image_writer.cpp3462 uint8 byte3 = (uint8) (code << (-shift3)); in PutCodeWord() local
3473 *dstPtr3 = byte3; in PutCodeWord()
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c2975 FT_UInt32 byte3 = (FT_UInt32)cf2_buf_readByte( charstring ); in cf2_interpT2CharString() local
2981 ( byte3 << 8 ) | in cf2_interpT2CharString()
/third_party/freetype/src/psaux/
Dpsintrp.c2975 FT_UInt32 byte3 = (FT_UInt32)cf2_buf_readByte( charstring ); in cf2_interpT2CharString() local
2981 ( byte3 << 8 ) | in cf2_interpT2CharString()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c2978 FT_UInt32 byte3 = (FT_UInt32)cf2_buf_readByte( charstring ); in cf2_interpT2CharString() local
2984 ( byte3 << 8 ) | in cf2_interpT2CharString()
/third_party/typescript/src/compiler/
Dutilities.ts5265 let byte1: number, byte2: number, byte3: number, byte4: number;
5272 byte3 = (charCodes[i + 1] & 0B00001111) << 2 | charCodes[i + 2] >> 6;
5278 byte3 = byte4 = 64;
5285 …64Digits.charAt(byte1) + base64Digits.charAt(byte2) + base64Digits.charAt(byte3) + base64Digits.ch…
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/DartARM32/
Dassembler_arm.cc2634 const uint32_t byte3 = (value & 0xff000000) >> 24; in LoadPatchableImmediate() local
2635 mov(rd, Operand(4, byte3), cond); in LoadPatchableImmediate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp633 double byte3 = deFloat16To64((deFloat16)((iRep >> 48) & 0xffff)); in doPrintValue16() local
634 …0) << " " << fmt.floatToHex(byte1) << " " << fmt.floatToHex(byte2) << " " << fmt.floatToHex(byte3); in doPrintValue16()
/third_party/typescript/lib/
DtypingsInstaller.js18049 var byte1, byte2, byte3, byte4;
18055 byte3 = (charCodes[i + 1] & 15) << 2 | charCodes[i + 2] >> 6;
18060 byte3 = byte4 = 64;
18066 …64Digits.charAt(byte1) + base64Digits.charAt(byte2) + base64Digits.charAt(byte3) + base64Digits.ch…
Dtsc.js14139 var byte1, byte2, byte3, byte4;
14143 byte3 = (charCodes[i + 1] & 15) << 2 | charCodes[i + 2] >> 6;
14146 byte3 = byte4 = 64;
14151 …64Digits.charAt(byte1) + base64Digits.charAt(byte2) + base64Digits.charAt(byte3) + base64Digits.ch…
Dtsserver.js18060 var byte1, byte2, byte3, byte4;
18066 byte3 = (charCodes[i + 1] & 15) << 2 | charCodes[i + 2] >> 6;
18071 byte3 = byte4 = 64;
18077 …64Digits.charAt(byte1) + base64Digits.charAt(byte2) + base64Digits.charAt(byte3) + base64Digits.ch…

12