Searched refs:digits (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/netbsd/nameser/ |
D | ns_ttl.c | 103 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()
|
D | ns_name.c | 56 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/linker/ |
D | linker_format.c | 368 format_number(char *buffer, size_t bufsize, uint64_t value, int base, const char *digits) in format_number() argument 378 *pos++ = digits[d]; in format_number() 421 const char *digits = isCap ? "0123456789ABCDEF" : "0123456789abcdef"; in format_hex() local 423 format_number(buffer, buffsize, value, 16, digits); in format_hex()
|
/bionic/libc/stdio/ |
D | vfprintf.c | 1233 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()
|