Lines Matching refs:base
35 ** base -- numeric base that 'nptr' number is based in
46 sm_strtoll(nptr, endptr, base)
49 register int base;
59 ** If base is 0, allow 0x for hex and 0 for octal, else
60 ** assume decimal; if base is already 16, allow 0x.
79 if ((base == 0 || base == 16) &&
84 base = 16;
86 if (base == 0)
87 base = c == '0' ? 8 : 10;
92 ** base. An input number that is greater than this value, if
97 ** [-9223372036854775808..9223372036854775807] and the input base
109 cutlim = cutoff % base;
110 cutoff /= base;
115 cutlim -= base;
128 if (c >= base)
143 acc *= base;
158 acc *= base;
177 ** base -- numeric base that 'nptr' number is based in
187 sm_strtoull(nptr, endptr, base)
190 register int base;
214 if ((base == 0 || base == 16) &&
219 base = 16;
221 if (base == 0)
222 base = c == '0' ? 8 : 10;
224 cutoff = ULLONG_MAX / (ULONGLONG_T)base;
225 cutlim = ULLONG_MAX % (ULONGLONG_T)base;
234 if (c >= base)
247 acc *= (ULONGLONG_T)base;