Home
last modified time | relevance | path

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

/xnu-11215/tools/lldbmacros/core/
H A Dlldbwrap.py315 return int(I8_STRUCT.unpack(self.xReadBytes(addr, 1))[0])
319 return int(I16_STRUCT.unpack(self.xReadBytes(addr, 2))[0])
323 return int(I32_STRUCT.unpack(self.xReadBytes(addr, 4))[0])
327 return int(I64_STRUCT.unpack(self.xReadBytes(addr, 8))[0])
331 return int(U8_STRUCT.unpack(self.xReadBytes(addr, 1))[0])
335 return int(U16_STRUCT.unpack(self.xReadBytes(addr, 2))[0])
339 return int(U32_STRUCT.unpack(self.xReadBytes(addr, 4))[0])
359 return FLT_STRUCT.unpack(self.xReadBytes(addr, 4))[0]
363 return DBL_STRUCT.unpack(self.xReadBytes(addr, 8))[0]
390 spec.unpack(data[i : i + size])
[all …]
H A Diterators.py120 def iter_queue(head_value, elt_type, field_name_or_path, backwards=False, unpack=None): argument
151 if unpack is not None:
152 addr = unpack(addr)
H A Dkernelcore.py174 unpack=unpack_ptr_fn,
/xnu-11215/tools/lldbmacros/kmemory/
H A Dkmem.py38 def unpack(self, packed): member in VMPointerUnpacker
66 return self.unpack(sbv.chkGetValueAsUnsigned())
H A Dvm.py119 addr = kmem.vm_page_packing.unpack(packed)
H A Dbtlog.py16 return struct.unpack("<I", struct.pack(">I", i))[0]
/xnu-11215/tools/lldbmacros/
H A Dpmap.py71 addr_for_kdp = struct.unpack("<Q", struct.pack(">Q", address))[0]
72 byte_count = struct.unpack("<I", struct.pack(">I", bits // 8))[0]
95 … retval = struct.unpack(unpack_fmt, struct.pack(pack_fmt, int(value[-((bits // 4)+1):], 16)))[0]
150 addr_for_kdp = struct.unpack("<Q", struct.pack(">Q", address))[0]
151 byte_count = struct.unpack("<I", struct.pack(">I", bits // 8))[0]
166 data_val = struct.unpack(unpack_fmt, struct.pack(pack_fmt, intval))[0]
H A Duserspace.py179 upacked_data = struct.unpack(format_specifier_str, user_data_string)
228 ptr = struct.unpack(format_string, user_data_string)[0]
456 data = struct.unpack(unpack_str, strdata[offset:(offset + length)])[0]
H A Dwaitq.py9 return struct.unpack("<I", struct.pack(">I", i))[0]
H A Dkevent.py106 addr = kmem.kn_kq_packing.unpack(unsigned(kn.kn_kq_packed))
H A Dktrace.py601 ts, arg1, arg2, arg3, arg4, arg5, debugid, cpuid, _ = KDE_STRUCT.unpack(event.data)
859 magic = struct.unpack('I', ssdata[:4])
H A Dkcdata.py778 … self.i_type = struct.unpack('I', barray[pos:pos+4])[0] # int.from_bytes(barray[pos:pos+4])
779 … self.i_size = struct.unpack('I', barray[pos+4:pos+8])[0] # int.from_bytes(barray[pos+4:pos+8])
780 … self.i_flags = struct.unpack('Q', barray[pos+8:pos+16])[0] # int.from_bytes(barray[pos+8:pos+16])
2261 … (address,) = struct.unpack("<Q", struct.pack("B"*8, *thdata["user_stacktop"]["stack_contents"]))
2593 (address,) = struct.unpack("<Q", struct.pack("B"*8, *data))
H A Dmemory.py36 addr = kmem.vm_page_packing.unpack(packed)
2587 caller = kmem.rwlde_caller_packing.unpack(unsigned(entry.rwlde_caller_packed))
3868 return kmem.vm_page_packing.unpack(unsigned(page))
4846 c_slot_unpacked_ptr = kmem.c_slot_packing.unpack(unsigned(cs.c_packed_ptr))