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

12

/freebsd-current/contrib/unbound/util/
H A Drfc_1982.c48 const uint32_t cutoff = ((uint32_t) 1 << (32 - 1)); local
52 } else if ((a < b && b - a < cutoff) || (a > b && a - b > cutoff)) {
63 const uint32_t cutoff = ((uint32_t) 1 << (32 - 1)); local
67 if(a < b && b - a < cutoff) {
70 if(a > b && a - b > cutoff) {
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dstrtoll.c53 long long acc, cutoff; local
84 * Compute the cutoff value between legal numbers and illegal
92 * is 10, cutoff will be set to 922337203685477580 and cutlim to
101 cutoff = neg ? LLONG_MIN : LLONG_MAX;
102 cutlim = cutoff % base;
103 cutoff /= base;
107 cutoff += 1;
123 if (acc < cutoff || (acc == cutoff && c > cutlim)) {
133 if (acc > cutoff || (ac
[all...]
H A Dstrtoull.c53 unsigned long long acc, cutoff; local
81 cutoff = ULLONG_MAX / (unsigned long long)base;
94 if (acc > cutoff || (acc == cutoff && c > cutlim)) {
H A Dstrtoul.c51 unsigned long acc, cutoff; local
79 cutoff = ULONG_MAX / (unsigned long)base;
92 if (acc > cutoff || acc == cutoff && c > cutlim) {
/freebsd-current/lib/libc/iconv/
H A D_strtol.h51 __INT acc, cutoff; local
105 * Compute the cutoff value between legal numbers and illegal
113 * cutoff will be set to 214748364 and cutlim to either
121 cutoff = (neg ? __INT_MIN : __INT_MAX);
122 cutlim = (int)(cutoff % base);
123 cutoff /= base;
127 cutoff += 1;
143 if (acc < cutoff || (acc == cutoff && i > cutlim)) {
158 if (acc > cutoff || (ac
[all...]
H A D_strtoul.h50 __UINT acc, cutoff; local
103 cutoff = __UINT_MAX / (__UINT)base;
116 if (acc > cutoff || (acc == cutoff && i > cutlim)) {
/freebsd-current/sys/libkern/
H A Dstrtol.c52 unsigned long cutoff; local
78 * Compute the cutoff value between legal numbers and illegal
86 * cutoff will be set to 214748364 and cutlim to either
94 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX;
95 cutlim = cutoff % (unsigned long)base;
96 cutoff /= (unsigned long)base;
108 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtoq.c52 u_quad_t qbase, cutoff; local
82 * Compute the cutoff value between legal numbers and illegal
90 * is 10, cutoff will be set to 922337203685477580 and cutlim to
100 cutoff = neg ? (u_quad_t)-(QUAD_MIN + QUAD_MAX) + QUAD_MAX : QUAD_MAX;
101 cutlim = cutoff % qbase;
102 cutoff /= qbase;
114 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtoul.c52 unsigned long cutoff; local
74 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base;
87 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtouq.c52 u_quad_t qbase, cutoff; local
78 cutoff = (u_quad_t)UQUAD_MAX / qbase;
91 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
/freebsd-current/contrib/sendmail/libsm/
H A Dstrto.c51 register LONGLONG_T acc, cutoff; local
88 ** Compute the cutoff value between legal numbers and illegal
96 ** is 10, cutoff will be set to 922337203685477580 and cutlim to
106 cutoff = neg ? LLONG_MIN : LLONG_MAX;
107 cutlim = cutoff % base;
108 cutoff /= base;
114 cutoff += 1;
132 if (acc < cutoff || (acc == cutoff && c > cutlim))
147 if (acc > cutoff || (ac
191 register ULONGLONG_T acc, cutoff; local
[all...]
/freebsd-current/lib/libc/stdlib/
H A Dstrtoll.c56 unsigned long long cutoff; local
101 * Compute the cutoff value between legal numbers and illegal
109 * is 10, cutoff will be set to 922337203685477580 and cutlim to
118 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX
120 cutlim = cutoff % base;
121 cutoff /= base;
133 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtol.c56 unsigned long cutoff; local
100 * Compute the cutoff value between legal numbers and illegal
108 * cutoff will be set to 214748364 and cutlim to either
116 cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX
118 cutlim = cutoff % base;
119 cutoff /= base;
131 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtoimax.c56 uintmax_t cutoff; local
100 * Compute the cutoff value between legal numbers and illegal
108 * is 10, cutoff will be set to 922337203685477580 and cutlim to
117 cutoff = neg ? (uintmax_t)-(INTMAX_MIN + INTMAX_MAX) + INTMAX_MAX
119 cutlim = cutoff % base;
120 cutoff /= base;
132 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtoull.c56 unsigned long long cutoff; local
97 cutoff = ULLONG_MAX / base;
110 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtoul.c55 unsigned long cutoff; local
96 cutoff = ULONG_MAX / base;
109 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dstrtoumax.c56 uintmax_t cutoff; local
97 cutoff = UINTMAX_MAX / base;
110 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
/freebsd-current/contrib/bmake/
H A D_strtol.h59 __INT acc, cutoff; local
123 * Compute the cutoff value between legal numbers and illegal
131 * cutoff will be set to 214748364 and cutlim to either
139 cutoff = (__INT)(neg ? __INT_MIN : __INT_MAX);
140 cutlim = (int)(cutoff % base);
141 cutoff /= base;
145 cutoff += 1;
163 if (acc < cutoff || (acc == cutoff && i > cutlim)) {
178 if (acc > cutoff || (ac
[all...]
/freebsd-current/lib/libc/locale/
H A Dwcstol.c54 unsigned long cutoff; local
95 cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX
97 cutlim = cutoff % base;
98 cutoff /= base;
115 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dwcstoimax.c54 uintmax_t cutoff; local
95 cutoff = neg ? (uintmax_t)-(INTMAX_MIN + INTMAX_MAX) + INTMAX_MAX
97 cutlim = cutoff % base;
98 cutoff /= base;
115 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dwcstoll.c54 unsigned long long cutoff; local
95 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX
97 cutlim = cutoff % base;
98 cutoff /= base;
115 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dwcstoul.c54 unsigned long cutoff; local
95 cutoff = ULONG_MAX / base;
113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dwcstoumax.c54 uintmax_t cutoff; local
95 cutoff = UINTMAX_MAX / base;
113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
H A Dwcstoull.c54 unsigned long long cutoff; local
95 cutoff = ULLONG_MAX / base;
113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
/freebsd-current/contrib/ntp/libparse/
H A Dclk_rawdcf.c408 unsigned int i, lowmax, highmax, cutoff, span; local
425 cutoff = 0;
444 cutoff += i;
458 cutoff /= lowmax;
462 cutoff = 4; /* doesn't really matter - it'll fail anyway, but gives error output */
465 parseprintf(DD_RAWDCF,("parse: cvt_rawdcf: average bit count: %d\n", cutoff));
471 for (i = 0; i <= cutoff; i++)
491 cutoff = 0;
496 cutoff +=histbuf[i];
501 if (cutoff)
[all...]

Completed in 242 milliseconds

12