Lines Matching +full:10 +full:base
50 strtoll_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoll_l() argument
62 * If base is 0, allow 0b for binary, 0x for hex, and 0 for in strtoll_l()
63 * octal, else assume decimal; if base is already 2, allow in strtoll_l()
64 * 0b; if base is already 16, allow 0x. in strtoll_l()
78 if ((base == 0 || base == 16) && in strtoll_l()
85 base = 16; in strtoll_l()
87 if ((base == 0 || base == 2) && in strtoll_l()
92 base = 2; in strtoll_l()
94 if (base == 0) in strtoll_l()
95 base = c == '0' ? 8 : 10; in strtoll_l()
97 if (base < 2 || base > 36) in strtoll_l()
103 * base. An input number that is greater than this value, if in strtoll_l()
108 * [-9223372036854775808..9223372036854775807] and the input base in strtoll_l()
109 * is 10, cutoff will be set to 922337203685477580 and cutlim to in strtoll_l()
120 cutlim = cutoff % base; in strtoll_l()
121 cutoff /= base; in strtoll_l()
126 c -= 'A' - 10; in strtoll_l()
128 c -= 'a' - 10; in strtoll_l()
131 if (c >= base) in strtoll_l()
137 acc *= base; in strtoll_l()
154 strtoll(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoll() argument
156 return strtoll_l(nptr, endptr, base, __get_locale()); in strtoll()