| /freebsd-11-stable/contrib/sendmail/libsm/ |
| HD | 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-11-stable/crypto/openssh/openbsd-compat/ |
| HD | 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()
|
| HD | 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()
|
| HD | 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-11-stable/lib/libc/iconv/ |
| HD | _strtol.h | 50 __INT acc, cutoff; in _FUNCNAME() local 110 cutoff = (neg ? __INT_MIN : __INT_MAX); in _FUNCNAME() 111 cutlim = (int)(cutoff % base); in _FUNCNAME() 112 cutoff /= base; in _FUNCNAME() 116 cutoff += 1; in _FUNCNAME() 132 if (acc < cutoff || (acc == cutoff && i > cutlim)) { in _FUNCNAME() 147 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in _FUNCNAME()
|
| HD | _strtoul.h | 49 __UINT acc, cutoff; in _FUNCNAME() local 92 cutoff = __UINT_MAX / (__UINT)base; in _FUNCNAME() 105 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in _FUNCNAME()
|
| /freebsd-11-stable/contrib/ntp/libparse/ |
| HD | 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-11-stable/sys/libkern/ |
| HD | strtol.c | 58 unsigned long cutoff; local 100 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; 101 cutlim = cutoff % (unsigned long)base; 102 cutoff /= (unsigned long)base; 114 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
|
| HD | strtoq.c | 53 u_quad_t qbase, cutoff; in strtoq() local 101 cutoff = neg ? (u_quad_t)-(QUAD_MIN + QUAD_MAX) + QUAD_MAX : QUAD_MAX; in strtoq() 102 cutlim = cutoff % qbase; in strtoq() 103 cutoff /= qbase; in strtoq() 115 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoq()
|
| HD | strtouq.c | 53 u_quad_t qbase, cutoff; in strtouq() local 79 cutoff = (u_quad_t)UQUAD_MAX / qbase; in strtouq() 92 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtouq()
|
| HD | strtoul.c | 58 unsigned long cutoff; local 80 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base; 93 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
|
| /freebsd-11-stable/contrib/gcclibs/libiberty/ |
| HD | strtol.c | 93 register unsigned long cutoff; in strtol() local 135 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol() 136 cutlim = cutoff % (unsigned long)base; in strtol() 137 cutoff /= (unsigned long)base; in strtol() 147 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol()
|
| HD | strtoul.c | 66 register unsigned long cutoff; in strtoul() local 88 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base; in strtoul() 99 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoul()
|
| /freebsd-11-stable/contrib/binutils/libiberty/ |
| HD | strtol.c | 93 register unsigned long cutoff; in strtol() local 135 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol() 136 cutlim = cutoff % (unsigned long)base; in strtol() 137 cutoff /= (unsigned long)base; in strtol() 147 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol()
|
| HD | strtoul.c | 66 register unsigned long cutoff; in strtoul() local 88 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base; in strtoul() 99 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoul()
|
| /freebsd-11-stable/lib/libc/stdlib/ |
| HD | strtoll.c | 60 unsigned long long cutoff; in strtoll_l() local 114 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX in strtoll_l() 116 cutlim = cutoff % base; in strtoll_l() 117 cutoff /= base; in strtoll_l() 129 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoll_l()
|
| HD | strtoimax.c | 60 uintmax_t cutoff; in strtoimax_l() local 114 cutoff = neg ? (uintmax_t)-(INTMAX_MIN + INTMAX_MAX) + INTMAX_MAX in strtoimax_l() 116 cutlim = cutoff % base; in strtoimax_l() 117 cutoff /= base; in strtoimax_l() 129 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoimax_l()
|
| HD | strtol.c | 60 unsigned long cutoff; in strtol_l() local 113 cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX in strtol_l() 115 cutlim = cutoff % base; in strtol_l() 116 cutoff /= base; in strtol_l() 128 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol_l()
|
| HD | strtoumax.c | 60 uintmax_t cutoff; in strtoumax_l() local 94 cutoff = UINTMAX_MAX / base; in strtoumax_l() 107 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoumax_l()
|
| HD | strtoull.c | 60 unsigned long long cutoff; in strtoull_l() local 94 cutoff = ULLONG_MAX / base; in strtoull_l() 107 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoull_l()
|
| /freebsd-11-stable/lib/libc/locale/ |
| HD | wcstol.c | 55 unsigned long cutoff; in wcstol_l() local 86 cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX in wcstol_l() 88 cutlim = cutoff % base; in wcstol_l() 89 cutoff /= base; in wcstol_l() 106 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in wcstol_l()
|
| HD | wcstoimax.c | 61 uintmax_t cutoff; in wcstoimax_l() local 92 cutoff = neg ? (uintmax_t)-(INTMAX_MIN + INTMAX_MAX) + INTMAX_MAX in wcstoimax_l() 94 cutlim = cutoff % base; in wcstoimax_l() 95 cutoff /= base; in wcstoimax_l() 112 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in wcstoimax_l()
|
| HD | wcstoll.c | 61 unsigned long long cutoff; in wcstoll_l() local 92 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX in wcstoll_l() 94 cutlim = cutoff % base; in wcstoll_l() 95 cutoff /= base; in wcstoll_l() 112 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in wcstoll_l()
|
| /freebsd-11-stable/contrib/ntp/lib/isc/ |
| HD | strtoul.c | 78 unsigned long cutoff; in isc_strtoul() local 100 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base; in isc_strtoul() 113 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in isc_strtoul()
|
| /freebsd-11-stable/contrib/ntp/parseutil/ |
| HD | 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 …]
|