Lines Matching refs:int
54 return int(proc.p_proc_ro.p_platform_data.p_platform)
132 flags = int(proc.p_flag)
147 out_string += xnudefines.proc_state_strings[int(state_val)]
159 if int(GetProcPID(p)) == int(pid):
276 state = int(ast)
309 thread_count = int(task.thread_count)
311 if hasattr(task, "suppression_generation") and (int(task.suppression_generation) & 0x1) == 0x1:
313 if hasattr(task, "effective_policy") and int(task.effective_policy.tep_sup_active) == 1:
315 if hasattr(task, "suspend_count") and int(task.suspend_count) > 0:
319 if int(tib.iit_receiver) == 1:
321 if int(tib.iit_donor) == 1:
323 if int(tib.iit_assertcnt) > 0:
386 if int(uthread.pth_name) != 0 :
445 if int(thread.static_param):
449 base_priority = str(int(thread.base_pri))
450 sched_priority = str(int(thread.sched_pri))
471 if int(uthread.uu_flag) & 0x400:
473 if int(thread.effective_policy.thep_darwinbg) != 0:
475 if int(thread.effective_policy.thep_io_tier) != 0:
477 if int(thread.effective_policy.thep_io_passive) != 0:
479 if int(thread.effective_policy.thep_terminated) != 0:
482 state = int(thread.state)
486 state_str += THREAD_STATE_CHARS[int(state & mask)]
489 if int(thread.inspection):
492 ast = int(thread.ast) | int(thread.reason)
502 wait_event_str_sym = kern.Symbolicate(int(hex(thread.wait_event), 16))
503 if int(uthread.uu_wmesg) != 0:
533 return role_strs[int(role)]
577 … task_str += "\n\t\t\t|-> thread:" + hex(thread) + ", " + sfi_strs[int(thread.sfi_class)]
804 pid = int(GetProcPID(proc))
805 proc_addr = int(hex(proc), 16)
807 if int(proc.p_lflag) & 0x400000 :
816 if int(task.effective_policy.tep_darwinbg) != 0:
818 if int(task.effective_policy.tep_lowpri_cpu) != 0:
821 if int(task.effective_policy.tep_io_tier) != 0:
823 if int(task.effective_policy.tep_io_passive) != 0:
825 if int(task.effective_policy.tep_terminated) != 0:
828 if int(task.effective_policy.tep_latency_qos) != 0:
830 if int(task.effective_policy.tep_sup_active) != 0:
833 if int(proc.p_refcount) & GetEnumValue("proc_ref_bits_t::P_REF_SHADOW") :
840 wq_num_threads = int(work_queue.wq_nthreads)
841 wq_idle_threads = int(work_queue.wq_thidlecount)
842 wq_req_threads = int(work_queue.wq_reqcount)
870 open_fn = kern.Symbolicate(int(hex(tty_dev.open), 16))
871 free_fn = kern.Symbolicate(int(hex(tty_dev.free), 16))
872 name_fn = kern.Symbolicate(int(hex(tty_dev.name), 16))
873 revoke_fn = kern.Symbolicate(int(hex(tty_dev.revoke), 16))
1343 refcount = int(uthread.uu_proc_refcount)
1345 if int(uu_ref_info) == 0:
1347 uu_ref_index = int(uu_ref_info.upri_pindex)
1395 ShowTaskThreads([str(int(t))], O=O)
1401 ShowTaskThreads([str(int(t))], O=O)
1503 lldbthread = lldb_process.GetThreadByID(int(fake_thread_id))
1619 base_priority = str(int(th.base_pri))
1620 sched_priority = str(int(th.sched_pri))
1622 state = int(th.state)
1626 state_str += THREAD_STATE_CHARS[int(state & mask)]
1628 if int(th.inspection):
1635 wait_event_str_sym = kern.Symbolicate(int(hex(th.wait_event), 16))
1851 if search_tid == int(actp.thread_id):
1865 processor_state = int(processor.state)
1881 if int(processor.is_recommended) == 0:
1910 processor_shutdown_reason = int(processor.last_shutdown_reason)
1916 … processor, int(processor.cpu_id), ast_str, processor_state_str, processor_shutdown_reason_str,
1951 entry["flags"] = int(les.les_flags)
1969 entry["flags"] = int(le.le_flags)
1970 entry["diag_threshold_scaled"] = int(le.le_diag_threshold_scaled)
2088 task["pid"] = int(GetProcPID(pval))
2204 data.append(int(entry.uuid[i]))
2371 if int(actp.state & 0x4):
2388 out_str += "{: ^10s}".format(str(int(actp.sched_pri)))
2389 state = int(actp.state)
2393 state_str += THREAD_STATE_CHARS[int(state & mask)]
2460 is_task_64 = int(task.t_flags) & 0x1