Lines Matching refs:FLAG

493   if ((FLAG(a)||FLAG(d)) && slot[SLOT_sid]==*slot) return 0;  in ps_match_process()
494 if (FLAG(a) && !slot[SLOT_ttynr]) return 0; in ps_match_process()
495 if (!(FLAG(a)||FLAG(d)||FLAG(A)||FLAG(e)) && TT.tty!=slot[SLOT_ttynr]) in ps_match_process()
653 if ((field->which<=PS_BIT || FLAG(w)) && olen>abslen) { in show_ps()
1292 if (FLAG(w)) TT.width = 99999; in ps_main()
1312 if (FLAG(f)) in ps_main()
1314 "USER:12=UID,%%sPPID,%s,STIME,TTY,TIME,ARGS=CMD", FLAG(T) ? "TCNT" :"C"); in ps_main()
1315 else if (FLAG(l)) in ps_main()
1320 FLAG(T) ? "CMD" : "NAME"); in ps_main()
1321 sprintf(toybuf, not_o, FLAG(T) ? "PID,TID," : "PID,"); in ps_main()
1324 if (FLAG(Z)) default_ko("LABEL", &TT.fields, 0, 0); in ps_main()
1335 if (FLAG(f)||FLAG(n)) { in ps_main()
1339 if (FLAG(n) && field->which>=PS_UID in ps_main()
1348 if (!FLAG(M)) printf("%.*s\n", TT.width, toybuf); in ps_main()
1349 if (!(FLAG(k)||FLAG(M))) TT.show_process = show_ps; in ps_main()
1352 (FLAG(T) || (TT.bits&(_PS_TID|_PS_TCNT))) in ps_main()
1355 if ((dt != DIRTREE_ABORTVAL) && (FLAG(k)||FLAG(M))) { in ps_main()
1358 if (FLAG(M)) { in ps_main()
1374 if (FLAG(k)) qsort(tbsort, TT.kcount, sizeof(void *), (void *)ksort); in ps_main()
1436 if (FLAG(b)) puts(toybuf); in header_line()
1468 if (!FLAG(b)) { in top_common()
1487 (FLAG(H) || (TT.bits&(_PS_TID|_PS_TCNT))) ? get_threads : get_ps); in top_common()
1545 if (!FLAG(b)) { in top_common()
1555 if (recalc && !FLAG(q)) { in top_common()
1576 "%3ld zombie", FLAG(H)?"Thread":"Task", mix.count, run[1], run[0], in top_common()
1655 if (FLAG(b)) while (isspace(*(pos-1))) --pos; in top_common()
1659 if (!recalc && !FLAG(b)) in top_common()
1665 int bold = !FLAG(b) && mix.tb[i+topoff]->state == 'R'; in top_common()
1667 if (!FLAG(b) && i) putchar('\n'); in top_common()
1683 if (FLAG(b)) { in top_common()
1729 if (!FLAG(b)) tty_reset(); in top_common()
1738 if (FLAG(b)) TT.width = TT.height = 99999; in top_setup()
1762 sprintf(toybuf, "%cID,USER,%s%%CPU,%%MEM,TIME+,%s", FLAG(H) ? 'T' : 'P', in top_main()
1764 FLAG(H) ? "CMD:15=THREAD,NAME=PROCESS" : "ARGS"); in top_main()
1785 if (!FLAG(a)) merge_deltas(oslot, nslot, milis); in iotop_filter()
1788 return !FLAG(O)||oslot[SLOT_iobytes+!FLAG(A)]; in iotop_filter()
1793 char *s1 = 0, *s2 = 0, *d = "D"+!!FLAG(A); in iotop_main()
1795 if (FLAG(K)) TT.forcek++; in iotop_main()
1827 if (!FLAG(c) && (!TT.pgrep.signal || TT.tty)) { in do_pgk()
1829 if (FLAG(l)) in do_pgk()
1830 printf(" %s", tb->str+tb->offset[4]*!!FLAG(f)); in do_pgk()
1841 char *name = tb->str+tb->offset[4]*!!FLAG(f); in match_pgrep()
1849 if (FLAG(x)) in match_pgrep()
1853 if (!FLAG(v) == !reg) return; in match_pgrep()
1861 if (FLAG(n)||FLAG(o)) { in match_pgrep()
1864 if (FLAG(o)) ll *= -1; in match_pgrep()
1874 return !FLAG(v) == !!shared_match_process(slot); in pgrep_match_process()
1900 if (FLAG(f)) TT.bits |= _PS_CMDLINE; in pgrep_main()
1914 if (FLAG(c)) printf("%d\n", TT.sortpos); in pgrep_main()
1930 if (!FLAG(l) && *args && **args=='-') TT.pgrep.L = *(args++)+1; in pkill_main()
1932 if (FLAG(V)) TT.tty = 1; in pkill_main()