Home
last modified time | relevance | path

Searched refs:digits (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/netbsd/nameser/
Dns_ttl.c103 int ch, digits, dirty; in ns_parse_ttl() local
107 digits = 0; in ns_parse_ttl()
115 digits++; in ns_parse_ttl()
118 if (digits == 0) in ns_parse_ttl()
132 digits = 0; in ns_parse_ttl()
135 if (digits > 0) { in ns_parse_ttl()
Dns_name.c56 static const char digits[] = "0123456789"; variable
167 *dn++ = digits[c / 100]; in ns_name_ntop()
168 *dn++ = digits[(c % 100) / 10]; in ns_name_ntop()
169 *dn++ = digits[c % 10]; in ns_name_ntop()
240 else if ((cp = strchr(digits, c)) != NULL) { in ns_name_pton()
241 n = (cp - digits) * 100; in ns_name_pton()
243 (cp = strchr(digits, c)) == NULL) { in ns_name_pton()
247 n += (cp - digits) * 10; in ns_name_pton()
249 (cp = strchr(digits, c)) == NULL) { in ns_name_pton()
253 n += (cp - digits); in ns_name_pton()
/bionic/libc/stdio/
Dvfprintf.c1233 char *digits, *bp, *rve; in cvt() local
1253 digits = __dtoa(value, mode, ndigits, decpt, &dsgn, &rve); in cvt()
1255 bp = digits + ndigits; in cvt()
1257 if (*digits == '0' && value) in cvt()
1266 *length = rve - digits; in cvt()
1267 return (digits); in cvt()