Lines Matching refs:width
108 int width; in do_buff_decode() local
128 (void *)((long)(ARG)), width, \ in do_buff_decode()
184 width = strtol(fmt, &intendp, 10); in do_buff_decode()
186 if (width > 8) in do_buff_decode()
193 value = (bits >> (shift - width)) & in do_buff_decode()
194 mask[width]; in do_buff_decode()
198 shift, bits, value, width, mask[width]); in do_buff_decode()
203 shift -= width; in do_buff_decode()
210 width = strtol(fmt, &intendp, 10); in do_buff_decode()
212 switch(width) { in do_buff_decode()
249 width = strtol(fmt, &intendp, 10); in do_buff_decode()
255 databuf, width, field_name); in do_buff_decode()
259 bcopy(databuf, dest, width); in do_buff_decode()
262 for (p = dest + width - 1; in do_buff_decode()
270 databuf += width; in do_buff_decode()
290 width = (arg_put) ? 0 : va_arg(ap, int); in do_buff_decode()
293 width = strtol(fmt, &intendp, 10); in do_buff_decode()
298 databuf += width; /* Relative seek */ in do_buff_decode()
300 databuf = base + width; /* Absolute seek */ in do_buff_decode()
548 int width, value, error, suppress; in do_encode() local
557 while ((ret = next_field(&fmt, &c, &width, &value, field_name, in do_encode()
573 ret, c, width, value, field_name, error, suppress); in do_encode()
582 if (width < 8) { in do_encode()
588 shift += width; in do_encode()
607 switch(width) { in do_encode()