Searched refs:digit (Results 1 – 3 of 3) sorted by relevance
102 uintmax_t ret, digit; in malloc_strtoumax() local179 while ((*p >= '0' && *p <= '9' && (digit = *p - '0') < b) in malloc_strtoumax()180 || (*p >= 'A' && *p <= 'Z' && (digit = 10 + *p - 'A') < b) in malloc_strtoumax()181 || (*p >= 'a' && *p <= 'z' && (digit = 10 + *p - 'a') < b)) { in malloc_strtoumax()184 ret += digit; in malloc_strtoumax()
754 int digit[4]; in decode_hex4() local761 digit[i] = hexdigit2int(hex[i]); in decode_hex4()762 if (digit[i] < 0) { in decode_hex4()767 return (digit[0] << 12) + in decode_hex4()768 (digit[1] << 8) + in decode_hex4()769 (digit[2] << 4) + in decode_hex4()770 digit[3]; in decode_hex4()
1139 dnl double-digit version numbers, so iterate over patterns to support up to