Lines Matching refs:left

438 default_f(char *str, int pos, int left, poolstat_field_format_t *ff, char *data)  in default_f()  argument
446 used = snprintf(str + pos, left, "%*.*lld", in default_f()
453 used = snprintf(str + pos, left, "%*.*llu", in default_f()
469 used = snprintf(str + pos, left, "%*.*f", in default_f()
489 used = snprintf(str + pos, left, "%-*s", ff->pff_width, in default_f()
500 bigno_f(char *str, int pos, int left, poolstat_field_format_t *ff, char *data) in bigno_f() argument
576 used = snprintf(str + pos, left, "%*.*f", in bigno_f()
579 used = snprintf(str + pos, left, "%*.*f%c", in bigno_f()
587 used_stat_f(char *str, int pos, int left, poolstat_field_format_t *ff, in used_stat_f() argument
595 used = snprintf(str + pos, left, "%*c", ff->pff_width, '-'); in used_stat_f()
606 used = snprintf(str + pos, left, "%*.*f", in used_stat_f()
617 header_f(char *str, int pos, int left, poolstat_field_format_t *ff, char *data) in header_f() argument
623 used = snprintf(str + pos, left, "%-*s", in header_f()
626 used = snprintf(str + pos, left, "%*s", in header_f()
641 int left = len; /* chars left to use in the line */ in prt_stat_line() local
650 if (((used = ff->pff_format(line, pos, left, ff, in prt_stat_line()
651 *ff->pff_data_ptr)) + 1) >= left) { in prt_stat_line()
654 left += used + MAXLINE; in prt_stat_line()
656 if (((used = ff->pff_format(line, pos, left, ff, in prt_stat_line()
657 *ff->pff_data_ptr)) + 1) >= left) in prt_stat_line()
660 left -= used; in prt_stat_line()
665 left--; in prt_stat_line()
685 int left = len; /* chars left to use in the line */ in prt_stat_hd() local
703 if (((used = header_f(line, pos, left, ff, NULL)) + 1) in prt_stat_hd()
704 >= left) { in prt_stat_hd()
707 left += used + MAXLINE; in prt_stat_hd()
709 if (((used = header_f(line, pos, left, ff, in prt_stat_hd()
710 NULL)) + 1) >= left) in prt_stat_hd()
713 left -= used; in prt_stat_hd()
718 left--; in prt_stat_hd()