Home
last modified time | relevance | path

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

1234567891011

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp46 ArrayRef<uint8_t> Bytes, uint64_t Address,
49 ArrayRef<uint8_t> Bytes,
76 static int nextByte(ArrayRef<uint8_t> Bytes, uint64_t &Size) { in nextByte() argument
77 if (Size >= Bytes.size()) in nextByte()
79 auto V = Bytes[Size]; in nextByte()
84 static bool nextLEB(int64_t &Val, ArrayRef<uint8_t> Bytes, uint64_t &Size, in nextLEB() argument
88 Val = Signed ? decodeSLEB128(Bytes.data() + Size, &N, in nextLEB()
89 Bytes.data() + Bytes.size(), &Error) in nextLEB()
90 : static_cast<int64_t>(decodeULEB128(Bytes.data() + Size, &N, in nextLEB()
91 Bytes.data() + Bytes.size(), in nextLEB()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/Disassembler/
H A DBPFDisassembler.cpp69 ArrayRef<uint8_t> Bytes, uint64_t Address,
140 static DecodeStatus readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction64() argument
145 if (Bytes.size() < 8) { in readInstruction64()
152 Hi = (Bytes[0] << 24) | (Bytes[1] << 16) | (Bytes[2] << 0) | (Bytes[3] << 8); in readInstruction64()
153 Lo = (Bytes[4] << 0) | (Bytes[5] << 8) | (Bytes[6] << 16) | (Bytes[7] << 24); in readInstruction64()
155 Hi = (Bytes[0] << 24) | ((Bytes[1] & 0x0F) << 20) | ((Bytes[1] & 0xF0) << 12) | in readInstruction64()
156 (Bytes[2] << 8) | (Bytes[3] << 0); in readInstruction64()
157 Lo = (Bytes[4] << 24) | (Bytes[5] << 16) | (Bytes[6] << 8) | (Bytes[7] << 0); in readInstruction64()
165 ArrayRef<uint8_t> Bytes, in getInstruction() argument
172 Result = readInstruction64(Bytes, Address, Size, Insn, IsLittleEndian); in getInstruction()
[all …]
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/bsd/tcpdump/dist/tests/
H A Dforces3vvv.out62 ASResult TLV, length 8 (data length 4 Bytes)
79 LFBselect TLV, length 28 (data length 24 Bytes)
82 PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
97 LFBselect TLV, length 68 (data length 64 Bytes)
100 PATH-DATA TLV, length 52 (data encapsulated 48 Bytes)
103 FULLDATA TLV (Length 40 DataLen 36 Bytes)
127 LFBselect TLV, length 28 (data length 24 Bytes)
130 PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
145 LFBselect TLV, length 116 (data length 112 Bytes)
148 PATH-DATA TLV, length 100 (data encapsulated 96 Bytes)
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DBase64.h20 template <class InputBytes> std::string encodeBase64(InputBytes const &Bytes) { in encodeBase64() argument
25 Buffer.resize(((Bytes.size() + 2) / 3) * 4); in encodeBase64()
28 for (size_t n = Bytes.size() / 3 * 3; i < n; i += 3, j += 4) { in encodeBase64()
29 uint32_t x = ((unsigned char)Bytes[i] << 16) | in encodeBase64()
30 ((unsigned char)Bytes[i + 1] << 8) | in encodeBase64()
31 (unsigned char)Bytes[i + 2]; in encodeBase64()
37 if (i + 1 == Bytes.size()) { in encodeBase64()
38 uint32_t x = ((unsigned char)Bytes[i] << 16); in encodeBase64()
43 } else if (i + 2 == Bytes.size()) { in encodeBase64()
45 ((unsigned char)Bytes[i] << 16) | ((unsigned char)Bytes[i + 1] << 8); in encodeBase64()
H A DMD5.h56 std::array<uint8_t, 16> Bytes; member
58 operator std::array<uint8_t, 16>() const { return Bytes; }
60 const uint8_t &operator[](size_t I) const { return Bytes[I]; }
61 uint8_t &operator[](size_t I) { return Bytes[I]; }
69 return endian::read<uint64_t, little, unaligned>(Bytes.data()); in low()
74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8); in high()
105 return LHS.Bytes == RHS.Bytes;
H A DDataExtractor.h20 uint8_t Bytes[3]; member
22 Bytes[0] = Bytes[1] = Bytes[2] = U; in Uint24()
25 Bytes[0] = U0; Bytes[1] = U1; Bytes[2] = U2; in Uint24()
29 return Bytes[LoIx] + (Bytes[1] << 8) + (Bytes[2-LoIx] << 16); in getAsUint32()
38 return uint24_t(C.Bytes[2], C.Bytes[1], C.Bytes[0]); in getSwappedBytes()
H A DBinaryStreamReader.h79 ArrayRef<uint8_t> Bytes; in readInteger() local
80 if (auto EC = readBytes(Bytes, sizeof(T))) in readInteger()
84 Bytes.data(), Stream.getEndian()); in readInteger()
188 ArrayRef<uint8_t> Bytes; in readArray() local
198 if (auto EC = readBytes(Bytes, NumElements * sizeof(T))) in readArray()
201 assert(isAddrAligned(Align::Of<T>(), Bytes.data()) && in readArray()
204 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements); in readArray()
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/sys/external/bsd/acpica/dist/utilities/
H A Dutmisc.c142 UINT8 Bytes[4]; in AcpiUtDwordByteSwap() member
147 UINT8 Bytes[4]; in AcpiUtDwordByteSwap() member
156 Out.Bytes[0] = In.Bytes[3]; in AcpiUtDwordByteSwap()
157 Out.Bytes[1] = In.Bytes[2]; in AcpiUtDwordByteSwap()
158 Out.Bytes[2] = In.Bytes[1]; in AcpiUtDwordByteSwap()
159 Out.Bytes[3] = In.Bytes[0]; in AcpiUtDwordByteSwap()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DFileWriter.cpp21 uint8_t Bytes[32]; in writeSLEB() local
22 auto Length = encodeSLEB128(S, Bytes); in writeSLEB()
23 assert(Length < sizeof(Bytes)); in writeSLEB()
24 OS.write(reinterpret_cast<const char *>(Bytes), Length); in writeSLEB()
28 uint8_t Bytes[32]; in writeULEB() local
29 auto Length = encodeULEB128(U, Bytes); in writeULEB()
30 assert(Length < sizeof(Bytes)); in writeULEB()
31 OS.write(reinterpret_cast<const char *>(Bytes), Length); in writeULEB()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/CommandGuide/
H A Dllvm-bcanalyzer.rst78 **Module Bytes**
82 **Function Bytes**
87 **Global Types Bytes**
92 **Constant Pool Bytes**
97 **Module Globals Bytes**
102 **Instruction List Bytes**
106 the Function Bytes.
108 **Compaction Table Bytes**
112 the Function Bytes.
114 **Symbol Table Bytes**
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/XRay/
H A DFDRTraceWriter.cpp49 auto Bytes = IndexedWriter<0>::write(OS, T); in writeMetadata() local
50 assert(Bytes <= 15 && "Must only ever write at most 16 byte metadata!"); in writeMetadata()
52 for (; Bytes < 15; ++Bytes) in writeMetadata()
99 ArrayRef<char> Bytes(D.data(), D.size()); in visit() local
100 OS.write(Bytes); in visit()
108 ArrayRef<char> Bytes(D.data(), D.size()); in visit() local
109 OS.write(Bytes); in visit()
117 ArrayRef<char> Bytes(D.data(), D.size()); in visit() local
118 OS.write(Bytes); in visit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/Disassembler/
H A DAVRDisassembler.cpp42 ArrayRef<uint8_t> Bytes, uint64_t Address,
234 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction16() argument
236 if (Bytes.size() < 2) { in readInstruction16()
242 Insn = (Bytes[0] << 0) | (Bytes[1] << 8); in readInstruction16()
247 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument
250 if (Bytes.size() < 4) { in readInstruction32()
256 Insn = (Bytes[0] << 16) | (Bytes[1] << 24) | (Bytes[2] << 0) | (Bytes[3] << 8); in readInstruction32()
271 ArrayRef<uint8_t> Bytes, in getInstruction() argument
280 Result = readInstruction16(Bytes, Address, Size, Insn); in getInstruction()
294 Result = readInstruction32(Bytes, Address, Size, Insn); in getInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp85 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset() local
86 if (Bytes == 0) in EmitTargetCodeForMemset()
95 Bytes <= 16 && countPopulation(Bytes) <= 2 : in EmitTargetCodeForMemset()
96 Bytes <= 4) { in EmitTargetCodeForMemset()
97 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); in EmitTargetCodeForMemset()
98 unsigned Size2 = Bytes - Size1; in EmitTargetCodeForMemset()
113 if (Bytes <= 2) { in EmitTargetCodeForMemset()
116 if (Bytes == 1) in EmitTargetCodeForMemset()
125 assert(Bytes >= 2 && "Should have dealt with 0- and 1-byte cases already"); in EmitTargetCodeForMemset()
131 Chain, Dst, Dst, Bytes); in EmitTargetCodeForMemset()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DDebugChecksumsSubsection.cpp69 ArrayRef<uint8_t> Bytes) { in addChecksum() argument
71 if (!Bytes.empty()) { in addChecksum()
72 uint8_t *Copy = Storage.Allocate<uint8_t>(Bytes.size()); in addChecksum()
73 ::memcpy(Copy, Bytes.data(), Bytes.size()); in addChecksum()
74 Entry.Checksum = makeArrayRef(Copy, Bytes.size()); in addChecksum()
86 uint32_t Len = alignTo(sizeof(FileChecksumEntryHeader) + Bytes.size(), 4); in addChecksum()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Windows/
H A DDynamicLibrary.inc71 static bool GetProcessModules(HANDLE H, DWORD &Bytes, HMODULE *Data = nullptr) {
76 !EnumProcessModulesEx(H, Data, Bytes, &Bytes, LIST_MODULES_64BIT)
78 !EnumProcessModules(H, Data, Bytes, &Bytes)
113 DWORD Bytes = 0;
115 if (!GetProcessModules(Self, Bytes))
124 assert(Bytes && ((Bytes % sizeof(HMODULE)) == 0) &&
126 Handles.resize(Bytes / sizeof(HMODULE));
127 if (!GetProcessModules(Self, Bytes, Handles.data()))
129 } while (Bytes != (Handles.size() * sizeof(HMODULE)));
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A Dcircular_raw_ostream.cpp25 unsigned Bytes = in write_impl() local
27 memcpy(Cur, Ptr, Bytes); in write_impl()
28 Size -= Bytes; in write_impl()
29 Cur += Bytes; in write_impl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/Disassembler/
H A DLanaiDisassembler.cpp75 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t &Size, in readInstruction32() argument
78 if (Bytes.size() < 4) { in readInstruction32()
85 (Bytes[0] << 24) | (Bytes[1] << 16) | (Bytes[2] << 8) | (Bytes[3] << 0); in readInstruction32()
133 ArrayRef<uint8_t> Bytes, uint64_t Address, in getInstruction() argument
137 DecodeStatus Result = readInstruction32(Bytes, Size, Insn); in getInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h159 char Bytes[9]; // Use one more byte to silence a warning from Visual C++. in BackpatchWord() local
173 ssize_t BytesRead = FS->read(Bytes, BytesFromDisk); in BackpatchWord()
177 Bytes[BytesFromDisk + i] = Out[i]; in BackpatchWord()
179 Bytes, StartBit)) && in BackpatchWord()
184 endian::writeAtBitAlignment<uint32_t, little, unaligned>(Bytes, NewWord, in BackpatchWord()
189 FS->write(Bytes, BytesFromDisk); in BackpatchWord()
191 Out[i] = Bytes[BytesFromDisk + i]; in BackpatchWord()
465 void emitBlob(ArrayRef<UIntTy> Bytes, bool ShouldEmitSize = true) {
468 EmitVBR(static_cast<uint32_t>(Bytes.size()), 6);
474 for (const auto &B : Bytes) {
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-ml/
H A DDisassembler.cpp33 static bool PrintInsts(const MCDisassembler &DisAsm, const ByteArrayTy &Bytes, in PrintInsts() argument
36 ArrayRef<uint8_t> Data(Bytes.first.data(), Bytes.first.size()); in PrintInsts()
42 for (Index = 0; Index < Bytes.first.size(); Index += Size) { in PrintInsts()
49 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
61 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mc/
H A DDisassembler.cpp35 const ByteArrayTy &Bytes, in PrintInsts() argument
39 ArrayRef<uint8_t> Data(Bytes.first.data(), Bytes.first.size()); in PrintInsts()
45 for (Index = 0; Index < Bytes.first.size(); Index += Size) { in PrintInsts()
52 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
65 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/Disassembler/
H A DVEDisassembler.cpp39 ArrayRef<uint8_t> Bytes, uint64_t Address,
259 static DecodeStatus readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction64() argument
263 if (Bytes.size() < 8) { in readInstruction64()
269 ? ((uint64_t)Bytes[0] << 0) | ((uint64_t)Bytes[1] << 8) | in readInstruction64()
270 ((uint64_t)Bytes[2] << 16) | ((uint64_t)Bytes[3] << 24) | in readInstruction64()
271 ((uint64_t)Bytes[4] << 32) | ((uint64_t)Bytes[5] << 40) | in readInstruction64()
272 ((uint64_t)Bytes[6] << 48) | ((uint64_t)Bytes[7] << 56) in readInstruction64()
273 : ((uint64_t)Bytes[7] << 0) | ((uint64_t)Bytes[6] << 8) | in readInstruction64()
274 ((uint64_t)Bytes[5] << 16) | ((uint64_t)Bytes[4] << 24) | in readInstruction64()
275 ((uint64_t)Bytes[3] << 32) | ((uint64_t)Bytes[2] << 40) | in readInstruction64()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/
H A Devpciph_aes_cts.txt115 # 17 Bytes
123 # 31 Bytes
131 # 32 Bytes
207 # 17 Bytes
215 # 31 Bytes
223 # 32 Bytes
305 # 17 Bytes
313 # 31 Bytes
321 # 32 Bytes
329 # 17 Bytes
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp377 template <typename T> static inline T eatBytes(ArrayRef<uint8_t>& Bytes) { in DECODE_SDWA()
378 assert(Bytes.size() >= sizeof(T)); in DECODE_SDWA()
379 const auto Res = support::endian::read<T, support::endianness::little>(Bytes.data()); in DECODE_SDWA()
380 Bytes = Bytes.slice(sizeof(T)); in DECODE_SDWA()
392 const auto SavedBytes = Bytes; in tryDecodeInst()
397 Bytes = SavedBytes; in tryDecodeInst()
422 Bytes = Bytes_.slice(0, MaxInstBytesNum); in getInstruction()
431 if (Bytes.size() >= 8) { in getInstruction()
432 const uint64_t QW = eatBytes<uint64_t>(Bytes); in getInstruction()
481 Bytes = Bytes_.slice(0, MaxInstBytesNum); in getInstruction()
[all …]

1234567891011