Lines Matching refs:base
34 strtol(str, ptr, base)
37 register int base;
45 if (base < 0 || base > MBASE)
46 return (0); /* base is invalid -- should be a fatal error */
57 if (base == 0)
59 base = 10;
61 base = 16;
63 base = 8;
65 * for any base > 10, the digits incrementally following
68 if (!isalnum(c) || (xx = DIGIT(c)) >= base)
70 if (base == 16 && c == '0' && isxdigit(str[2]) &&
73 for (val = -DIGIT(c); isalnum(c = *++str) && (xx = DIGIT(c)) < base; )
75 val = base * val - xx;