Lines Matching +full:10 +full:base
50 strtoumax_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoumax_l() argument
75 if ((base == 0 || base == 16) && in strtoumax_l()
82 base = 16; in strtoumax_l()
84 if ((base == 0 || base == 2) && in strtoumax_l()
89 base = 2; in strtoumax_l()
91 if (base == 0) in strtoumax_l()
92 base = c == '0' ? 8 : 10; in strtoumax_l()
94 if (base < 2 || base > 36) in strtoumax_l()
97 cutoff = UINTMAX_MAX / base; in strtoumax_l()
98 cutlim = UINTMAX_MAX % base; in strtoumax_l()
103 c -= 'A' - 10; in strtoumax_l()
105 c -= 'a' - 10; in strtoumax_l()
108 if (c >= base) in strtoumax_l()
114 acc *= base; in strtoumax_l()
131 strtoumax(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoumax() argument
133 return strtoumax_l(nptr, endptr, base, __get_locale()); in strtoumax()