Lines Matching refs:rowsize
52 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer() argument
62 if (rowsize != 16 && rowsize != 32) in hex_dump_to_buffer()
63 rowsize = 16; in hex_dump_to_buffer()
65 if (len > rowsize) /* limit to one line at a time */ in hex_dump_to_buffer()
66 len = rowsize; in hex_dump_to_buffer()
73 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer()
182 void print_hex_dump(const char *prefix_str, int prefix_type, int rowsize, in print_hex_dump() argument
189 if (rowsize != 16 && rowsize != 32) in print_hex_dump()
190 rowsize = 16; in print_hex_dump()
192 for (i = 0; i < len; i += rowsize) { in print_hex_dump()
193 linelen = min(remaining, rowsize); in print_hex_dump()
194 remaining -= rowsize; in print_hex_dump()
196 hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, in print_hex_dump()
236 int rowsize, int groupsize, const void *buf, in print_hex_dump() argument