Lines Matching refs:width
103 int width; in do_buff_decode() local
123 (void *)((long)(ARG)), width, \ in do_buff_decode()
179 width = strtol(fmt, &intendp, 10); in do_buff_decode()
181 if (width > 8) in do_buff_decode()
188 value = (bits >> (shift - width)) & in do_buff_decode()
189 mask[width]; in do_buff_decode()
193 shift, bits, value, width, mask[width]); in do_buff_decode()
198 shift -= width; in do_buff_decode()
205 width = strtol(fmt, &intendp, 10); in do_buff_decode()
207 switch(width) { in do_buff_decode()
244 width = strtol(fmt, &intendp, 10); in do_buff_decode()
250 databuf, width, field_name); in do_buff_decode()
254 bcopy(databuf, dest, width); in do_buff_decode()
257 for (p = dest + width - 1; in do_buff_decode()
265 databuf += width; in do_buff_decode()
285 width = (arg_put) ? 0 : va_arg(ap, int); in do_buff_decode()
288 width = strtol(fmt, &intendp, 10); in do_buff_decode()
293 databuf += width; /* Relative seek */ in do_buff_decode()
295 databuf = base + width; /* Absolute seek */ in do_buff_decode()
543 int width, value, error, suppress; in do_encode() local
552 while ((ret = next_field(&fmt, &c, &width, &value, field_name, in do_encode()
568 ret, c, width, value, field_name, error, suppress); in do_encode()
577 if (width < 8) { in do_encode()
583 shift += width; in do_encode()
602 switch(width) { in do_encode()