Searched refs:digits (Results 1 – 4 of 4) sorted by relevance
99 int ch, digits, dirty; in ns_parse_ttl() local103 digits = 0; in ns_parse_ttl()111 digits++; in ns_parse_ttl()114 if (digits == 0) in ns_parse_ttl()128 digits = 0; in ns_parse_ttl()131 if (digits > 0) { in ns_parse_ttl()
51 static const char digits[] = "0123456789"; variable162 *dn++ = digits[c / 100]; in ns_name_ntop()163 *dn++ = digits[(c % 100) / 10]; in ns_name_ntop()164 *dn++ = digits[c % 10]; in ns_name_ntop()254 else if ((cp = strchr(digits, c)) != NULL) { in ns_name_pton2()255 n = (int)(cp - digits) * 100; in ns_name_pton2()257 (cp = strchr(digits, c)) == NULL) { in ns_name_pton2()261 n += (int)(cp - digits) * 10; in ns_name_pton2()263 (cp = strchr(digits, c)) == NULL) { in ns_name_pton2()267 n += (int)(cp - digits); in ns_name_pton2()
75 static const char digits[] = "0123456789"; in inet_pton4() local85 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4()86 u_int new = *tp * 10 + (pch - digits); in inet_pton4()
1976 std::string digits("0123456789"); in TEST() local1977 FILE* fp = fmemopen(&digits[0], digits.size(), "r"); in TEST()