Searched refs:digits (Results 1 – 6 of 6) sorted by relevance
75 static const char digits[] = "0123456789"; in inet_pton4() local86 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4()87 u_int new = *tp * 10 + (u_int)(pch - digits); in inet_pton4()
619 char digits[11]; in itoa() local626 dp = digits; in itoa()631 while (dp != digits) { in itoa()
639 static char digits[] = "0123456789abcdef0123456789ABCDEF"; in __doprnt() local679 *p-- = digits[(u % base) + capitals]; in __doprnt()
738 uint32_t in, out, digits; in IOHibernateSystemSleep() local739 for (in = out = digits = 0; in IOHibernateSystemSleep()750 out = digits = value = 0; in IOHibernateSystemSleep()755 if (digits & 1) { in IOHibernateSystemSleep()761 digits++; in IOHibernateSystemSleep()
3208 static const char digits[] = "0123456789abcdef"; in ip6_sprintf() local3252 *cp++ = digits[n]; in ip6_sprintf()3256 *cp++ = digits[n]; in ip6_sprintf()3260 *cp++ = digits[n]; in ip6_sprintf()3264 *cp++ = digits[n]; in ip6_sprintf()
5357 const char digits[] = "0123456789abcdef"; in dtrace_dif_subr() local5486 *end-- = digits[val % 16]; in dtrace_dif_subr()