Lines Matching refs:base
45 strtoll(const char *nptr, char **endptr, int base)
53 * Ensure that base is between 2 and 36 inclusive, or the special
56 if (base < 0 || base == 1 || base > 36) {
65 * If base is 0, allow 0x for hex and 0 for octal, else
66 * assume decimal; if base is already 16, allow 0x.
80 if ((base == 0 || base == 16) &&
84 base = 16;
86 if (base == 0)
87 base = c == '0' ? 8 : 10;
92 * base. An input number that is greater than this value, if
97 * [-9223372036854775808..9223372036854775807] and the input base
108 cutlim = cutoff % base;
109 cutoff /= base;
112 cutlim -= base;
124 if (c >= base)
135 acc *= base;
145 acc *= base;