Lines Matching refs:width
109 int width; in do_buff_decode() local
125 letter), (void *)((long)(ARG)), width, \ in do_buff_decode()
181 width = strtol(fmt, &intendp, 10); in do_buff_decode()
183 if (width > 8) in do_buff_decode()
194 value = (bits >> (shift - width)) & in do_buff_decode()
195 mask[width]; in do_buff_decode()
199 shift, bits, value, width, mask[width]); in do_buff_decode()
204 shift -= width; in do_buff_decode()
211 width = strtol(fmt, &intendp, 10); in do_buff_decode()
213 if (ind + width > len) { in do_buff_decode()
217 switch(width) { in do_buff_decode()
251 width = strtol(fmt, &intendp, 10); in do_buff_decode()
253 if (ind + width > len) { in do_buff_decode()
261 &buff[ind], width, field_name); in do_buff_decode()
265 bcopy(&buff[ind], dest, width); in do_buff_decode()
268 for (p = dest + width - 1; in do_buff_decode()
276 ind += width; in do_buff_decode()
296 width = (arg_put) ? 0 : va_arg(*ap, int); in do_buff_decode()
299 width = strtol(fmt, &intendp, 10); in do_buff_decode()
304 ind += width; /* Relative seek */ in do_buff_decode()
306 ind = width; /* Absolute seek */ in do_buff_decode()
554 int width, value, error, suppress; in do_encode() local
563 while ((ret = next_field(&fmt, &c, &width, &value, field_name, in do_encode()
579 ret, c, width, value, field_name, error, suppress); in do_encode()
588 if (width < 8) { in do_encode()
594 shift += width; in do_encode()
613 switch(width) { in do_encode()