Searched refs:tohex (Results 1 – 2 of 2) sorted by relevance
116 #define tohex(x) (isdigit(x) ? (x) - '0' : tolower(x) - 'a' + 10) in get_string() macro117 *p++ = (tohex((u_char)val[0]) << 4) | in get_string()118 tohex((u_char)val[1]); in get_string()119 #undef tohex in get_string()
230 static int tohex(int c);2390 int digit1 = tohex(s[1]); in url_decode()2391 int digit2 = tohex(s[2]); in url_decode()2408 tohex(int c) in tohex() function