Lines Matching +full:10 +full:base
33 ** base -- numeric base that 'nptr' number is based in
44 sm_strtoll(nptr, endptr, base)
47 register int base; variable
57 ** If base is 0, allow 0x for hex and 0 for octal, else
58 ** assume decimal; if base is already 16, allow 0x.
77 if ((base == 0 || base == 16) &&
82 base = 16;
84 if (base == 0)
85 base = c == '0' ? 8 : 10;
90 ** base. An input number that is greater than this value, if
95 ** [-9223372036854775808..9223372036854775807] and the input base
96 ** is 10, cutoff will be set to 922337203685477580 and cutlim to
107 cutlim = cutoff % base;
108 cutoff /= base;
113 cutlim -= base;
123 c -= isupper(c) ? 'A' - 10 : 'a' - 10;
126 if (c >= base)
141 acc *= base;
156 acc *= base;
175 ** base -- numeric base that 'nptr' number is based in
185 sm_strtoull(nptr, endptr, base) in sm_strtoull() argument
188 register int base;
212 if ((base == 0 || base == 16) &&
217 base = 16;
219 if (base == 0)
220 base = c == '0' ? 8 : 10;
222 cutoff = ULLONG_MAX / (ULONGLONG_T)base;
223 cutlim = ULLONG_MAX % (ULONGLONG_T)base;
229 c -= isupper(c) ? 'A' - 10 : 'a' - 10;
232 if (c >= base)
245 acc *= (ULONGLONG_T)base;