Lines Matching refs:buff

103 do_buff_decode(uint8_t *buff, size_t len,  in do_buff_decode()  argument
191 bits = buff[ind++]; in do_buff_decode()
219 ARG_PUT(buff[ind]); in do_buff_decode()
224 ARG_PUT(buff[ind] << 8 | buff[ind + 1]); in do_buff_decode()
229 ARG_PUT(buff[ind] << 16 | in do_buff_decode()
230 buff[ind + 1] << 8 | buff[ind + 2]); in do_buff_decode()
235 ARG_PUT(buff[ind] << 24 | buff[ind + 1] << 16 | in do_buff_decode()
236 buff[ind + 2] << 8 | buff[ind + 3]); in do_buff_decode()
261 &buff[ind], width, field_name); in do_buff_decode()
265 bcopy(&buff[ind], dest, width); in do_buff_decode()
546 do_encode(u_char *buff, size_t vec_max, size_t *used, in do_encode() argument
600 buff[ind++] = val; in do_encode()
608 buff[ind++] = val; in do_encode()
616 buff[ind++] = value; in do_encode()
621 buff[ind++] = value >> 8; in do_encode()
622 buff[ind++] = value; in do_encode()
628 buff[ind++] = value >> 16; in do_encode()
629 buff[ind++] = value >> 8; in do_encode()
630 buff[ind++] = value; in do_encode()
636 buff[ind++] = value >> 24; in do_encode()
637 buff[ind++] = value >> 16; in do_encode()
638 buff[ind++] = value >> 8; in do_encode()
639 buff[ind++] = value; in do_encode()
653 buff[ind++] = val; in do_encode()
701 buff_decode(uint8_t *buff, size_t len, const char *fmt, ...) in buff_decode() argument
708 retval = do_buff_decode(buff, len, NULL, NULL, fmt, &ap); in buff_decode()
716 buff_decode_visit(uint8_t *buff, size_t len, const char *fmt, in buff_decode_visit() argument
728 return (do_buff_decode(buff, len, arg_put, puthook, fmt, NULL)); in buff_decode_visit()
831 buff_encode_visit(uint8_t *buff, size_t len, const char *fmt, in buff_encode_visit() argument
842 return (do_encode(buff, len, NULL, arg_get, gethook, fmt, NULL)); in buff_encode_visit()