Home
last modified time | relevance | path

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

123

/openbsd/src/sys/lib/libsa/
Dstrtoll.c45 long long acc, cutoff; in strtoll() local
93 cutoff = neg ? LLONG_MIN : LLONG_MAX; in strtoll()
94 cutlim = cutoff % base; in strtoll()
95 cutoff /= base; in strtoll()
99 cutoff += 1; in strtoll()
115 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
124 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
Dstrtol.c45 long acc, cutoff; in strtol() local
92 cutoff = neg ? LONG_MIN : LONG_MAX; in strtol()
93 cutlim = cutoff % base; in strtol()
94 cutoff /= base; in strtol()
98 cutoff += 1; in strtol()
116 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtol()
125 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtol()
/openbsd/src/libexec/ld.so/
Dstrtol.c47 long acc, cutoff; in _dl_strtol() local
95 cutoff = neg ? LONG_MIN : LONG_MAX; in _dl_strtol()
96 cutlim = cutoff % base; in _dl_strtol()
97 cutoff /= base; in _dl_strtol()
101 cutoff += 1; in _dl_strtol()
119 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in _dl_strtol()
128 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in _dl_strtol()
/openbsd/src/lib/libc/stdlib/
Dstrtol.c46 long acc, cutoff; in strtol() local
104 cutoff = neg ? LONG_MIN : LONG_MAX; in strtol()
105 cutlim = cutoff % base; in strtol()
106 cutoff /= base; in strtol()
110 cutoff += 1; in strtol()
126 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtol()
136 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtol()
Dstrtoll.c48 long long acc, cutoff; in strtoll() local
107 cutoff = neg ? LLONG_MIN : LLONG_MAX; in strtoll()
108 cutlim = cutoff % base; in strtoll()
109 cutoff /= base; in strtoll()
113 cutoff += 1; in strtoll()
129 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
139 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
Dstrtoimax.c45 intmax_t acc, cutoff; in strtoimax() local
104 cutoff = neg ? INTMAX_MIN : INTMAX_MAX; in strtoimax()
105 cutlim = cutoff % base; in strtoimax()
106 cutoff /= base; in strtoimax()
110 cutoff += 1; in strtoimax()
126 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtoimax()
136 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoimax()
Dstrtoumax.c45 uintmax_t acc, cutoff; in strtoumax() local
80 cutoff = UINTMAX_MAX / (uintmax_t)base; in strtoumax()
93 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoumax()
Dstrtoull.c48 unsigned long long acc, cutoff; in strtoull() local
83 cutoff = ULLONG_MAX / (unsigned long long)base; in strtoull()
96 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoull()
Dstrtoul.c46 unsigned long acc, cutoff; in strtoul() local
81 cutoff = ULONG_MAX / (unsigned long)base; in strtoul()
94 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoul()
/openbsd/src/lib/libc/locale/
D_wcstol.h52 int_type acc, cutoff; in FUNCNAME() local
92 cutoff = neg ? MIN_VALUE : MAX_VALUE; in FUNCNAME()
93 cutlim = (int)(cutoff % base); in FUNCNAME()
94 cutoff /= base; in FUNCNAME()
98 cutoff += 1; in FUNCNAME()
111 if (acc < cutoff || (acc == cutoff && i > cutlim)) { in FUNCNAME()
121 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in FUNCNAME()
D_wcstoul.h51 uint_type acc, cutoff; in FUNCNAME() local
90 cutoff = MAX_VALUE / (uint_type)base; in FUNCNAME()
100 if (acc > cutoff || (acc == cutoff && i > cutlim)) { in FUNCNAME()
/openbsd/src/usr.sbin/unbound/util/
Drfc_1982.c48 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()
/openbsd/src/sbin/unwind/libunbound/util/
Drfc_1982.c48 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()
/openbsd/src/gnu/lib/libiberty/src/
Dstrtol.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()
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()
/openbsd/src/usr.sbin/dhcpd/
Doptions.c402 int buflen, code, cutoff, i, incr, ix, length, optstart, overflow; in store_options() local
409 cutoff = main_buffer_size; in store_options()
410 second_cutoff = cutoff + ((overload & 1) ? DHCP_FILE_LEN : 0); in store_options()
455 cutoff - bufix, code, length, in store_options()
470 memset(&buffer[bufix], DHO_PAD, cutoff - bufix); in store_options()
471 bufix = cutoff; in store_options()
472 if (cutoff < second_cutoff) in store_options()
473 cutoff = second_cutoff; in store_options()
474 else if (cutoff < buflen) in store_options()
475 cutoff = buflen; in store_options()
[all …]
/openbsd/src/usr.sbin/nsd/
Dedns.c208 const uint32_t cutoff = ((uint32_t) 1 << (32 - 1)); in compare_1982() local
212 } else if ((a < b && b - a < cutoff) || (a > b && a - b > cutoff)) { in compare_1982()
225 const uint32_t cutoff = ((uint32_t) 1 << (32 - 1)); in subtract_1982() local
229 if(a < b && b - a < cutoff) { in subtract_1982()
232 if(a > b && a - b > cutoff) { in subtract_1982()
/openbsd/src/usr.bin/locate/locate/
Dfastfind.c114 u_char *cutoff; in fastfind_mmap_icase() local
219 cutoff = path; in fastfind_mmap_icase()
224 cutoff = path + count; in fastfind_mmap_icase()
229 for (s = foundchar; s >= cutoff; s--) { in fastfind_mmap_icase()
/openbsd/src/gnu/gcc/gcc/config/sh/
Ddivtab.c63 double cutoff; in note_defect3() local
68 cutoff = (cutoff_val * (1<<CUTOFF_BITS) - val) * y2d; in note_defect3()
69 defect = cutoff + val * d2; in note_defect3()
/openbsd/src/gnu/usr.bin/binutils/bfd/
Dbfd.c917 bfd_vma cutoff; in bfd_scan_vma() local
952 cutoff = (~ (bfd_vma) 0) / (bfd_vma) base; in bfd_scan_vma()
969 if (value > cutoff || (value == cutoff && digit > cutlim)) in bfd_scan_vma()
/openbsd/src/regress/sbin/pfctl/
Dpf10.ok16 block return-icmp(cutoff-preced) in inet proto icmp all
17 block return-icmp(cutoff-preced) in inet proto icmp all
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Dbfd.c1002 bfd_vma cutoff; in bfd_scan_vma() local
1037 cutoff = (~ (bfd_vma) 0) / (bfd_vma) base; in bfd_scan_vma()
1054 if (value > cutoff || (value == cutoff && digit > cutlim)) in bfd_scan_vma()
/openbsd/src/gnu/llvm/llvm/docs/CommandGuide/
Dllvm-profdata.rst298 .. option:: --value-cutoff=<n>
301 By default, the value-cutoff is set to 0.
303 .. option:: --list-below-cutoff
305 Only output names of functions whose max count value are below the cutoff
393 .. option:: --value-cutoff=<n>
396 By default, the value-cutoff is set to max of unsigned long long.
/openbsd/src/usr.sbin/sa/
Dextern.h87 extern int cutoff;
/openbsd/src/lib/libcrypto/x509/
Dx509_ocsp.c294 i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *cutoff, BIO *bp, in i2r_ocsp_acutoff() argument
299 if (!ASN1_GENERALIZEDTIME_print(bp, cutoff)) in i2r_ocsp_acutoff()

123