Home
last modified time | relevance | path

Searched refs:unpack (Results 1 – 22 of 22) sorted by relevance

/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py399 rc = struct.unpack('>I', rsp[6:10])[0]
401 cc = struct.unpack('>I', cmd[6:10])[0]
423 pcr_update_cnt, pcr_select_cnt = struct.unpack('>II', rsp[10:18])
427 alg2, pcrsel_len2 = struct.unpack('>HB', rsp[:3])
431 digest_cnt = struct.unpack('>I', rsp[:4])[0]
472 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
587 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
630 private_len = struct.unpack('>H', blob[0:2])[0]
632 public_len = struct.unpack('>H', blob[public_start:public_start + 2])[0]
648 data_handle = struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
[all …]
H A Dtpm2_tests.py185 sz = struct.unpack('>I', hdr[2:6])[0]
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DEventClass.py60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf)
89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf)
/linux/Documentation/networking/device_drivers/atm/
H A Dcxacru-cf.py45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
/linux/tools/testing/selftests/drivers/net/hw/
H A Dtso.py23 outq = struct.unpack("I", outq)[0]
33 return struct.unpack("I", info[100:104])[0]
/linux/tools/usb/
H A Dp9_fwd.py122 size = struct.unpack("<I", data[:4])[0]
136 size = struct.unpack("<I", data[:4])[0]
/linux/Documentation/core-api/
H A Dpacking.rst271 pack() and unpack()
279 Calling unpack(...) is equivalent, and preferred, to calling packing(..., UNPACK).
286 repetitive calls to pack() and unpack() for each field, but instead use
297 An additional benefit over pack() and unpack() is that sanity checks on the
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py274 self._len, self._type = struct.unpack("HH", raw[offset : offset + 4])
291 return format_.unpack(self.raw)[0]
298 return format_.unpack(self.raw)[0]
340 struct.unpack("IHHII", self.hdr)
349 self.error = struct.unpack("i", self.raw[0:4])[0]
353 self.error = struct.unpack("i", self.raw[0:4])[0]
778 nsid = struct.unpack('i', cmsg_data)[0]
1090 value, selector = struct.unpack("II", attr.raw)
/linux/tools/testing/selftests/x86/bugs/
H A Dcommon.py126 sym_offset = struct.unpack('<i', data)[0] + i
/linux/scripts/gdb/linux/
H A Dproc.py226 return unpack(output_fmt, pack(fdt_header_be,
H A Dsymbols.py72 n_namesz, n_descsz, n_type = struct.unpack(">III", elf_note)
/linux/Documentation/dev-tools/
H A Dgcov.rst251 echo "$DEST successfully created, copy to test system and unpack with:"
284 echo "$DEST successfully created, copy to build system and unpack with:"
/linux/Documentation/scsi/
H A DNinjaSCSI.rst63 (c) If you use this driver with Kernel 2.2, unpack pcmcia-cs in some directory
/linux/tools/testing/selftests/drivers/net/
H A Dpsp.py30 return struct.unpack("I", outq)[0]
72 'spi': struct.unpack('I', tx[:4])[0],
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-fcoe86 (Ethernet) packets, unpack them, and forward the embedded
/linux/tools/power/pm-graph/
H A Dsleepgraph.py5834 length = struct.unpack('H', buf[i+22:i+24])[0]
5835 base, num = struct.unpack('IH', buf[i+24:i+30])
5838 length = struct.unpack('H', buf[i+6:i+8])[0]
5839 base, num = struct.unpack('IH', buf[i+8:i+14])
5857 type, size, handle = struct.unpack('BBH', buf[i:i+4])
5860 if 0 == struct.unpack('H', buf[n:n+2])[0]:
5867 idx = struct.unpack('B', buf[i+idxadr:i+idxadr+1])[0]
5917 table = struct.unpack('4sIBB6s8sI4sI', buf[0:36])
5949 header = struct.unpack('HBB', records[i:i+4])
5956 addr = struct.unpack('
[all...]
/linux/include/linux/
H A Dpacking.h107 int unpack(const void *pbuf, u64 *uval, size_t startbit, size_t endbit,
/linux/tools/perf/Documentation/
H A Dsecurity.txt20 2. Get into rpmbuild/SPECS directory and unpack the source code:
/linux/tools/kvm/kvm_stat/
H A Dkvm_stat464 struct.unpack(read_format,
/linux/tools/testing/selftests/net/
H A Dbpf_offload.py285 return struct.unpack(fmt, ba)[0]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcore.h7538 int (*unpack)(struct rtw89_dev *rtwdev); member
8063 if (rtwdev->io->unpack) in rtw89_io_unpack()
8064 return rtwdev->io->unpack(rtwdev); in rtw89_io_unpack()
H A Dfw.c12684 .unpack = NULL,
12882 .unpack = rtw89_fw_cmd_ofld_unpack,