Home
last modified time | relevance | path

Searched refs:overflow (Results 1 – 25 of 854) sorted by relevance

12345678910>>...35

/netbsd/src/external/bsd/ntp/dist/sntp/libopts/
Dintprops.h374 # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) builtin (a, b, r) argument
376 # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \ argument
380 _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
383 _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
386 _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
389 _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
392 _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \
395 # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \ argument
397 ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
400 ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
[all …]
/netbsd/src/external/cddl/osnet/dist/lib/libuutil/common/
Duu_strtoint.c55 int overflow = 0; in strtoint() local
68 overflow = 1; /* becomes underflow below */ in strtoint()
117 overflow = 1; in strtoint()
121 overflow = 1; in strtoint()
135 overflow = 1; in strtoint()
138 overflow = 1; in strtoint()
145 if (bad_char | bad_digit | overflow) { in strtoint()
150 else if (overflow) { in strtoint()
/netbsd/src/crypto/external/cpl/trousers/dist/src/tcs/
Dtcs_auth_mgr.c43 auth_mgr.overflow = calloc(TSS_DEFAULT_OVERFLOW_AUTHS, sizeof(COND_VAR *)); in auth_mgr_init()
44 if (auth_mgr.overflow == NULL) { in auth_mgr_init()
69 if (auth_mgr.overflow[i] != NULL) in auth_mgr_final()
70 COND_SIGNAL(auth_mgr.overflow[i]); in auth_mgr_final()
73 free(auth_mgr.overflow); in auth_mgr_final()
110 if (auth_mgr.overflow[auth_mgr.of_tail] != NULL) { in auth_mgr_swap_in()
113 COND_SIGNAL(auth_mgr.overflow[auth_mgr.of_tail]); in auth_mgr_swap_in()
114 auth_mgr.overflow[auth_mgr.of_tail] = NULL; in auth_mgr_swap_in()
148 if (auth_mgr.overflow[auth_mgr.of_head] == NULL) { in auth_mgr_swap_out()
149 auth_mgr.overflow[auth_mgr.of_head] = cond; in auth_mgr_swap_out()
[all …]
/netbsd/src/external/gpl3/gcc/dist/libcpp/
Dexpr.cc878 result.overflow = false; in cpp_interpret_integer()
891 bool overflow = false; in cpp_interpret_integer() local
933 overflow |= result.overflow; in cpp_interpret_integer()
938 if (overflow && !(type & CPP_N_USERDEF)) in cpp_interpret_integer()
985 bool overflow; in append_digit() local
1003 overflow = !!(num.high >> (PART_PRECISION - shift)); in append_digit()
1024 overflow = true; in append_digit()
1028 result.overflow = overflow; in append_digit()
1036 result.overflow = true; in append_digit()
1114 result.overflow = false; in parse_defined()
[all …]
/netbsd/src/usr.bin/sort/
Dfiles.c148 static int overflow = 0; in makekey() local
151 if (overflow) { in makekey()
152 overflow = enterkey(recbuf, bufend, line_data, line_size, ftbl); in makekey()
153 return overflow ? BUFFEND : 0; in makekey()
163 overflow = 1; in makekey()
165 overflow = enterkey(recbuf, bufend, line_data, line_size, ftbl); in makekey()
167 return overflow ? BUFFEND : 0; in makekey()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dhwint.h340 add_hwi (HOST_WIDE_INT a, HOST_WIDE_INT b, bool *overflow) in add_hwi() argument
346 *overflow = true; in add_hwi()
348 *overflow = false; in add_hwi()
352 *overflow = __builtin_add_overflow (a, b, &result); in add_hwi()
361 mul_hwi (HOST_WIDE_INT a, HOST_WIDE_INT b, bool *overflow) in mul_hwi() argument
367 *overflow = true; in mul_hwi()
369 *overflow = false; in mul_hwi()
373 *overflow = __builtin_mul_overflow (a, b, &result); in mul_hwi()
Dwide-int.cc1155 signop sgn, wi::overflow_type *overflow) in add_large() argument
1184 if (overflow) in add_large()
1185 *overflow in add_large()
1188 else if (overflow) in add_large()
1197 *overflow = wi::OVF_UNDERFLOW; in add_large()
1199 *overflow = wi::OVF_OVERFLOW; in add_large()
1201 *overflow = wi::OVF_NONE; in add_large()
1204 *overflow = wi::OVF_NONE; in add_large()
1212 *overflow = (x <= o0) ? wi::OVF_OVERFLOW : wi::OVF_NONE; in add_large()
1214 *overflow = (x < o0) ? wi::OVF_OVERFLOW : wi::OVF_NONE; in add_large()
[all …]
Ddouble-int.cc367 int overflow = 0; in div_and_round_double() local
370 overflow = 1, lden = 1; in div_and_round_double()
381 overflow = 1; in div_and_round_double()
542 return overflow; in div_and_round_double()
553 return overflow; in div_and_round_double()
564 return overflow; in div_and_round_double()
600 return overflow; in div_and_round_double()
612 return overflow; in div_and_round_double()
819 double_int::mul_with_sign (double_int b, bool unsigned_p, bool *overflow) const in mul_with_sign()
823 *overflow = mul_double_wide_with_sign (a.low, a.high, b.low, b.high, in mul_with_sign()
[all …]
Dwide-int.h2163 wi::neg (const T &x, overflow_type *overflow)
2165 *overflow = only_sign_bit_p (x) ? OVF_OVERFLOW : OVF_NONE;
2465 wi::add (const T1 &x, const T2 &y, signop sgn, overflow_type *overflow)
2482 *overflow = OVF_UNDERFLOW;
2484 *overflow = OVF_OVERFLOW;
2486 *overflow = OVF_NONE;
2489 *overflow = OVF_NONE;
2492 *overflow = ((resultl << (HOST_BITS_PER_WIDE_INT - precision))
2501 sgn, overflow));
2551 wi::sub (const T1 &x, const T2 &y, signop sgn, overflow_type *overflow)
[all …]
/netbsd/src/sys/arch/hppa/spmath/
Ddivsfr.c56 overflow = true; in divsfr()
84 overflow = true; in divsfr()
95 overflow = true; in divsfr()
98 overflow = false; in divsfr()
Ddivsfm.c56 overflow = true; in divsfm()
84 overflow = true; in divsfm()
101 overflow = true; in divsfm()
104 overflow = false; in divsfm()
Ddivsim.c56 overflow = true; in divsim()
93 overflow = true; in divsim()
97 overflow = false; in divsim()
103 overflow = true; in divsim()
Ddivufr.c54 overflow = true; in divufr()
60 overflow = true; in divufr()
63 overflow = false; in divufr()
Ddivsir.c56 overflow = true; in divsir()
93 overflow = true; in divsir()
97 overflow = false; in divsir()
/netbsd/src/external/lgpl3/mpfr/dist/src/
Dstrtofr.c121 int overflow = 0, base_overflow;
161 overflow = 1, base_overflow = base;
168 if (overflow )
648 goto overflow, goto underflow); in parsed_string_to_mpfr()
655 goto overflow; in parsed_string_to_mpfr()
662 goto overflow, goto underflow); in parsed_string_to_mpfr()
666 goto overflow, goto underflow); in parsed_string_to_mpfr()
686 goto overflow; in parsed_string_to_mpfr()
711 goto overflow, goto underflow); in parsed_string_to_mpfr()
715 goto overflow, goto underflow); in parsed_string_to_mpfr()
[all …]
/netbsd/src/common/lib/libc/gmon/
Dmcount.c201 goto overflow; in _MCOUNT_DECL()
234 goto overflow; in _MCOUNT_DECL()
269 overflow: in _MCOUNT_DECL()
321 goto overflow; in _gmonparam_merge()
355 goto overflow; in _gmonparam_merge()
382 overflow: ; in _gmonparam_merge()
/netbsd/src/external/bsd/tcpdump/dist/tests/
Dnon-bsd.tests8 name => 'heap-overflow-1',
9 input => 'heap-overflow-1.pcap',
10 output => 'heap-overflow-1.out',
/netbsd/src/external/gpl3/binutils/dist/bfd/
Dcpu-ns32k.c156 int overflow = 0; in do_ns32k_reloc() local
556 if ((howto->complain_on_overflow != complain_overflow_dont) && overflow) in do_ns32k_reloc()
574 bool overflow; in _bfd_do_ns32k_reloc_contents() local
601 overflow = false; in _bfd_do_ns32k_reloc_contents()
676 overflow = true; in _bfd_do_ns32k_reloc_contents()
688 overflow = true; in _bfd_do_ns32k_reloc_contents()
701 overflow = true; in _bfd_do_ns32k_reloc_contents()
733 return overflow ? bfd_reloc_overflow : bfd_reloc_ok; in _bfd_do_ns32k_reloc_contents()
/netbsd/src/external/gpl3/gdb/dist/bfd/
Dcpu-ns32k.c156 int overflow = 0; in do_ns32k_reloc() local
556 if ((howto->complain_on_overflow != complain_overflow_dont) && overflow) in do_ns32k_reloc()
574 bool overflow; in _bfd_do_ns32k_reloc_contents() local
601 overflow = false; in _bfd_do_ns32k_reloc_contents()
676 overflow = true; in _bfd_do_ns32k_reloc_contents()
688 overflow = true; in _bfd_do_ns32k_reloc_contents()
701 overflow = true; in _bfd_do_ns32k_reloc_contents()
733 return overflow ? bfd_reloc_overflow : bfd_reloc_ok; in _bfd_do_ns32k_reloc_contents()
/netbsd/src/external/gpl2/xcvs/dist/lib/
Dstrtol.c265 int overflow; in INTERNAL() local
365 overflow = 0; in INTERNAL()
381 overflow = 1; in INTERNAL()
401 if (overflow == 0 in INTERNAL()
405 overflow = 1; in INTERNAL()
408 if (overflow) in INTERNAL()
/netbsd/src/lib/libm/arch/vax/
Dn_scalbn.S57 jgeq overflow
71 3: jbs $8, %r3, overflow /* did exponent overflow? */
78 overflow: label
/netbsd/src/lib/libm/src/
Ds_exp2f.c63 static volatile double overflow = 0x1p+1000; variable
68 #define overflow (huge * huge) macro
136 return overflow; /* +infinity with overflow */ in exp2f()
Ds_scalbnl.c84 goto overflow; in __strong_alias()
96 goto overflow; in __strong_alias()
112 overflow: in __strong_alias()
/netbsd/src/external/gpl3/binutils/dist/gas/doc/
Dc-tilegx.texi195 that the value does not overflow.
200 that the value does not overflow.
205 that the value does not overflow.
223 checks that the value does not overflow.
229 value does not overflow.
257 checks that the value does not overflow.
262 a plt entry, and it also checks that the value does not overflow.
273 checks that the value does not overflow.
279 TLS accesses. It also checks that the value does not overflow.
290 checks that the value does not overflow.
[all …]
/netbsd/src/external/bsd/ntp/dist/libntp/
Dsnprintf.c570 int overflow = 0; in rpl_vsnprintf() local
634 overflow = 1; in rpl_vsnprintf()
667 overflow = 1; in rpl_vsnprintf()
816 precision, flags, &overflow); in rpl_vsnprintf()
817 if (overflow) in rpl_vsnprintf()
830 precision, flags, &overflow); in rpl_vsnprintf()
831 if (overflow) in rpl_vsnprintf()
850 precision, flags, &overflow); in rpl_vsnprintf()
851 if (overflow) in rpl_vsnprintf()
951 if (overflow || len >= INT_MAX) { in rpl_vsnprintf()
[all …]

12345678910>>...35