Home
last modified time | relevance | path

Searched refs:cutoff (Results 1 – 25 of 66) sorted by relevance

123

/freebsd-11-stable/contrib/sendmail/libsm/
HDstrto.c51 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/
HDstrtoll.c53 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()
HDstrtoull.c53 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()
HDstrtoul.c51 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.h50 __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.h49 __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/
HDclk_rawdcf.c408 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/
HDstrtol.c58 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))
HDstrtoq.c53 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()
HDstrtouq.c53 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()
HDstrtoul.c58 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/
HDstrtol.c93 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()
HDstrtoul.c66 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/
HDstrtol.c93 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()
HDstrtoul.c66 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/
HDstrtoll.c60 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()
HDstrtoimax.c60 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()
HDstrtol.c60 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()
HDstrtoumax.c60 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()
HDstrtoull.c60 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/
HDwcstol.c55 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()
HDwcstoimax.c61 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()
HDwcstoll.c61 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/
HDstrtoul.c78 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/
HDdcfd.c536 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 …]

123