Home
last modified time | relevance | path

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

/xnu-10063.141.1/tools/lldbmacros/core/
H A Dlldbwrap.py314 return int(I8_STRUCT.unpack(self.xReadBytes(addr, 1))[0])
318 return int(I16_STRUCT.unpack(self.xReadBytes(addr, 2))[0])
322 return int(I32_STRUCT.unpack(self.xReadBytes(addr, 4))[0])
326 return int(I64_STRUCT.unpack(self.xReadBytes(addr, 8))[0])
330 return int(U8_STRUCT.unpack(self.xReadBytes(addr, 1))[0])
334 return int(U16_STRUCT.unpack(self.xReadBytes(addr, 2))[0])
338 return int(U32_STRUCT.unpack(self.xReadBytes(addr, 4))[0])
342 return int(U64_STRUCT.unpack(self.xReadBytes(addr, 8))[0])
347 return int(I64_STRUCT.unpack(self.xReadBytes(addr, 8))[0])
348 return int(I32_STRUCT.unpack(self.xReadBytes(addr, 4))[0])
[all …]
H A Dcollections.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-10063.141.1/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-10063.141.1/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)
229 ptr = struct.unpack(format_string, user_data_string)[0]
457 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.py775 … self.i_type = struct.unpack('I', barray[pos:pos+4])[0] # int.from_bytes(barray[pos:pos+4])
776 … self.i_size = struct.unpack('I', barray[pos+4:pos+8])[0] # int.from_bytes(barray[pos+4:pos+8])
777 … self.i_flags = struct.unpack('Q', barray[pos+8:pos+16])[0] # int.from_bytes(barray[pos+8:pos+16])
2176 … (address,) = struct.unpack("<Q", struct.pack("B"*8, *thdata["user_stacktop"]["stack_contents"]))
2506 (address,) = struct.unpack("<Q", struct.pack("B"*8, *data))
H A Dmemory.py34 addr = kmem.vm_page_packing.unpack(packed)
2573 caller = kmem.rwlde_caller_packing.unpack(unsigned(entry.rwlde_caller_packed))
3738 return kmem.vm_page_packing.unpack(unsigned(page))
4661 c_slot_unpacked_ptr = kmem.c_slot_packing.unpack(unsigned(cs.c_packed_ptr))