Lines Matching refs:base
46 ddi_strtoll(const char *str, char **nptr, int base, longlong_t *result)
49 strtoll(const char *str, char **nptr, int base)
63 if (base < 0 || base > MBASE || base == 1) {
64 /* base is invalid -- should be a fatal error */
83 if (base == 0)
85 base = 10;
87 base = 16;
89 base = 8;
91 * for any base > 10, the digits incrementally following
94 if (!lisalnum(c) || (xx = DIGIT(c)) >= base) {
102 if (base == 16 && c == '0' && (ustr[1] == 'x' || ustr[1] == 'X') &&
111 multmin = limit / (longlong_t)base;
113 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; ) {
117 val *= base;
133 for (c = *++ustr; lisalnum(c) && (xx = DIGIT(c)) < base; (c = *++ustr))