Lines Matching refs:unsigned

43     return unsigned(proc.p_pid) if proc is not None else -1
84 unsigned(task_imp_base) != 0):
104 pid = unsigned(proc_ro.task_tokens.audit_token.val[5])
317 if hasattr(task, 'task_imp_base') and unsigned(task.task_imp_base):
327 if unsigned(proc_ro) != 0:
329 if unsigned(proc_ro.t_flags_ro) & 0x20:
332 if unsigned(task.t_flags) & 0x40:
336 if showcorpse is True and unsigned(task.corpse_info) != 0:
353 addr = unsigned(uthread) - sizeof('struct thread')
360 addr = unsigned(thread) + sizeof('struct thread')
366 task_addr = unsigned(task)
367 if task_addr and unsigned(task.t_flags) & TF_HASPROC:
377 proc_addr = unsigned(proc)
378 if proc_addr and unsigned(proc.p_lflag) & P_LHASTASK:
463 if (unsigned(thread.bound_processor) != 0):
467 if (unsigned(thread.sched_flags) & TH_SFLAG_THROTTLED):
503 wait_queue_str = '{:<#018x}'.format(unsigned(thread.waitq.wq_q))
504 wait_event_str = '{:<#018x}'.format(unsigned(thread.wait_event))
604 if verbose and unsigned(ledgerp) != 0:
631 if unsigned(coal.j.leader) == 0:
651 if unsigned(coal) == 0:
667 if unsigned(coal) == 0:
737 if unsigned(tg) == 0:
978 if unsigned(proc_ofiles) == 0:
984 for fd in range(0, unsigned(proc_filedesc.fd_afterlast)):
985 if unsigned(proc_ofiles[fd]) != 0:
991 out_str += "{0: <#18x} ".format(unsigned(proc_fd_fglob))
992 out_str += "0x{0:0>8x} ".format(unsigned(proc_fd_flags))
993 proc_fd_ftype = unsigned(proc_fd_fglob.fg_ops.fo_type)
998 out_str += "{0: <#18x} ".format(unsigned(proc_fd_fglob_fg_data))
1020 …print("Last input to raw queue: {0: <#18x} \"{1: <s}\"".format(unsigned(tty.t_rawq.c_cs), tt…
1021 …print("Last input to canonical queue: {0: <#18x} \"{1: <s}\"".format(unsigned(tty.t_canq.c_cs), tt…
1022 …print("Last output data: {0: <#18x} \"{1: <s}\"".format(unsigned(tty.t_outq.c_cs), tt…
1051 tty_state = unsigned(tty.t_state)
1062 print("Flags: 0x{0:0>8x}".format(unsigned(tty.t_flags)))
1063 print("Foreground Process Group: 0x{0:0>16x}".format(unsigned(tty.t_pgrp)))
1064 print("Enclosing session: 0x{0:0>16x}".format(unsigned(tty.t_session)))
1066 print("\tInput Flags: 0x{0:0>8x}".format(unsigned(tty.t_termios.c_iflag)))
1067 print("\tOutput Flags: 0x{0:0>8x}".format(unsigned(tty.t_termios.c_oflag)))
1068 print("\tControl Flags: 0x{0:0>8x}".format(unsigned(tty.t_termios.c_cflag)))
1069 print("\tLocal Flags: 0x{0:0>8x}".format(unsigned(tty.t_termios.c_lflag)))
1088 while unsigned(tty_dev) != 0:
1144 unsigned(callentry), unsigned(callentry.param0), unsigned(callentry.param1),
1145 unsigned(callentry.deadline), unsigned(callentry.func)))
1210 if kern.GetValueFromAddress(unsigned(task.map.pmap), 'pmap_t') == pmap:
1356 if unsigned(uu_ref_info.upri_proc_ps[ref]) == unsigned(proc):
1363 bts = btlib.get_stack(unsigned(uu_ref_info.upri_proc_stacks[ref]))
1390 tlist = tmap.get(unsigned(task), [])
1397 tmap[unsigned(thr.t_tro.tro_task)].append(thr)
1606 time_since_off_abs = unsigned(most_recent_dispatch - last_off)
1641 wait_event_str = '{:<#018x}'.format(unsigned(th.wait_event))
1690 while unsigned(current_processor) > 0:
1693 if unsigned(active_thread) != 0:
1711 while unsigned(current_processor) > 0:
1714 if unsigned(active_thread) != 0 :
1736 pc_val = kern.StripKernelPAC(unsigned(dereference(pc_val)))
1741 if unsigned(frame_val) == 0:
1743 frame_ptr = unsigned(dereference(frame_val))
1767 if unsigned(active_thread) != 0 :
1780 print(GetFullBackTrace(unsigned(FramePtr), prefix="\t"))
1822 proc.p_ppid, GetProcName(proc.p_pptr), unsigned(proc.p_pptr))
1824 GetProcPID(proc), GetProcName(proc), unsigned(proc))
1840 GetProcPID(p), GetProcName(p), unsigned(p)))
1954 entry["credit"] = unsigned(les.les_credit)
1960 entry["credit"] = unsigned(le.le_credit)
1961 entry["debit"] = unsigned(le.le_debit)
1965 entry["interval_max"] = unsigned(le._le._le_max.le_interval_max)
1966 entry["lifetime_max"] = unsigned(le._le._le_max.le_lifetime_max)
1968 entry["limit"] = unsigned(le.le_limit)
1971 entry["refill_period"] = unsigned(le._le.le_refill.le_refill_period)
1973 if (unsigned(le.le_warn_percent) < 65535):
1974 entry["warn_percent"] = unsigned (le.le_warn_percent * 100 / 65536)
2009 if entry.get('limit', unsigned(ledger_limit_infinity)) != unsigned(ledger_limit_infinity):
2010 out_str += "{:12d} ".format(unsigned(entry["limit"]))
2057 thread["address"] = unsigned(thread_val)
2089 task["address"] = unsigned(task_val)
2189 task_val = unsigned(t)
2211 flags = unsigned(entry.flags)
2220 hashslots = unsigned(kern.globals.proc_uuid_policy_hash_mask)
2370 ShowActStack([unsigned(actp)], O=O)
2382 ShowTask([str(unsigned(taskp))])
2413 if unsigned(proc_ofiles[fd]) != 0:
2457 dyld_all_image_infos_address = unsigned(task.all_image_info_addr)