Home
last modified time | relevance | path

Searched refs:byte1 (Results 1 – 25 of 30) sorted by relevance

12

/third_party/json/tests/src/
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 = -… in check_utf8dump() argument
39 CAPTURE(byte1) in check_utf8dump()
44 json_string += std::string(1, static_cast<char>(byte1)); 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 =… in check_utf8string() argument
132 CAPTURE(byte1) in check_utf8string()
133 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8string()
195 for (int byte1 = 0x80; byte1 <= 0xC1; ++byte1) in skip() local
197 check_utf8string(false, byte1); in skip()
[all …]
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 = -… in check_utf8dump() argument
39 CAPTURE(byte1) in check_utf8dump()
44 json_string += std::string(1, static_cast<char>(byte1)); 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 =… in check_utf8string() argument
132 CAPTURE(byte1) in check_utf8string()
133 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8string()
197 for (int byte1 = 0xF1; byte1 <= 0xF3; ++byte1) in skip() local
205 check_utf8string(true, byte1, byte2, byte3, byte4); in skip()
[all …]
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 = -… in check_utf8dump() argument
39 CAPTURE(byte1) in check_utf8dump()
44 json_string += std::string(1, static_cast<char>(byte1)); 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 =… in check_utf8string() argument
132 CAPTURE(byte1) in check_utf8string()
133 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8string()
197 for (int byte1 = 0xF4; byte1 <= 0xF4; ++byte1) in skip() local
205 check_utf8string(true, byte1, byte2, byte3, byte4); in skip()
[all …]
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 = -… in check_utf8dump() argument
39 CAPTURE(byte1) in check_utf8dump()
44 json_string += std::string(1, static_cast<char>(byte1)); 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 =… in check_utf8string() argument
132 CAPTURE(byte1) in check_utf8string()
133 json_string += std::string(1, static_cast<char>(byte1)); in check_utf8string()
197 for (int byte1 = 0xF0; byte1 <= 0xF0; ++byte1) in skip() local
205 check_utf8string(true, byte1, byte2, byte3, byte4); in skip()
[all …]
/third_party/rust/crates/memchr/bench/src/memchr/
Dmod.rs29 search.byte1.count, in all()
30 memchr1_count(search.byte1.byte, search.corpus), in all()
37 search.byte1.count, in all()
38 memchr1_count(search.byte1.byte, search.corpus), in all()
45 search.byte1.count, in all()
46 memchr1_count(search.byte1.byte, search.corpus), in all()
53 search.byte1.count, in all()
54 memchr1_count(search.byte1.byte, search.corpus), in all()
62 search.byte1.count, in all()
63 imp::memchr1_libc_count(search.byte1.byte, search.corpus), in all()
[all …]
Dinputs.rs258 pub byte1: SearchByte, field
269 Some(Search1 { corpus, byte1: bytes[0] }) in new()
280 pub byte1: SearchByte, field
293 Some(Search2 { corpus, byte1: bytes[0], byte2: bytes[1] }) in new()
304 pub byte1: SearchByte, field
321 byte1: bytes[0], in new()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java179 private static int incompleteStateFor(int byte1) { in incompleteStateFor() argument
180 return (byte1 > (byte) 0xF4) ? MALFORMED : byte1; in incompleteStateFor()
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()
194 int byte1 = bytes[index - 1]; in incompleteStateFor() local
197 return incompleteStateFor(byte1); in incompleteStateFor()
199 return incompleteStateFor(byte1, bytes[index]); in incompleteStateFor()
[all …]
/third_party/libunwind/libunwind/src/ia64/
Dunwind_decoder.h109 unsigned char byte1, abreg; in unw_decode_x1() local
112 byte1 = *dp++; in unw_decode_x1()
115 abreg = (byte1 & 0x7f); in unw_decode_x1()
116 if (byte1 & 0x80) in unw_decode_x1()
126 unsigned char byte1, byte2, abreg, x, ytreg; in unw_decode_x2() local
129 byte1 = *dp++; byte2 = *dp++; in unw_decode_x2()
131 abreg = (byte1 & 0x7f); in unw_decode_x2()
133 x = (byte1 >> 7) & 1; in unw_decode_x2()
134 if ((byte1 & 0x80) == 0 && ytreg == 0) in unw_decode_x2()
144 unsigned char byte1, byte2, abreg, qp; in unw_decode_x3() local
[all …]
/third_party/rust/crates/aho-corasick/src/
Dprefilter.rs563 byte1: bytes[0], in build()
568 byte1: bytes[0], in build()
573 byte1: bytes[0], in build()
662 byte1: u8, field
673 memchr(self.byte1, &haystack[at..]) in next_candidate()
722 byte1: u8, field
733 memchr2(self.byte1, self.byte2, &haystack[at..]) in next_candidate()
761 byte1: u8, field
773 memchr3(self.byte1, self.byte2, self.byte3, &haystack[at..]) in next_candidate()
869 1 => Some(PrefilterObj::new(StartBytesOne { byte1: bytes[0] })), in build()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/utf/
Dunicodetext.cc450 uint8 byte1 = static_cast<uint8>(it_[0]); in operator *() local
451 if (byte1 < 0x80) in operator *()
452 return byte1; in operator *()
455 if (byte1 < 0xE0) in operator *()
456 return ((byte1 & 0x1F) << 6) in operator *()
460 if (byte1 < 0xF0) in operator *()
461 return ((byte1 & 0x0F) << 12) in operator *()
466 return ((byte1 & 0x07) << 18) in operator *()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_usefont.c142 char2b.byte1 = (c >> 8) & 0xff; in fill_bitmap()
169 unsigned int byte1 = 0, byte2 = 0; in isvalid() local
183 byte1 = which >> 8; in isvalid()
186 (fs->min_byte1 > byte1) || (fs->max_byte1 < byte1)) in isvalid()
198 i = ((byte1 - fs->min_byte1) * pages) + in isvalid()
/third_party/mesa3d/src/glx/
Dxfont.c146 char2b.byte1 = (c >> 8) & 0xff; in fill_bitmap()
173 int byte1 = 0, byte2 = 0; in isvalid() local
187 byte1 = which >> 8; in isvalid()
190 (fs->min_byte1 > byte1) || (fs->max_byte1 < byte1)) in isvalid()
202 i = ((byte1 - fs->min_byte1) * pages) + in isvalid()
/third_party/vk-gl-cts/external/amber/src/samples/
Dppm.cc31 uint8_t byte1(uint32_t word) { in byte1() function
62 buffer->push_back(byte1(pixel)); // G in ConvertToPPM()
Dpng.cc35 unsigned char byte1(uint32_t word) { in byte1() function
63 data.push_back(byte1(pixel)); // G in ConvertToPNG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.cpp323 uint8_t byte1, byte2; in readPrefixes() local
324 if (consume(insn, byte1)) { in readPrefixes()
334 if ((insn->mode == MODE_64BIT || (byte1 & 0xc0) == 0xc0) && in readPrefixes()
335 ((~byte1 & 0xc) == 0xc) && ((byte2 & 0x4) == 0x4)) { in readPrefixes()
344 insn->vectorExtensionPrefix[1] = byte1; in readPrefixes()
370 uint8_t byte1; in readPrefixes() local
371 if (peek(insn, byte1)) { in readPrefixes()
376 if (insn->mode == MODE_64BIT || (byte1 & 0xc0) == 0xc0) in readPrefixes()
401 uint8_t byte1; in readPrefixes() local
402 if (peek(insn, byte1)) { in readPrefixes()
[all …]
/third_party/node/deps/v8/src/base/
Datomicops.h419 uint8_t byte1 = u1 & 0xFF; in MemcmpNotEqualFundamental() local
421 if (byte1 != byte2) return byte1 < byte2 ? -1 : 1; in MemcmpNotEqualFundamental()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_iptc.cpp277 uint32 byte1 = stream.Get_uint8 (); in Parse() local
281 if (byte1 == 27 /* Escape */ && in Parse()
Ddng_image_writer.cpp3437 uint8 byte1 = (uint8) (code >> shift1); in PutCodeWord() local
3448 *dstPtr1 |= byte1; in PutCodeWord()
3450 *dstPtr1 = byte1; in PutCodeWord()
3467 *dstPtr1 |= byte1; in PutCodeWord()
3469 *dstPtr1 = byte1; in PutCodeWord()
/third_party/vixl/src/aarch64/
Dmacro-assembler-aarch64.cc1027 int byte1 = (imm & 0xff); in Emit() local
1029 if (byte1 == byte2) { in Emit()
1030 movi(vd.Is64Bits() ? vd.V8B() : vd.V16B(), byte1); in Emit()
1031 } else if (byte1 == 0) { in Emit()
1034 movi(vd, byte1); in Emit()
1035 } else if (byte1 == 0xff) { in Emit()
1038 mvni(vd, ~byte1 & 0xff); in Emit()
/third_party/json/include/nlohmann/detail/input/
Dbinary_reader.hpp844 const auto byte1 = static_cast<unsigned char>(byte1_raw); in parse_cbor_internal() local
855 const auto half = static_cast<unsigned int>((byte1 << 8u) + byte2); in parse_cbor_internal()
2391 const auto byte1 = static_cast<unsigned char>(byte1_raw); in get_ubjson_value() local
2402 const auto half = static_cast<unsigned int>((byte2 << 8u) + byte1); in get_ubjson_value()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c2909 CF2_Int byte1 = cf2_buf_readByte( charstring ); in cf2_interpT2CharString() local
2913 v = (FT_Short)( ( byte1 << 8 ) | in cf2_interpT2CharString()
2976 FT_UInt32 byte1 = (FT_UInt32)cf2_buf_readByte( charstring ); in cf2_interpT2CharString() local
2982 v = (CF2_Fixed)( ( byte1 << 24 ) | in cf2_interpT2CharString()
/third_party/node/deps/v8/src/codegen/arm64/
Dmacro-assembler-arm64.cc413 int byte1 = (imm & 0xFF); in Movi16bitHelper() local
415 if (byte1 == byte2) { in Movi16bitHelper()
416 movi(vd.Is64Bits() ? vd.V8B() : vd.V16B(), byte1); in Movi16bitHelper()
417 } else if (byte1 == 0) { in Movi16bitHelper()
420 movi(vd, byte1); in Movi16bitHelper()
421 } else if (byte1 == 0xFF) { in Movi16bitHelper()
424 mvni(vd, ~byte1 & 0xFF); in Movi16bitHelper()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/DartARM32/
Dassembler_arm.cc2632 const uint32_t byte1 = (value & 0x0000ff00) >> 8; in LoadPatchableImmediate() local
2637 orr(rd, rd, Operand(12, byte1), cond); in LoadPatchableImmediate()
/third_party/typescript/src/compiler/
Dutilities.ts5283 let byte1: number, byte2: number, byte3: number, byte4: number;
5288 byte1 = charCodes[i] >> 2;
5303 …result += base64Digits.charAt(byte1) + base64Digits.charAt(byte2) + base64Digits.charAt(byte3) + b…
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp631 double byte1 = deFloat16To64((deFloat16)((iRep >> 16) & 0xffff)); in doPrintValue16() local
634 …os << fmt.floatToHex(byte0) << " " << fmt.floatToHex(byte1) << " " << fmt.floatToHex(byte2) << " "… in doPrintValue16()

12