Lines Matching refs:bufpos
114 tic->nums.entries = tic->nums.buflen = tic->nums.bufpos = 0; in _ti_promote()
133 tic->extras.entries = tic->extras.buflen = tic->extras.bufpos = 0; in _ti_promote()
179 l = tbuf->bufpos + len; in _ti_grow_tbuf()
338 tic->extras.buf[tic->extras.bufpos++] = type; in _ti_store_extra()
341 tic->extras.buf[tic->extras.bufpos++] = flag; in _ti_store_extra()
360 _ti_encode_16(cap, buf->bufpos + sizeof(uint16_t)); in _ti_encode_buf()
362 _ti_encode_str(cap, buf->buf, buf->bufpos); in _ti_encode_buf()
389 (sizeof(uint16_t) * 2) + tic->flags.bufpos + in _ti_flatten()
390 (sizeof(uint16_t) * 2) + tic->nums.bufpos + in _ti_flatten()
391 (sizeof(uint16_t) * 2) + tic->strs.bufpos + in _ti_flatten()
392 (sizeof(uint16_t) * 2) + tic->extras.bufpos; in _ti_flatten()
423 p = s = tbuf->buf + tbuf->bufpos; in encode_string()
518 tbuf->bufpos += (size_t)(p - s); in encode_string()
587 tbuf->buf[tbuf->bufpos++] = flag; in _ti_encode_buf_id_flags()
683 buf.bufpos = 0; in _ti_compile()
687 if (buf.bufpos > UINT16_MAX - 1) { in _ti_compile()
700 buf.buf, buf.bufpos, flags)) in _ti_compile()
704 ind, buf.buf, buf.bufpos)) in _ti_compile()