Lines Matching defs:base
230 /* Convert NPTR to an 'unsigned long int' or 'long int' in base BASE.
231 If BASE is 0 the base is determined by the presence of a leading
239 int base, int group LOCALE_PARAM_PROTO)
281 if (base < 0 || base == 1 || base > 36)
312 if ((base == 0 || base == 16) && TOUPPER (s[1]) == L_('X'))
315 base = 16;
317 else if (base == 0)
318 base = 8;
320 else if (base == 0)
321 base = 10;
334 && (!ISALPHA (c) || (int) (TOUPPER (c) - L_('A') + 10) >= base))
345 cutoff = STRTOL_ULONG_MAX / (unsigned LONG int) base;
346 cutlim = STRTOL_ULONG_MAX % (unsigned LONG int) base;
360 if ((int) c >= base)
367 i *= (unsigned LONG int) base;
405 /* We must handle a special case here: the base is 0 or 16 and the
431 int base LOCALE_PARAM_PROTO)
433 return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM);