Lines Matching refs:outbuf

73 static DYNBUF outbuf;  variable
157 free_DYN(&outbuf); in _nc_leaks_dump_entry()
417 while (outbuf.used > 0 && outbuf.text[outbuf.used - 1] == ' ') in trim_trailing()
418 outbuf.text[--outbuf.used] = '\0'; in trim_trailing()
426 strcpy_DYN(&outbuf, trailer); in force_wrap()
618 if (TcOutput() && outbuf.used && !wrap_1ST(mode)) { in wrap_concat()
625 strcpy_DYN(&outbuf, align); in wrap_concat()
632 strncpy_DYN(&outbuf, fill + step, (size_t) size); in wrap_concat()
644 strcpy_DYN(&outbuf, align); in wrap_concat()
645 strcpy_DYN(&outbuf, fill + step); in wrap_concat()
648 strcpy_DYN(&outbuf, separator); in wrap_concat()
654 strcpy_DYN(&outbuf, src); in wrap_concat()
656 strcpy_DYN(&outbuf, separator); in wrap_concat()
934 strcpy_DYN(&outbuf, 0); in fmt_entry()
938 strcpy_DYN(&outbuf, tterm->term_names); in fmt_entry()
944 char *p = outbuf.text; in fmt_entry()
952 strcpy_DYN(&outbuf, separator); in fmt_entry()
953 column = (int) outbuf.used; in fmt_entry()
1274 j = (PredIdx) outbuf.used; in fmt_entry()
1278 && outbuf.text[j - 1] == '\t' in fmt_entry()
1279 && outbuf.text[j - 2] == '\n') { in fmt_entry()
1280 outbuf.used -= 2; in fmt_entry()
1283 && outbuf.text[j - 1] == ':' in fmt_entry()
1284 && outbuf.text[j - 2] == '\t' in fmt_entry()
1285 && outbuf.text[j - 3] == '\n' in fmt_entry()
1286 && outbuf.text[j - 4] == '\\') { in fmt_entry()
1287 outbuf.used -= 4; in fmt_entry()
1291 outbuf.text[outbuf.used] = '\0'; in fmt_entry()
1293 strcpy_DYN(&outbuf, " "); in fmt_entry()
1301 tterm->term_names, len, outbuf.used, outbuf.text); in fmt_entry()
1310 return (infodump ? len : (int) termcap_length(outbuf.text)); in fmt_entry()
1502 if (outbuf.used) in dump_entry()
1516 if (outbuf.used) in dump_entry()
1683 if (outbuf.used != 0) { in show_entry()
1688 for (j = (int) outbuf.used - 1; j > 0; --j) { in show_entry()
1689 char ch = outbuf.text[j]; in show_entry()
1693 outbuf.used = (size_t) j; in show_entry()
1695 outbuf.used = (size_t) j; in show_entry()
1696 } else if (ch == delim && (outbuf.text[j - 1] != '\\')) { in show_entry()
1697 outbuf.used = (size_t) (j + 1); in show_entry()
1702 outbuf.text[outbuf.used] = '\0'; in show_entry()
1704 if (outbuf.text != 0) { in show_entry()
1705 (void) fputs(outbuf.text, stdout); in show_entry()
1708 return (int) outbuf.used; in show_entry()