Home
last modified time | relevance | path

Searched refs:Bytes (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/Disassembler/
H A DBPFDisassembler.cpp70 ArrayRef<uint8_t> Bytes, uint64_t Address,
142 static DecodeStatus readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction64() argument
147 if (Bytes.size() < 8) { in readInstruction64()
154 Hi = (Bytes[0] << 24) | (Bytes[1] << 16) | (Bytes[2] << 0) | (Bytes[3] << 8); in readInstruction64()
155 Lo = (Bytes[4] << 0) | (Bytes[5] << 8) | (Bytes[6] << 16) | (Bytes[7] << 24); in readInstruction64()
157 Hi = (Bytes[0] << 24) | ((Bytes[1] & 0x0F) << 20) | ((Bytes[1] & 0xF0) << 12) | in readInstruction64()
158 (Bytes[2] << 8) | (Bytes[3] << 0); in readInstruction64()
159 Lo = (Bytes[4] << 24) | (Bytes[5] << 16) | (Bytes[6] << 8) | (Bytes[7] << 0); in readInstruction64()
167 ArrayRef<uint8_t> Bytes, in getInstruction() argument
174 Result = readInstruction64(Bytes, Address, Size, Insn, IsLittleEndian); in getInstruction()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp46 ArrayRef<uint8_t> Bytes, uint64_t Address,
49 onSymbolStart(SymbolInfoTy &Symbol, uint64_t &Size, ArrayRef<uint8_t> Bytes,
75 static int nextByte(ArrayRef<uint8_t> Bytes, uint64_t &Size) { in nextByte() argument
76 if (Size >= Bytes.size()) in nextByte()
78 auto V = Bytes[Size]; in nextByte()
83 static bool nextLEB(int64_t &Val, ArrayRef<uint8_t> Bytes, uint64_t &Size, in nextLEB() argument
87 Val = Signed ? decodeSLEB128(Bytes.data() + Size, &N, in nextLEB()
88 Bytes.data() + Bytes.size(), &Error) in nextLEB()
89 : static_cast<int64_t>(decodeULEB128(Bytes.data() + Size, &N, in nextLEB()
90 Bytes.data() + Bytes.size(), in nextLEB()
[all …]
/openbsd-src/gnu/llvm/llvm/utils/UnicodeData/
H A DUnicodeNameMappingGenerator.cpp142 auto Bytes = dumpIndex(Dict); in serialize() local
143 return {Dict, Bytes}; in serialize()
185 std::vector<uint8_t> Bytes; in dumpIndex() local
186 Bytes.reserve(250'000); in dumpIndex()
188 Bytes.push_back(0); in dumpIndex()
201 const std::size_t Offset = Bytes.size(); in dumpIndex()
212 Bytes.push_back(FirstByte); in dumpIndex()
216 Bytes.push_back(FirstByte); in dumpIndex()
221 Bytes.push_back(High); in dumpIndex()
222 Bytes.push_back(Low); in dumpIndex()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DBase64.h23 template <class InputBytes> std::string encodeBase64(InputBytes const &Bytes) { in encodeBase64() argument
28 Buffer.resize(((Bytes.size() + 2) / 3) * 4); in encodeBase64()
31 for (size_t n = Bytes.size() / 3 * 3; i < n; i += 3, j += 4) { in encodeBase64()
32 uint32_t x = ((unsigned char)Bytes[i] << 16) | in encodeBase64()
33 ((unsigned char)Bytes[i + 1] << 8) | in encodeBase64()
34 (unsigned char)Bytes[i + 2]; in encodeBase64()
40 if (i + 1 == Bytes.size()) { in encodeBase64()
41 uint32_t x = ((unsigned char)Bytes[i] << 16); in encodeBase64()
46 } else if (i + 2 == Bytes.size()) { in encodeBase64()
48 ((unsigned char)Bytes[i] << 16) | ((unsigned char)Bytes[i + 1] << 8); in encodeBase64()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARC/Disassembler/
H A DARCDisassembler.cpp44 ArrayRef<uint8_t> Bytes, uint64_t Address,
50 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument
55 (Bytes[0] << 16) | (Bytes[1] << 24) | (Bytes[2] << 0) | (Bytes[3] << 8); in readInstruction32()
59 static bool readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction64() argument
62 Insn = ((uint64_t)Bytes[0] << 16) | ((uint64_t)Bytes[1] << 24) | in readInstruction64()
63 ((uint64_t)Bytes[2] << 0) | ((uint64_t)Bytes[3] << 8) | in readInstruction64()
64 ((uint64_t)Bytes[4] << 48) | ((uint64_t)Bytes[5] << 56) | in readInstruction64()
65 ((uint64_t)Bytes[6] << 32) | ((uint64_t)Bytes[7] << 40); in readInstruction64()
69 static bool readInstruction48(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction48() argument
72 Insn = ((uint64_t)Bytes[0] << 0) | ((uint64_t)Bytes[1] << 8) | in readInstruction48()
[all …]
/openbsd-src/regress/sbin/pfctl/
H A Dpf17.optimized4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf17.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf68.optimized4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf4.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf68.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf47.optimized4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf47.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf88.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf40.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf81.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf87.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf7.optimized4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf10.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf7.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf81.optimized4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf2.optimized4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf87.optimized4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf2.loaded4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
H A Dpf18.optimized4 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
8 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
12 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
16 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
20 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
24 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
28 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
32 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
36 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
40 [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/Disassembler/
H A DMSP430Disassembler.cpp34 ArrayRef<uint8_t> Bytes, uint64_t Address,
38 ArrayRef<uint8_t> Bytes, uint64_t Address,
42 ArrayRef<uint8_t> Bytes, uint64_t Address,
50 ArrayRef<uint8_t> Bytes, uint64_t Address,
230 ArrayRef<uint8_t> Bytes, in getInstructionI() argument
233 uint64_t Insn = support::endian::read16le(Bytes.data()); in getInstructionI()
247 if (Bytes.size() < (Words + 1) * 2) { in getInstructionI()
251 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + 2) << 16; in getInstructionI()
261 if (Bytes.size() < (Words + 1) * 2) { in getInstructionI()
265 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + Words * 2) in getInstructionI()
[all …]

12345678910>>...14