Lines Matching defs:base
44 strtol(const char *nptr, char **endptr, int base)
52 * Ensure that base is between 2 and 36 inclusive, or the special
55 if (base != 0 && (base < 2 || base > 36)) {
64 * If base is 0, allow 0x for hex and 0 for octal, else
65 * assume decimal; if base is already 16, allow 0x.
79 if ((base == 0 || base == 16) &&
83 base = 16;
85 if (base == 0)
86 base = c == '0' ? 8 : 10;
91 * base. An input number that is greater than this value, if
96 * [-2147483648..2147483647] and the input base is 10,
106 cutlim = cutoff % base;
107 cutoff /= base;
110 cutlim -= base;
122 if (c >= base)
133 acc *= base;
143 acc *= base;