Lines Matching refs:rowsize
127 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer() argument
137 if (rowsize != 16 && rowsize != 32) in hex_dump_to_buffer()
138 rowsize = 16; in hex_dump_to_buffer()
140 if (len > rowsize) /* limit to one line at a time */ in hex_dump_to_buffer()
141 len = rowsize; in hex_dump_to_buffer()
148 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer()
262 int rowsize, int groupsize, in print_hex_dump() argument
269 if (rowsize != 16 && rowsize != 32) in print_hex_dump()
270 rowsize = 16; in print_hex_dump()
272 for (i = 0; i < len; i += rowsize) { in print_hex_dump()
273 linelen = min(remaining, rowsize); in print_hex_dump()
274 remaining -= rowsize; in print_hex_dump()
276 hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, in print_hex_dump()