Lines Matching refs:digits
80 static const char digits[] = "0123456789"; in inet_net_pton_ipv4() local
118 n = aresx_sztosi(strchr(digits, ch) - digits); in inet_net_pton_ipv4()
146 n = aresx_sztosi(strchr(digits, ch) - digits); in inet_net_pton_ipv4()
205 static const char digits[] = "0123456789"; in getbits() local
215 pch = strchr(digits, ch); in getbits()
220 val += aresx_sztosi(pch - digits); in getbits()
236 static const char digits[] = "0123456789"; in getv4() local
247 pch = strchr(digits, ch); in getv4()
252 val += aresx_sztoui(pch - digits); in getv4()
286 int digits; in inet_net_pton_ipv6() local
302 digits = 0; in inet_net_pton_ipv6()
313 if (++digits > 4) in inet_net_pton_ipv6()
332 digits = 0; in inet_net_pton_ipv6()