Lines Matching refs:len
105 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer() argument
118 if (len > rowsize) /* limit to one line at a time */ in hex_dump_to_buffer()
119 len = rowsize; in hex_dump_to_buffer()
122 if ((len % groupsize) != 0) /* no mixed size output */ in hex_dump_to_buffer()
125 ngroups = len / groupsize; in hex_dump_to_buffer()
131 if (!len) in hex_dump_to_buffer()
168 for (j = 0; j < len; j++) { in hex_dump_to_buffer()
191 for (j = 0; j < len; j++) { in hex_dump_to_buffer()
203 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; in hex_dump_to_buffer()
241 const void *buf, size_t len, bool ascii) in print_hex_dump() argument
244 int i, linelen, remaining = len; in print_hex_dump()
250 for (i = 0; i < len; i += rowsize) { in print_hex_dump()