Searched refs:hex_table (Results 1 – 4 of 4) sorted by relevance
167 static const char* hex_table = "0123456789abcdef"; variable170 **str = hex_table[(*data >> 4) & 0xf]; in byte2hex()172 **str = hex_table[*data & 0xf]; in byte2hex()
117 static const char* hex_table = "0123456789abcdef"; in bytes2hex() local120 *str = hex_table[(data[i] >> 4) & 0xf]; in bytes2hex()122 *str = hex_table[data[i] & 0xf]; in bytes2hex()
442 static const char hex_table[16] = "0123456789ABCDEF"; in trace_dump_bytes() local453 hex[0] = hex_table[byte >> 4]; in trace_dump_bytes()454 hex[1] = hex_table[byte & 0xf]; in trace_dump_bytes()