Home
last modified time | relevance | path

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

123

/netbsd/src/lib/libc/locale/
D_wcstol.h57 __INT acc, cutoff; in INT_FUNCNAME() local
66 (void)&acc; (void)&cutoff; in INT_FUNCNAME()
104 cutoff = neg ? __INT_MIN : __INT_MAX; in INT_FUNCNAME()
105 cutlim = (int)(cutoff % base); in INT_FUNCNAME()
106 cutoff /= base; in INT_FUNCNAME()
110 cutoff += 1; in INT_FUNCNAME()
123 if (acc < cutoff || (acc == cutoff && i > cutlim)) { in INT_FUNCNAME()
133 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in INT_FUNCNAME()
D_wcstoul.h56 __UINT acc, cutoff; in INT_FUNCNAME() local
98 cutoff = __UINT_MAX / (__UINT)base; in INT_FUNCNAME()
108 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in INT_FUNCNAME()
/netbsd/src/external/bsd/ntp/dist/libparse/
Dclk_rawdcf.c410 unsigned int i, lowmax, highmax, cutoff, span; in cvt_rawdcf() local
427 cutoff = 0; in cvt_rawdcf()
446 cutoff += i; in cvt_rawdcf()
460 cutoff /= lowmax; in cvt_rawdcf()
464cutoff = 4; /* doesn't really matter - it'll fail anyway, but gives error output */ in cvt_rawdcf()
467 parseprintf(DD_RAWDCF,("parse: cvt_rawdcf: average bit count: %d\n", cutoff)); in cvt_rawdcf()
473 for (i = 0; i <= cutoff; i++) in cvt_rawdcf()
493 cutoff = 0; in cvt_rawdcf()
498 cutoff +=histbuf[i]; in cvt_rawdcf()
503 if (cutoff) in cvt_rawdcf()
[all …]
/netbsd/src/common/lib/libc/stdlib/
D_strtol.h59 __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()
D_strtoul.h59 __UINT acc, cutoff; in _FUNCNAME() local
125 cutoff = ((__UINT)__UINT_MAX / (__UINT)base); in _FUNCNAME()
140 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in _FUNCNAME()
/netbsd/src/external/bsd/nvi/dist/clib/
Dstrtol.c64 register unsigned long cutoff; in strtol() local
106 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol()
107 cutlim = cutoff % (unsigned long)base; in strtol()
108 cutoff /= (unsigned long)base; in strtol()
118 if (any < 0 || acc > cutoff || acc == cutoff && c > cutlim) in strtol()
Dstrtoul.c64 register unsigned long cutoff; in strtoul() local
86 cutoff = (unsigned long)ULONG_MAX / (unsigned long)base; in strtoul()
97 if (any < 0 || acc > cutoff || acc == cutoff && c > cutlim) in strtoul()
/netbsd/src/external/gpl3/gdb/dist/libiberty/
Dstrtol.c95 register unsigned long cutoff; in strtol() local
137 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol()
138 cutlim = cutoff % (unsigned long)base; in strtol()
139 cutoff /= (unsigned long)base; in strtol()
149 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol()
Dstrtoll.c103 register ullong_type cutoff; in strtoll() local
145 cutoff = neg ? -(ullong_type)LLONG_MIN : LLONG_MAX; in strtoll()
146 cutlim = cutoff % (ullong_type)base; in strtoll()
147 cutoff /= (ullong_type)base; in strtoll()
157 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoll()
Dstrtoul.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()
Dstrtoull.c71 register ullong_type cutoff; in strtoull() local
93 cutoff = (ullong_type)ULLONG_MAX / (ullong_type)base; in strtoull()
104 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoull()
/netbsd/src/external/gpl3/binutils/dist/libiberty/
Dstrtol.c95 register unsigned long cutoff; in strtol() local
137 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol()
138 cutlim = cutoff % (unsigned long)base; in strtol()
139 cutoff /= (unsigned long)base; in strtol()
149 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol()
Dstrtoll.c103 register ullong_type cutoff; in strtoll() local
145 cutoff = neg ? -(ullong_type)LLONG_MIN : LLONG_MAX; in strtoll()
146 cutlim = cutoff % (ullong_type)base; in strtoll()
147 cutoff /= (ullong_type)base; in strtoll()
157 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoll()
Dstrtoul.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()
Dstrtoull.c71 register ullong_type cutoff; in strtoull() local
93 cutoff = (ullong_type)ULLONG_MAX / (ullong_type)base; in strtoull()
104 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoull()
/netbsd/src/sys/arch/ia64/stand/common/
Dstrtol.c62 unsigned long cutoff; in strtol() local
109 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol()
110 cutlim = cutoff % (unsigned long)base; in strtol()
111 cutoff /= (unsigned long)base; in strtol()
123 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol()
/netbsd/src/external/gpl3/gcc/dist/libiberty/
Dstrtol.c95 register unsigned long cutoff; in strtol() local
137 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol()
138 cutlim = cutoff % (unsigned long)base; in strtol()
139 cutoff /= (unsigned long)base; in strtol()
149 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtol()
Dstrtoll.c103 register ullong_type cutoff; in strtoll() local
145 cutoff = neg ? -(ullong_type)LLONG_MIN : LLONG_MAX; in strtoll()
146 cutlim = cutoff % (ullong_type)base; in strtoll()
147 cutoff /= (ullong_type)base; in strtoll()
157 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoll()
Dstrtoul.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()
Dstrtoull.c71 register ullong_type cutoff; in strtoull() local
93 cutoff = (ullong_type)ULLONG_MAX / (ullong_type)base; in strtoull()
104 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoull()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/
Dstrtoll.c65 unsigned long long cutoff; in strtoll() local
118 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX in strtoll()
120 cutlim = cutoff % base; in strtoll()
121 cutoff /= base; in strtoll()
133 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoll()
Dstrtoull.c65 unsigned long long cutoff; in strtoull() local
98 cutoff = ULLONG_MAX / base; in strtoull()
111 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoull()
/netbsd/src/external/bsd/ntp/dist/parseutil/
Ddcfd.c538 register unsigned int i, lowmax, highmax, cutoff, span; in cvt_rawdcf() local
567 cutoff = 0; in cvt_rawdcf()
592 cutoff += i; in cvt_rawdcf()
614 cutoff /= lowmax; in cvt_rawdcf()
618cutoff = 4; /* doesn't really matter - it'll fail anyway, but gives error output */ in cvt_rawdcf()
621 DPRINTF(("parse: cvt_rawdcf: average bit count: %d\n", cutoff)); in cvt_rawdcf()
630 for (i = 0; i <= cutoff; i++) in cvt_rawdcf()
658 cutoff = 0; /* bitcount */ in cvt_rawdcf()
666 cutoff +=histbuf[i]; in cvt_rawdcf()
674 if (cutoff) in cvt_rawdcf()
[all …]
/netbsd/src/external/bsd/libbind/dist/bsd/
Dstrtoul.c66 u_long acc, cutoff; in strtoul() local
90 cutoff = (u_long)ULONG_MAX / (u_long)base; in strtoul()
101 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoul()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dspellcheck.h125 edit_distance_t cutoff = get_cutoff (candidate_len);
126 if (min_candidate_distance > cutoff)
175 edit_distance_t cutoff = get_cutoff (m_best_candidate_len);
176 if (m_best_distance > cutoff)

123