Lines Matching refs:base
105 unsigned long strtoul(const char *nptr, char **endptr, int base) in strtoul() argument
110 if (base < 0 || base == 1 || base > 36) { in strtoul()
126 if ((base == 0 || base == 16) && nptr[0] == '0' && nptr[1] == 'x') { in strtoul()
127 base = 16; in strtoul()
129 } else if (base == 0 && nptr[0] == '0') { in strtoul()
130 base = 8; in strtoul()
132 } else if (base == 0) { in strtoul()
133 base = 10; in strtoul()
149 if (v < 0 || v >= base) { in strtoul()
156 new_ret = ret * base; in strtoul()
157 if (new_ret / base != ret || in strtoul()