Lines Matching refs:buff
106 do_buff_decode(u_int8_t *buff, size_t len, in do_buff_decode() argument
194 bits = buff[ind++]; in do_buff_decode()
222 ARG_PUT(buff[ind]); in do_buff_decode()
227 ARG_PUT(buff[ind] << 8 | buff[ind + 1]); in do_buff_decode()
232 ARG_PUT(buff[ind] << 16 | in do_buff_decode()
233 buff[ind + 1] << 8 | buff[ind + 2]); in do_buff_decode()
238 ARG_PUT(buff[ind] << 24 | buff[ind + 1] << 16 | in do_buff_decode()
239 buff[ind + 2] << 8 | buff[ind + 3]); in do_buff_decode()
264 &buff[ind], width, field_name); in do_buff_decode()
268 bcopy(&buff[ind], dest, width); in do_buff_decode()
549 do_encode(u_char *buff, size_t vec_max, size_t *used, in do_encode() argument
603 buff[ind++] = val; in do_encode()
611 buff[ind++] = val; in do_encode()
619 buff[ind++] = value; in do_encode()
624 buff[ind++] = value >> 8; in do_encode()
625 buff[ind++] = value; in do_encode()
631 buff[ind++] = value >> 16; in do_encode()
632 buff[ind++] = value >> 8; in do_encode()
633 buff[ind++] = value; in do_encode()
639 buff[ind++] = value >> 24; in do_encode()
640 buff[ind++] = value >> 16; in do_encode()
641 buff[ind++] = value >> 8; in do_encode()
642 buff[ind++] = value; in do_encode()
656 buff[ind++] = val; in do_encode()
704 buff_decode(u_int8_t *buff, size_t len, const char *fmt, ...) in buff_decode() argument
711 retval = do_buff_decode(buff, len, NULL, NULL, fmt, &ap); in buff_decode()
719 buff_decode_visit(u_int8_t *buff, size_t len, const char *fmt, in buff_decode_visit() argument
731 return (do_buff_decode(buff, len, arg_put, puthook, fmt, NULL)); in buff_decode_visit()
834 buff_encode_visit(u_int8_t *buff, size_t len, const char *fmt, in buff_encode_visit() argument
845 return (do_encode(buff, len, NULL, arg_get, gethook, fmt, NULL)); in buff_encode_visit()