Lines Matching defs:base
57 int base)
60 wcstol(const wchar_t *str, wchar_t **ptr, int base)
70 if (base < 0 || base > MBASE) {
72 return (0); /* base is invalid -- should be a fatal error */
87 if (base == 0) {
89 base = 10;
91 base = 16;
93 base = 8;
96 * for any base > 10, the digits incrementally following
99 if (!iswalnum(c) || (xx = DIGIT(c)) >= base) {
104 if (base == 16 && c == L'0' && iswxdigit(str[2]) &&
114 multmin = limit / base;
117 for (; iswalnum(c = *++str) && (xx = DIGIT(c)) < base; ) {
121 val *= base;
131 while (iswalnum(c = *++str) && (xx = DIGIT(c)) < base)