Searched refs:cutoff (Results 1 - 5 of 5) sorted by relevance

/haiku/src/system/libroot/posix/stdlib/
H A Dstrtoll.c55 unsigned long long cutoff; local
99 * Compute the cutoff value between legal numbers and illegal
107 * is 10, cutoff will be set to 922337203685477580 and cutlim to
116 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX
118 cutlim = cutoff % base;
119 cutoff /= base;
131 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtol.c56 unsigned long cutoff; local
99 * Compute the cutoff value between legal numbers and illegal
107 * cutoff will be set to 214748364 and cutlim to either
115 cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX
117 cutlim = cutoff % base;
118 cutoff /= base;
130 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtoull.c55 unsigned long long cutoff; local
95 cutoff = ULLONG_MAX / base;
108 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtoul.c56 unsigned long cutoff; local
96 cutoff = ULONG_MAX / base;
109 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dstrtol.c234 register unsigned LONG int cutoff; variable
376 cutoff = STRTOL_ULONG_MAX / (unsigned LONG int) base;
470 if (i > cutoff || (i == cutoff && c > cutlim))

Completed in 68 milliseconds