Home | History | Annotate | Download | only in posix

Lines Matching defs:out

115       SZ    Memory Size (4k pages needed to completely swap out process)
402 char *buf = toybuf+sizeof(toybuf)-260, *out = buf, *s;
417 sprintf(out, fmt, ll);
423 out = tb->str;
425 if (--sl) out += tb->offset[--sl];
427 for (s = out; *s && *s != ' '; s++) if (*s == '/') out = s+1;
428 if (which>=PS_COMMAND && !*out) sprintf(out = buf, "[%s]", tb->str);
432 sprintf(out, "%lld", ll);
437 if (gr) out = gr->gr_name;
441 if (pw) out = pw->pw_name;
459 if (!s && (seconds>unit || j == 1+(which!=PS_TIME))) s = out;
468 if (which==PS_TIME_ && s-out<8)
479 sprintf(out, "%d", sl/10);
480 if (which!=PS_C && sl<1000) sprintf(out+strlen(out), ".%d", sl%10);
486 if (TT.forcek) sprintf(out, "%lldk", ll/1024);
487 else human_readable(out, ll, 0);
491 } else if (which==PS_F) sprintf(out, "%llo", (slot[SLOT_flags]>>6)&5);
493 s = out;
511 strftime(out, 260, "%F %T", localtime(&t));
512 out = out+strlen(out)-3-abs(field->len);
513 if (out<buf) out = buf;
517 return out;
528 char *out = string_field(tb, field);
540 if (TT.tty) width -= draw_trim(out, pad, len);
541 else width -= printf("%*.*s", pad, len, out);
1468 // (All the pgrep/pkill functions drop out when building ps standalone.)