Lines Matching refs:base
42 strtoimax(const char *nptr, char **endptr, int base)
50 * Ensure that base is between 2 and 36 inclusive, or the special
53 if (base < 0 || base == 1 || base > 36) {
62 * If base is 0, allow 0x for hex and 0 for octal, else
63 * assume decimal; if base is already 16, allow 0x.
77 if ((base == 0 || base == 16) &&
81 base = 16;
83 if (base == 0)
84 base = c == '0' ? 8 : 10;
89 * base. An input number that is greater than this value, if
94 * [-9223372036854775808..9223372036854775807] and the input base
105 cutlim = cutoff % base;
106 cutoff /= base;
109 cutlim -= base;
121 if (c >= base)
132 acc *= base;
142 acc *= base;