Searched refs:linebuf (Results 1 – 1 of 1) sorted by relevance
106 char *linebuf, size_t linebuflen, bool ascii) in hex_dump_to_buffer() argument138 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()149 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()160 ret = snprintf(linebuf + lx, linebuflen - lx, in hex_dump_to_buffer()172 linebuf[lx++] = hex_asc_hi(ch); in hex_dump_to_buffer()175 linebuf[lx++] = hex_asc_lo(ch); in hex_dump_to_buffer()178 linebuf[lx++] = ' '; in hex_dump_to_buffer()189 linebuf[lx++] = ' '; in hex_dump_to_buffer()195 linebuf[lx++] = (isascii(ch) && isprint(ch)) ? ch : '.'; in hex_dump_to_buffer()198 linebuf[lx] = '\0'; in hex_dump_to_buffer()[all …]