Searched refs:xb_bufp (Results 1 – 5 of 5) sorted by relevance
| /f-stack/tools/libxo/libxo/ |
| H A D | xo_buf.h | 29 char *xb_bufp; /* Buffer memory */ member 41 xbp->xb_bufp = xo_realloc(NULL, xbp->xb_size); in xo_buf_init() 42 xbp->xb_curp = xbp->xb_bufp; in xo_buf_init() 51 xbp->xb_curp = xbp->xb_bufp; in xo_buf_reset() 69 return (xbp->xb_curp == xbp->xb_bufp); in xo_buf_is_empty() 86 return xbp->xb_bufp + offset; in xo_buf_data() 103 if (xbp->xb_bufp) in xo_buf_cleanup() 104 xo_free(xbp->xb_bufp); in xo_buf_cleanup() 120 ssize_t sz = (xbp->xb_curp + len) - xbp->xb_bufp; in xo_buf_has_room() 123 char *bp = xo_realloc(xbp->xb_bufp, sz); in xo_buf_has_room() [all …]
|
| H A D | libxo.c | 917 if (xbp->xb_curp != xbp->xb_bufp) { in xo_write() 922 xbp->xb_curp = xbp->xb_bufp; in xo_write() 3042 char *sp = xbp->xb_bufp; in xo_buf_find_last_number() 3698 xo_data_append(xop, xbp->xb_bufp, xbp->xb_curp - xbp->xb_bufp); in xo_color_append_html() 3933 xo_data_append(xop, xbp->xb_bufp, xbp->xb_curp - xbp->xb_bufp); in xo_buf_append_div() 4171 xbp->xb_curp = xbp->xb_bufp + start; in xo_format_title() 4524 if (xbp->xb_bufp[off] == '-') in xo_format_value() 4525 xbp->xb_bufp[off] = '_'; in xo_format_value() 5133 memmove(xbp->xb_bufp + start + delta, xbp->xb_bufp + start, stop - start); in xo_format_units() 5306 memmove(xbp->xb_bufp + start + delta, xbp->xb_bufp + start, stop - start); in xo_anchor_stop() [all …]
|
| H A D | xo_syslog.c | 524 xb.xb_bufp = tbuf; in xo_vsyslog() 572 log_offset = xb.xb_curp - xb.xb_bufp; in xo_vsyslog() 677 start_of_msg = xb.xb_curp - xb.xb_bufp; in xo_vsyslog() 691 fprintf(stderr, "xo: syslog: %s\n", xb.xb_bufp + log_offset); in xo_vsyslog() 693 xo_send_syslog(xb.xb_bufp, v0_hdr, xb.xb_bufp + start_of_msg); in xo_vsyslog()
|
| /f-stack/tools/libxo/encoder/cbor/ |
| H A D | enc_cbor.c | 182 xbp->xb_curp - xbp->xb_bufp - offset, "", in cbor_append() 237 xbp->xb_curp - xbp->xb_bufp - offset, "", in cbor_content() 336 xbp->xb_bufp, xbp->xb_curp - xbp->xb_bufp, in cbor_handler() 339 rc = write(1, xbp->xb_bufp, xbp->xb_curp - xbp->xb_bufp); in cbor_handler()
|
| /f-stack/tools/libxo/encoder/csv/ |
| H A D | enc_csv.c | 803 rc = write(1, xbp->xb_bufp, xbp->xb_curp - xbp->xb_bufp); in csv_handler()
|