Lines Matching refs:outbuf
75 static DYNBUF outbuf; variable
159 free_DYN(&outbuf); in _nc_leaks_dump_entry()
419 while (outbuf.used > 0 && outbuf.text[outbuf.used - 1] == ' ') in trim_trailing()
420 outbuf.text[--outbuf.used] = '\0'; in trim_trailing()
428 strcpy_DYN(&outbuf, trailer); in force_wrap()
620 if (TcOutput() && outbuf.used && !wrap_1ST(mode)) { in wrap_concat()
627 strcpy_DYN(&outbuf, align); in wrap_concat()
634 strncpy_DYN(&outbuf, fill + step, (size_t) size); in wrap_concat()
646 strcpy_DYN(&outbuf, align); in wrap_concat()
647 strcpy_DYN(&outbuf, fill + step); in wrap_concat()
650 strcpy_DYN(&outbuf, separator); in wrap_concat()
656 strcpy_DYN(&outbuf, src); in wrap_concat()
658 strcpy_DYN(&outbuf, separator); in wrap_concat()
936 strcpy_DYN(&outbuf, 0); in fmt_entry()
940 strcpy_DYN(&outbuf, tterm->term_names); in fmt_entry()
946 char *p = outbuf.text; in fmt_entry()
954 strcpy_DYN(&outbuf, separator); in fmt_entry()
955 column = (int) outbuf.used; in fmt_entry()
1276 j = (PredIdx) outbuf.used; in fmt_entry()
1280 && outbuf.text[j - 1] == '\t' in fmt_entry()
1281 && outbuf.text[j - 2] == '\n') { in fmt_entry()
1282 outbuf.used -= 2; in fmt_entry()
1285 && outbuf.text[j - 1] == ':' in fmt_entry()
1286 && outbuf.text[j - 2] == '\t' in fmt_entry()
1287 && outbuf.text[j - 3] == '\n' in fmt_entry()
1288 && outbuf.text[j - 4] == '\\') { in fmt_entry()
1289 outbuf.used -= 4; in fmt_entry()
1293 outbuf.text[outbuf.used] = '\0'; in fmt_entry()
1295 strcpy_DYN(&outbuf, " "); in fmt_entry()
1303 tterm->term_names, len, outbuf.used, outbuf.text); in fmt_entry()
1312 return (infodump ? len : (int) termcap_length(outbuf.text)); in fmt_entry()
1504 if (outbuf.used) in dump_entry()
1518 if (outbuf.used) in dump_entry()
1685 if (outbuf.used != 0) { in show_entry()
1690 for (j = (int) outbuf.used - 1; j > 0; --j) { in show_entry()
1691 char ch = outbuf.text[j]; in show_entry()
1695 outbuf.used = (size_t) j; in show_entry()
1697 outbuf.used = (size_t) j; in show_entry()
1698 } else if (ch == delim && (outbuf.text[j - 1] != '\\')) { in show_entry()
1699 outbuf.used = (size_t) (j + 1); in show_entry()
1704 outbuf.text[outbuf.used] = '\0'; in show_entry()
1706 if (outbuf.text != 0) { in show_entry()
1707 (void) fputs(outbuf.text, stdout); in show_entry()
1710 return (int) outbuf.used; in show_entry()