Lines Matching refs:base
43 strtol(const char *nptr, char **endptr, int base)
51 * Ensure that base is between 2 and 36 inclusive, or the special
54 if (base < 0 || base == 1 || base > 36) {
63 * If base is 0, allow 0x for hex and 0 for octal, else
64 * assume decimal; if base is already 16, allow 0x.
78 if ((base == 0 || base == 16) &&
82 base = 16;
84 if (base == 0)
85 base = c == '0' ? 8 : 10;
90 * base. An input number that is greater than this value, if
95 * [-2147483648..2147483647] and the input base is 10,
105 cutlim = cutoff % base;
106 cutoff /= base;
109 cutlim -= base;
121 if (c >= base)
132 acc *= base;
142 acc *= base;