Lines Matching refs:left
437 default_f(char *str, int pos, int left, poolstat_field_format_t *ff, char *data) in default_f() argument
445 used = snprintf(str + pos, left, "%*.*lld", in default_f()
452 used = snprintf(str + pos, left, "%*.*llu", in default_f()
468 used = snprintf(str + pos, left, "%*.*f", in default_f()
488 used = snprintf(str + pos, left, "%-*s", ff->pff_width, in default_f()
499 bigno_f(char *str, int pos, int left, poolstat_field_format_t *ff, char *data) in bigno_f() argument
575 used = snprintf(str + pos, left, "%*.*f", in bigno_f()
578 used = snprintf(str + pos, left, "%*.*f%c", in bigno_f()
586 used_stat_f(char *str, int pos, int left, poolstat_field_format_t *ff, in used_stat_f() argument
594 used = snprintf(str + pos, left, "%*c", ff->pff_width, '-'); in used_stat_f()
605 used = snprintf(str + pos, left, "%*.*f", in used_stat_f()
616 header_f(char *str, int pos, int left, poolstat_field_format_t *ff, char *data) in header_f() argument
622 used = snprintf(str + pos, left, "%-*s", in header_f()
625 used = snprintf(str + pos, left, "%*s", in header_f()
640 int left = len; /* chars left to use in the line */ in prt_stat_line() local
649 if (((used = ff->pff_format(line, pos, left, ff, in prt_stat_line()
650 *ff->pff_data_ptr)) + 1) >= left) { in prt_stat_line()
653 left += used + MAXLINE; in prt_stat_line()
655 if (((used = ff->pff_format(line, pos, left, ff, in prt_stat_line()
656 *ff->pff_data_ptr)) + 1) >= left) in prt_stat_line()
659 left -= used; in prt_stat_line()
664 left--; in prt_stat_line()
684 int left = len; /* chars left to use in the line */ in prt_stat_hd() local
702 if (((used = header_f(line, pos, left, ff, NULL)) + 1) in prt_stat_hd()
703 >= left) { in prt_stat_hd()
706 left += used + MAXLINE; in prt_stat_hd()
708 if (((used = header_f(line, pos, left, ff, in prt_stat_hd()
709 NULL)) + 1) >= left) in prt_stat_hd()
712 left -= used; in prt_stat_hd()
717 left--; in prt_stat_hd()