Searched refs:hexchars (Results 1 – 3 of 3) sorted by relevance
173 const char *hexchars = "0123456789ABCDEF"; in strhex_to_str() local177 if (strncmp(hexchars, "0x", 2) == 0) { in strhex_to_str()182 if (!(p1 = strchr(hexchars, toupper(strhex[i])))) in strhex_to_str()187 if (!(p2 = strchr(hexchars, toupper(strhex[i])))) in strhex_to_str()191 hinybble = (p1 - hexchars); in strhex_to_str()192 lonybble = (p2 - hexchars); in strhex_to_str()
174 static char hexchars[] = "0123456789abcdef"; local345 OUTCHAR(hexchars[c >> 4]);346 OUTCHAR(hexchars[c & 0xf]);375 OUTCHAR(hexchars[(c >> 4) & 0xf]);376 OUTCHAR(hexchars[c & 0xf]);390 *--str = hexchars[val % base];
190 static const uint8_t hexchars[16] = "0123456789abcdef"; in int2hex() local192 *hex++ = hexchars[(val >> (len*4)) & 15]; in int2hex()