Lines Matching refs:base
107 strtol(nptr, endptr, base)
110 register int base;
120 * If base is 0, allow 0x for hex and 0 for octal, else
121 * assume decimal; if base is already 16, allow 0x.
131 if ((base == 0 || base == 16) &&
135 base = 16;
136 } else if ((base == 0 || base == 2) &&
140 base = 2;
142 if (base == 0)
143 base = c == '0' ? 8 : 10;
148 * base. An input number that is greater than this value, if
153 * [-2147483648..2147483647] and the input base is 10,
163 cutlim = cutoff % (unsigned long)base;
164 cutoff /= (unsigned long)base;
172 if (c >= base)
178 acc *= base;
199 strtoul(nptr, endptr, base)
202 register int base;
221 if ((base == 0 || base == 16) &&
225 base = 16;
226 } else if ((base == 0 || base == 2) &&
230 base = 2;
232 if (base == 0)
233 base = c == '0' ? 8 : 10;
234 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base;
235 cutlim = (unsigned long)ULONG_MAX % (unsigned long)base;
243 if (c >= base)
249 acc *= base;