Lines Matching refs:HEXDUMP_LINELEN
68 #define HEXDUMP_LINELEN 16
80 char line[HEXDUMP_LINELEN + 1];
85 if (i % HEXDUMP_LINELEN == 0) {
88 } else if (i % (HEXDUMP_LINELEN / 2) == 0) {
92 line[i % HEXDUMP_LINELEN] =
94 if (i % HEXDUMP_LINELEN == HEXDUMP_LINELEN - 1) {
95 line[HEXDUMP_LINELEN] = 0x0;
99 if (i % HEXDUMP_LINELEN != 0) {
100 for ( ; i % HEXDUMP_LINELEN != 0 ; i++) {
102 if (i % (HEXDUMP_LINELEN / 2) == 0) {
105 line[i % HEXDUMP_LINELEN] = ' ';
107 line[HEXDUMP_LINELEN] = 0x0;