Lines Matching refs:width
110 int width; in do_buff_decode() local
126 letter), (void *)((long)(ARG)), width, \ in do_buff_decode()
182 width = strtol(fmt, &intendp, 10); in do_buff_decode()
184 if (width > 8) in do_buff_decode()
195 value = (bits >> (shift - width)) & in do_buff_decode()
196 mask[width]; in do_buff_decode()
200 shift, bits, value, width, mask[width]); in do_buff_decode()
205 shift -= width; in do_buff_decode()
212 width = strtol(fmt, &intendp, 10); in do_buff_decode()
214 if (ind + width > len) { in do_buff_decode()
218 switch(width) { in do_buff_decode()
252 width = strtol(fmt, &intendp, 10); in do_buff_decode()
254 if (ind + width > len) { in do_buff_decode()
262 &buff[ind], width, field_name); in do_buff_decode()
266 bcopy(&buff[ind], dest, width); in do_buff_decode()
269 for (p = dest + width - 1; in do_buff_decode()
277 ind += width; in do_buff_decode()
297 width = (arg_put) ? 0 : va_arg(*ap, int); in do_buff_decode()
300 width = strtol(fmt, &intendp, 10); in do_buff_decode()
305 ind += width; /* Relative seek */ in do_buff_decode()
307 ind = width; /* Absolute seek */ in do_buff_decode()
555 int width, value, error, suppress; in do_encode() local
564 while ((ret = next_field(&fmt, &c, &width, &value, field_name, in do_encode()
580 ret, c, width, value, field_name, error, suppress); in do_encode()
589 if (width < 8) { in do_encode()
595 shift += width; in do_encode()
614 switch(width) { in do_encode()