Searched refs:rowsize (Results 1 – 3 of 3) sorted by relevance
| /lib/ |
| A D | test_hexdump.c | 74 int gs = groupsize, rs = rowsize; in test_hexdump_prepare_test() 154 test_hexdump(len, rowsize, 4, ascii); in test_hexdump_set() 155 test_hexdump(len, rowsize, 2, ascii); in test_hexdump_set() 156 test_hexdump(len, rowsize, 8, ascii); in test_hexdump_set() 157 test_hexdump(len, rowsize, 1, ascii); in test_hexdump_set() 161 int rowsize, int groupsize, in test_hexdump_overflow() argument 166 int rs = rowsize, gs = groupsize; in test_hexdump_overflow() 224 int rowsize; in test_hexdump_init() local 226 rowsize = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_init() 228 test_hexdump_set(rowsize, false); in test_hexdump_init() [all …]
|
| A D | hexdump.c | 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() [all …]
|
| A D | seq_buf.c | 403 int rowsize, int groupsize, argument 411 if (rowsize != 16 && rowsize != 32) 412 rowsize = 16; 414 for (i = 0; i < len; i += rowsize) { 415 linelen = min(remaining, rowsize); 416 remaining -= rowsize; 418 hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize,
|
Completed in 6 milliseconds