Lines Matching refs:bufnum
112 _nc_visbuf2n(int bufnum, const char *buf, int len) in _nc_visbuf2n() argument
128 vbuf = tp = _nc_trace_buf(bufnum, NormalLen(len)); in _nc_visbuf2n()
134 if (bufnum < 0) { in _nc_visbuf2n()
140 mybuf[bufnum] = typeRealloc(char, NormalLen(len), mybuf[bufnum]); in _nc_visbuf2n()
141 vbuf = tp = mybuf[bufnum]; in _nc_visbuf2n()
161 _nc_visbuf2(int bufnum, const char *buf) in _nc_visbuf2() argument
163 return _nc_visbuf2n(bufnum, buf, -1); in _nc_visbuf2()
195 _nc_viswbuf2n(int bufnum, const wchar_t *buf, int len) in _nc_viswbuf2n() argument
209 vbuf = tp = _nc_trace_buf(bufnum, WideLen(len)); in _nc_viswbuf2n()
213 mybuf[bufnum] = typeRealloc(char, WideLen(len), mybuf[bufnum]); in _nc_viswbuf2n()
214 vbuf = tp = mybuf[bufnum]; in _nc_viswbuf2n()
242 _nc_viswbuf2(int bufnum, const wchar_t *buf) in _nc_viswbuf2() argument
244 return _nc_viswbuf2n(bufnum, buf, -1); in _nc_viswbuf2()
290 _nc_viscbuf2(int bufnum, const NCURSES_CH_T *buf, int len) in _nc_viscbuf2() argument
292 char *result = _nc_trace_buf(bufnum, (size_t) BUFSIZ); in _nc_viscbuf2()
317 (void) _nc_trace_bufcat(bufnum, l_brace); in _nc_viscbuf2()
318 (void) _nc_trace_bufcat(bufnum, d_quote); in _nc_viscbuf2()
323 (void) _nc_trace_bufcat(bufnum, found); in _nc_viscbuf2()
337 (void) _nc_trace_bufcat(bufnum, "\\000"); in _nc_viscbuf2()
348 (void) _nc_trace_bufcat(bufnum, temp); in _nc_viscbuf2()
353 (void) _nc_trace_bufcat(bufnum, temp); in _nc_viscbuf2()
361 (void) _nc_trace_bufcat(bufnum, temp); in _nc_viscbuf2()
365 (void) _nc_trace_bufcat(bufnum, d_quote); in _nc_viscbuf2()
367 (void) _nc_trace_bufcat(bufnum, " | "); in _nc_viscbuf2()
368 (void) _nc_trace_bufcat(bufnum, _traceattr2(bufnum + 20, attr)); in _nc_viscbuf2()
370 result = _nc_trace_bufcat(bufnum, r_brace); in _nc_viscbuf2()