Lines Matching refs:i
40 size_t i; in dump() local
52 for(i = 0; i < size; i += width) { in dump()
54 fprintf(stream, "%4.4lx: ", (unsigned long)i); in dump()
59 if(i + c < size) in dump()
60 fprintf(stream, "%02x ", ptr[i + c]); in dump()
65 for(c = 0; (c < width) && (i + c < size); c++) { in dump()
67 if(nohex && (i + c + 1 < size) && ptr[i + c] == 0x0D && in dump()
68 ptr[i + c + 1] == 0x0A) { in dump()
69 i += (c + 2 - width); in dump()
73 (ptr[i + c] >= 0x20) && (ptr[i + c] < 0x80) ? ptr[i + c] : '.'); in dump()
75 if(nohex && (i + c + 2 < size) && ptr[i + c + 1] == 0x0D && in dump()
76 ptr[i + c + 2] == 0x0A) { in dump()
77 i += (c + 3 - width); in dump()