/freebsd/contrib/sendmail/libsm/ |
H A D | strto.c | 51 register LONGLONG_T acc, cutoff; variable 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 || (acc == cutoff && c > cutlim)) 191 register ULONGLONG_T acc, cutoff; local 222 cutoff = ULLONG_MAX / (ULONGLONG_T)base; 236 if (acc > cutoff || (acc == cutoff && c > cutlim))
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | strtoll.c | 53 long long acc, cutoff; in strtoll() local 101 cutoff = neg ? LLONG_MIN : LLONG_MAX; in strtoll() 102 cutlim = cutoff % base; in strtoll() 103 cutoff /= base; in strtoll() 107 cutoff += 1; in strtoll() 123 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtoll() 133 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
|
H A D | strtoull.c | 53 unsigned long long acc, cutoff; in strtoull() local 81 cutoff = ULLONG_MAX / (unsigned long long)base; in strtoull() 94 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoull()
|
H A D | strtoul.c | 51 unsigned long acc, cutoff; in strtoul() local 79 cutoff = ULONG_MAX / (unsigned long)base; in strtoul() 92 if (acc > cutoff || acc == cutoff && c > cutlim) { in strtoul()
|
/freebsd/lib/libc/iconv/ |
H A D | _strtol.h | 51 __INT acc, cutoff; in _FUNCNAME() local 121 cutoff = (neg ? __INT_MIN : __INT_MAX); in _FUNCNAME() 122 cutlim = (int)(cutoff % base); in _FUNCNAME() 123 cutoff /= base; in _FUNCNAME() 127 cutoff += 1; in _FUNCNAME() 143 if (acc < cutoff || (acc == cutoff && i > cutlim)) { in _FUNCNAME() 158 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in _FUNCNAME()
|
H A D | _strtoul.h | 50 __UINT acc, cutoff; in _FUNCNAME() local 103 cutoff = __UINT_MAX / (__UINT)base; in _FUNCNAME() 116 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in _FUNCNAME()
|
/freebsd/contrib/unbound/util/ |
H A D | rfc_1982.c | 48 const uint32_t cutoff = ((uint32_t) 1 << (32 - 1)); in compare_1982() local 52 } else if ((a < b && b - a < cutoff) || (a > b && a - b > cutoff)) { in compare_1982() 63 const uint32_t cutoff = ((uint32_t) 1 << (32 - 1)); in subtract_1982() local 67 if(a < b && b - a < cutoff) { in subtract_1982() 70 if(a > b && a - b > cutoff) { in subtract_1982()
|
/freebsd/contrib/bmake/ |
H A D | _strtol.h | 59 __INT acc, cutoff; in _FUNCNAME() local 139 cutoff = (__INT)(neg ? __INT_MIN : __INT_MAX); in _FUNCNAME() 140 cutlim = (int)(cutoff % base); in _FUNCNAME() 141 cutoff /= base; in _FUNCNAME() 145 cutoff += 1; in _FUNCNAME() 163 if (acc < cutoff || (acc == cutoff && i > cutlim)) { in _FUNCNAME() 178 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in _FUNCNAME()
|
/freebsd/contrib/ntp/libparse/ |
H A D | clk_rawdcf.c | 408 unsigned int i, lowmax, highmax, cutoff, span; in cvt_rawdcf() local 425 cutoff = 0; in cvt_rawdcf() 444 cutoff += i; in cvt_rawdcf() 458 cutoff /= lowmax; in cvt_rawdcf() 462 cutoff = 4; /* doesn't really matter - it'll fail anyway, but gives error output */ in cvt_rawdcf() 465 parseprintf(DD_RAWDCF,("parse: cvt_rawdcf: average bit count: %d\n", cutoff)); in cvt_rawdcf() 471 for (i = 0; i <= cutoff; i++) in cvt_rawdcf() 491 cutoff = 0; in cvt_rawdcf() 496 cutoff +=histbuf[i]; in cvt_rawdcf() 501 if (cutoff) in cvt_rawdcf() [all...] |
/freebsd/sys/libkern/ |
H A D | strtol.c | 52 unsigned long cutoff; in strtol() local 94 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol() 95 cutlim = cutoff % (unsigned long)base; in strtol() 96 cutoff /= (unsigned long)base; in strtol() 108 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol()
|
H A D | strtoq.c | 52 u_quad_t qbase, cutoff; in strtoq() local 100 cutoff = neg ? (u_quad_t)-(QUAD_MIN + QUAD_MAX) + QUAD_MAX : QUAD_MAX; in strtoq() 101 cutlim = cutoff % qbase; in strtoq() 102 cutoff /= qbase; in strtoq() 114 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoq()
|
H A D | strtoul.c | 52 unsigned long cutoff; in strtoul() local 74 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base; in strtoul() 87 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoul()
|
H A D | strtouq.c | 52 u_quad_t qbase, cutoff; in strtouq() local 78 cutoff = (u_quad_t)UQUAD_MAX / qbase; in strtouq() 91 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtouq()
|
/freebsd/lib/libc/stdlib/ |
H A D | strtol.c | 56 unsigned long cutoff; in strtol_l() local 116 cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX in strtol_l() 118 cutlim = cutoff % base; in strtol_l() 119 cutoff /= base; in strtol_l() 131 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol_l()
|
H A D | strtoll.c | 56 unsigned long long cutoff; in strtoll_l() local 118 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX in strtoll_l() 120 cutlim = cutoff % base; in strtoll_l() 121 cutoff /= base; in strtoll_l() 133 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoll_l()
|
H A D | strtoimax.c | 56 uintmax_t cutoff; in strtoimax_l() local 117 cutoff = neg ? (uintmax_t)-(INTMAX_MIN + INTMAX_MAX) + INTMAX_MAX in strtoimax_l() 119 cutlim = cutoff % base; in strtoimax_l() 120 cutoff /= base; in strtoimax_l() 132 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoimax_l()
|
H A D | strtoul.c | 55 unsigned long cutoff; in strtoul_l() local 96 cutoff = ULONG_MAX / base; in strtoul_l() 109 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoul_l()
|
H A D | strtoull.c | 56 unsigned long long cutoff; in strtoull_l() local 97 cutoff = ULLONG_MAX / base; in strtoull_l() 110 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoull_l()
|
H A D | strtoumax.c | 56 uintmax_t cutoff; in strtoumax_l() local 97 cutoff = UINTMAX_MAX / base; in strtoumax_l() 110 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoumax_l()
|
/freebsd/lib/libc/locale/ |
H A D | wcstoimax.c | 54 uintmax_t cutoff; in wcstoimax_l() local 95 cutoff = neg ? (uintmax_t)-(INTMAX_MIN + INTMAX_MAX) + INTMAX_MAX in wcstoimax_l() 97 cutlim = cutoff % base; in wcstoimax_l() 98 cutoff /= base; in wcstoimax_l() 115 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in wcstoimax_l()
|
H A D | wcstol.c | 54 unsigned long cutoff; in wcstol_l() local 95 cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX in wcstol_l() 97 cutlim = cutoff % base; in wcstol_l() 98 cutoff /= base; in wcstol_l() 115 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in wcstol_l()
|
H A D | wcstoll.c | 54 unsigned long long cutoff; in wcstoll_l() local 95 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX in wcstoll_l() 97 cutlim = cutoff % base; in wcstoll_l() 98 cutoff /= base; in wcstoll_l() 115 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in wcstoll_l()
|
H A D | wcstoul.c | 54 unsigned long cutoff; in wcstoul_l() local 95 cutoff = ULONG_MAX / base; in wcstoul_l() 113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in wcstoul_l()
|
H A D | wcstoull.c | 54 unsigned long long cutoff; in wcstoull_l() local 95 cutoff = ULLONG_MAX / base; in wcstoull_l() 113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in wcstoull_l()
|
/freebsd/contrib/ntp/parseutil/ |
H A D | dcfd.c | 536 register unsigned int i, lowmax, highmax, cutoff, span; in cvt_rawdcf() local 565 cutoff = 0; in cvt_rawdcf() 590 cutoff += i; in cvt_rawdcf() 612 cutoff /= lowmax; in cvt_rawdcf() 616 cutoff = 4; /* doesn't really matter - it'll fail anyway, but gives error output */ in cvt_rawdcf() 619 DPRINTF(("parse: cvt_rawdcf: average bit count: %d\n", cutoff)); in cvt_rawdcf() 628 for (i = 0; i <= cutoff; i++) in cvt_rawdcf() 656 cutoff = 0; /* bitcount */ in cvt_rawdcf() 664 cutoff +=histbuf[i]; in cvt_rawdcf() 672 if (cutoff) in cvt_rawdcf() [all …]
|