Lines Matching defs:base
55 int base)
58 wcstoul(const wchar_t *str, wchar_t **ptr, int base)
68 if (base < 0 || base > MBASE) {
70 return (0); /* base is invalid -- should be a fatal error */
85 if (base == 0) {
87 base = 10;
89 base = 16;
91 base = 8;
94 * for any base > 10, the digits incrementally following
97 if (!iswalnum(c) || (xx = DIGIT(c)) >= base) {
101 if (base == 16 && c == L'0' && iswxdigit(str[2]) &&
106 multmax = _WULONG_MAX / (_WULONG_T)base;
108 for (; iswalnum(c = *++str) && (xx = DIGIT(c)) < base; ) {
112 val *= base;
122 while (iswalnum(c = *++str) && (xx = DIGIT(c)) < base)