Searched refs:xdigits (Results 1 – 2 of 2) sorted by relevance
182 const char *xdigits, *curtok; in inet_pton6() local199 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_pton6()200 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6()203 val |= (pch - xdigits); in inet_pton6()
137 static const char xdigits[] = "0123456789abcdef"; in inet_net_pton_ipv4() local158 n = (int)(strchr(xdigits, ch) - xdigits); in inet_net_pton_ipv4()