Lines Matching refs:base
51 strtol(const char * __restrict nptr, char ** __restrict endptr, int base)
61 * If base is 0, allow 0x for hex and 0 for octal, else
62 * assume decimal; if base is already 16, allow 0x.
76 if ((base == 0 || base == 16) &&
83 base = 16;
85 if ((base == 0 || base == 2) &&
90 base = 2;
92 if (base == 0)
93 base = c == '0' ? 8 : 10;
95 if (base < 2 || base > 36)
101 * base. An input number that is greater than this value, if
106 * [-2147483648..2147483647] and the input base is 10,
117 cutlim = cutoff % base;
118 cutoff /= base;
128 if (c >= base)
134 acc *= base;
153 long __strtol_internal(const char *number, char **_end, int base, int group);
156 __strtol_internal(const char *number, char **_end, int base, int group)
161 return strtol(number, _end, base);