/freebsd-current/contrib/unbound/util/ |
H A D | rfc_1982.c | 48 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 D | strtoll.c | 53 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 D | strtoull.c | 53 unsigned long long acc, cutoff; local 81 cutoff = ULLONG_MAX / (unsigned long long)base; 94 if (acc > cutoff || (acc == cutoff && c > cutlim)) {
|
H A D | strtoul.c | 51 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.h | 51 __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.h | 50 __UINT acc, cutoff; local 103 cutoff = __UINT_MAX / (__UINT)base; 116 if (acc > cutoff || (acc == cutoff && i > cutlim)) {
|
/freebsd-current/sys/libkern/ |
H A D | strtol.c | 52 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 D | strtoq.c | 52 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 D | strtoul.c | 52 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 D | strtouq.c | 52 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 D | strto.c | 51 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 D | strtoll.c | 56 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 D | strtol.c | 56 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 D | strtoimax.c | 56 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 D | strtoull.c | 56 unsigned long long cutoff; local 97 cutoff = ULLONG_MAX / base; 110 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
|
H A D | strtoul.c | 55 unsigned long cutoff; local 96 cutoff = ULONG_MAX / base; 109 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
|
H A D | strtoumax.c | 56 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.h | 59 __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 D | wcstol.c | 54 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 D | wcstoimax.c | 54 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 D | wcstoll.c | 54 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 D | wcstoul.c | 54 unsigned long cutoff; local 95 cutoff = ULONG_MAX / base; 113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
|
H A D | wcstoumax.c | 54 uintmax_t cutoff; local 95 cutoff = UINTMAX_MAX / base; 113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
|
H A D | wcstoull.c | 54 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 D | clk_rawdcf.c | 408 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...] |