Lines Matching refs:base
54 strtoimax_l(const char * __restrict nptr, char ** __restrict endptr, int base,
66 * If base is 0, allow 0x for hex and 0 for octal, else
67 * assume decimal; if base is already 16, allow 0x.
81 if ((base == 0 || base == 16) &&
88 base = 16;
90 if (base == 0)
91 base = c == '0' ? 8 : 10;
93 if (base < 2 || base > 36)
99 * base. An input number that is greater than this value, if
104 * [-9223372036854775808..9223372036854775807] and the input base
116 cutlim = cutoff % base;
117 cutoff /= base;
127 if (c >= base)
133 acc *= base;
150 strtoimax(const char * __restrict nptr, char ** __restrict endptr, int base)
152 return strtoimax_l(nptr, endptr, base, __get_locale());