Home
last modified time | relevance | path

Searched refs:ctb_ptr (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dctf.c63 caddr_t ctb_ptr; /* pointer to empty buffer space */ member
98 off_t ptroff = b->ctb_ptr - b->ctb_base; in ctf_buf_grow()
103 b->ctb_ptr = b->ctb_base + ptroff; in ctf_buf_grow()
128 return (b->ctb_ptr - b->ctb_base); in ctf_buf_cur()
137 if (b->ctb_ptr == b->ctb_end) in ctf_buf_write()
140 len = MIN((size_t)(b->ctb_end - b->ctb_ptr), n); in ctf_buf_write()
141 bcopy(p, b->ctb_ptr, len); in ctf_buf_write()
142 b->ctb_ptr += len; in ctf_buf_write()
664 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base) in write_buffer()
669 (void) bcopy_data(buf->ctb_base, buf->ctb_ptr - buf->ctb_base, in write_buffer()
[all …]