Lines Matching refs:width
112 int width; in do_buff_decode() local
128 letter), (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()
197 value = (bits >> (shift - width)) & in do_buff_decode()
198 mask[width]; in do_buff_decode()
202 shift, bits, value, width, mask[width]); in do_buff_decode()
207 shift -= width; in do_buff_decode()
214 width = strtol(fmt, &intendp, 10); in do_buff_decode()
216 if (ind + width > len) { in do_buff_decode()
220 switch(width) { in do_buff_decode()
254 width = strtol(fmt, &intendp, 10); in do_buff_decode()
256 if (ind + width > len) { in do_buff_decode()
264 &buff[ind], width, field_name); in do_buff_decode()
268 bcopy(&buff[ind], dest, width); in do_buff_decode()
271 for (p = dest + width - 1; in do_buff_decode()
279 ind += width; in do_buff_decode()
299 width = (arg_put) ? 0 : va_arg(*ap, int); in do_buff_decode()
302 width = strtol(fmt, &intendp, 10); in do_buff_decode()
307 ind += width; /* Relative seek */ in do_buff_decode()
309 ind = width; /* Absolute seek */ in do_buff_decode()
557 int width, value, error, suppress; in do_encode() local
566 while ((ret = next_field(&fmt, &c, &width, &value, field_name, in do_encode()
582 ret, c, width, value, field_name, error, suppress); in do_encode()
591 if (width < 8) { in do_encode()
597 shift += width; in do_encode()
616 switch(width) { in do_encode()