/aosp_15_r20/external/arm-neon-tests/ |
H A D | ref_dspfns.c | 65 Overflow = init_Overflow; in test_16_fn_32() 69 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32() 72 Overflow = init_Overflow; in test_16_fn_32() 76 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32() 79 Overflow = init_Overflow; in test_16_fn_32() 83 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32() 86 Overflow = init_Overflow; in test_16_fn_32() 90 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32() 93 Overflow = init_Overflow; in test_16_fn_32() 97 func_name, svar32_a, svar16_a, Overflow, Carry); in test_16_fn_32() [all …]
|
H A D | ref_integer.c | 70 Overflow = 0; in exec_integer() 73 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer() 77 Overflow = 0; in exec_integer() 80 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer() 84 Overflow = 0; in exec_integer() 87 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer() 91 Overflow = 0; in exec_integer() 94 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer() 98 Overflow = 0; in exec_integer() 101 (unsigned int)svar1, (unsigned int)svar2, (unsigned int)sres, Overflow); in exec_integer() [all …]
|
H A D | ref_dsp.c | 60 Overflow = 0; in exec_dsp() 62 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 66 Overflow = 0; in exec_dsp() 68 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 72 Overflow = 0; in exec_dsp() 74 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 78 Overflow = 0; in exec_dsp() 80 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 84 Overflow = 0; in exec_dsp() 86 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/ |
H A D | APFixedPoint.cpp | 33 bool *Overflow) const { in convert() 36 if (Overflow) in convert() 37 *Overflow = false; in convert() 54 else if (Overflow) in convert() 55 *Overflow = true; in convert() 64 else if (Overflow) in convert() 65 *Overflow = true; in convert() 182 bool *Overflow) const { in add() 199 if (Overflow) in add() 200 *Overflow = Overflowed; in add() [all …]
|
H A D | APInt.cpp | 1926 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const { in sadd_ov() 1928 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov() 1933 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const { in uadd_ov() 1935 Overflow = Res.ult(RHS); in uadd_ov() 1939 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const { in ssub_ov() 1941 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov() 1946 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const { in usub_ov() 1948 Overflow = Res.ugt(*this); in usub_ov() 1952 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const { in sdiv_ov() 1954 Overflow = isMinSignedValue() && RHS.isAllOnes(); in sdiv_ov() [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/decimaltestdata/ |
D | power.decTest | 303 powx421 power 2.5E-501 -2 -> Infinity Overflow Inexact Rounded 524 powx283 power 10.0001 999999 -> Infinity Overflow Inexact Rounded 525 powx285 power 11 999999 -> Infinity Overflow Inexact Rounded 526 powx286 power 12 999999 -> Infinity Overflow Inexact Rounded 527 powx287 power 999 999999 -> Infinity Overflow Inexact Rounded 528 powx288 power 999999999 999999 -> Infinity Overflow Inexact Rounded 529 powx289 power 9.9E999999999 999999 -> Infinity Overflow Inexact Rounded 543 powx312 power -10.0001 999999 -> -Infinity Overflow Inexact Rounded 544 powx313 power -10.1 999999 -> -Infinity Overflow Inexact Rounded 545 powx314 power -11 999999 -> -Infinity Overflow Inexact Rounded [all …]
|
D | base.decTest | 917 basx906 toSci '99e999999999' -> Infinity Overflow Inexact Rounded 918 basx907 toSci '999e999999999' -> Infinity Overflow Inexact Rounded 923 basx912 toSci '0.9e9999999999' -> Infinity Overflow Inexact Rounded 925 basx914 toSci '111e9999999999' -> Infinity Overflow Inexact Rounded 928 basx917 toSci '7e1000000000' -> Infinity Overflow Inexact Rounded 930 basx918 toSci '-99e999999999' -> -Infinity Overflow Inexact Rounded 931 basx919 toSci '-999e999999999' -> -Infinity Overflow Inexact Rounded 936 basx924 toSci '-0.9e9999999999' -> -Infinity Overflow Inexact Rounded 938 basx926 toSci '-111e9999999999' -> -Infinity Overflow Inexact Rounded 941 basx929 toSci '-7e1000000000' -> -Infinity Overflow Inexact Rounded [all …]
|
D | rounding.decTest | 984 rovx100 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded 985 rovx101 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded 990 rovx110 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded 991 rovx111 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded 996 rovx120 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded 997 rovx121 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded 1002 rovx130 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded 1003 rovx131 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded 1008 rovx140 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded 1009 rovx141 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded [all …]
|
D | multiply.decTest | 505 mulx730 multiply +1.23456789012345E-0 9E+999999999 -> Infinity Inexact Overflow Rounded 506 mulx731 multiply 9E+999999999 +1.23456789012345E-0 -> Infinity Inexact Overflow Rounded 509 mulx735 multiply -1.23456789012345E-0 9E+999999999 -> -Infinity Inexact Overflow Rounded 510 mulx736 multiply 9E+999999999 -1.23456789012345E-0 -> -Infinity Inexact Overflow Rounded 520 mulx745 multiply 1e599999999 1e400000001 -> Infinity Overflow Inexact Rounded 522 mulx747 multiply 1e600000000 1e400000000 -> Infinity Overflow Inexact Rounded 523 mulx748 multiply 9e999999998 100 -> Infinity Overflow Inexact Rounded 525 mulx750 multiply 100 9e999999998 -> Infinity Overflow Inexact Rounded 527 mulx751 multiply 1e+777777777 1e+411111111 -> Infinity Overflow Inexact Rounded 528 mulx752 multiply 1e+777777777 -1e+411111111 -> -Infinity Overflow Inexact Rounded [all …]
|
D | ddBase.decTest | 930 ddbas906 toSci '99e999999999' -> Infinity Overflow Inexact Rounded 931 ddbas907 toSci '999e999999999' -> Infinity Overflow Inexact Rounded 934 ddbas910 toSci '0.1e1000000000' -> Infinity Overflow Inexact Rounded 936 ddbas912 toSci '0.9e9999999999' -> Infinity Overflow Inexact Rounded 938 ddbas914 toSci '111e9999999999' -> Infinity Overflow Inexact Rounded 941 ddbas917 toSci '7e1000000000' -> Infinity Overflow Inexact Rounded 943 ddbas918 toSci '-99e999999999' -> -Infinity Overflow Inexact Rounded 944 ddbas919 toSci '-999e999999999' -> -Infinity Overflow Inexact Rounded 947 ddbas922 toSci '-0.1e1000000000' -> -Infinity Overflow Inexact Rounded 949 ddbas924 toSci '-0.9e9999999999' -> -Infinity Overflow Inexact Rounded [all …]
|
D | dqBase.decTest | 915 dqbas906 toSci '99e999999999' -> Infinity Overflow Inexact Rounded 916 dqbas907 toSci '999e999999999' -> Infinity Overflow Inexact Rounded 919 dqbas910 toSci '0.1e1000000000' -> Infinity Overflow Inexact Rounded 921 dqbas912 toSci '0.9e9999999999' -> Infinity Overflow Inexact Rounded 923 dqbas914 toSci '111e9999999999' -> Infinity Overflow Inexact Rounded 926 dqbas917 toSci '7e1000000000' -> Infinity Overflow Inexact Rounded 928 dqbas918 toSci '-99e999999999' -> -Infinity Overflow Inexact Rounded 929 dqbas919 toSci '-999e999999999' -> -Infinity Overflow Inexact Rounded 932 dqbas922 toSci '-0.1e1000000000' -> -Infinity Overflow Inexact Rounded 934 dqbas924 toSci '-0.9e9999999999' -> -Infinity Overflow Inexact Rounded [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/test/decimaltestdata/ |
D | power.decTest | 303 powx421 power 2.5E-501 -2 -> Infinity Overflow Inexact Rounded 524 powx283 power 10.0001 999999 -> Infinity Overflow Inexact Rounded 525 powx285 power 11 999999 -> Infinity Overflow Inexact Rounded 526 powx286 power 12 999999 -> Infinity Overflow Inexact Rounded 527 powx287 power 999 999999 -> Infinity Overflow Inexact Rounded 528 powx288 power 999999999 999999 -> Infinity Overflow Inexact Rounded 529 powx289 power 9.9E999999999 999999 -> Infinity Overflow Inexact Rounded 543 powx312 power -10.0001 999999 -> -Infinity Overflow Inexact Rounded 544 powx313 power -10.1 999999 -> -Infinity Overflow Inexact Rounded 545 powx314 power -11 999999 -> -Infinity Overflow Inexact Rounded [all …]
|
D | base.decTest | 917 basx906 toSci '99e999999999' -> Infinity Overflow Inexact Rounded 918 basx907 toSci '999e999999999' -> Infinity Overflow Inexact Rounded 923 basx912 toSci '0.9e9999999999' -> Infinity Overflow Inexact Rounded 925 basx914 toSci '111e9999999999' -> Infinity Overflow Inexact Rounded 928 basx917 toSci '7e1000000000' -> Infinity Overflow Inexact Rounded 930 basx918 toSci '-99e999999999' -> -Infinity Overflow Inexact Rounded 931 basx919 toSci '-999e999999999' -> -Infinity Overflow Inexact Rounded 936 basx924 toSci '-0.9e9999999999' -> -Infinity Overflow Inexact Rounded 938 basx926 toSci '-111e9999999999' -> -Infinity Overflow Inexact Rounded 941 basx929 toSci '-7e1000000000' -> -Infinity Overflow Inexact Rounded [all …]
|
D | rounding.decTest | 984 rovx100 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded 985 rovx101 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded 990 rovx110 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded 991 rovx111 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded 996 rovx120 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded 997 rovx121 multiply -10 9E+999999999 -> -9.9999E+999999999 Overflow Inexact Rounded 1002 rovx130 multiply 10 9E+999999999 -> 9.9999E+999999999 Overflow Inexact Rounded 1003 rovx131 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded 1008 rovx140 multiply 10 9E+999999999 -> Infinity Overflow Inexact Rounded 1009 rovx141 multiply -10 9E+999999999 -> -Infinity Overflow Inexact Rounded [all …]
|
D | multiply.decTest | 505 mulx730 multiply +1.23456789012345E-0 9E+999999999 -> Infinity Inexact Overflow Rounded 506 mulx731 multiply 9E+999999999 +1.23456789012345E-0 -> Infinity Inexact Overflow Rounded 509 mulx735 multiply -1.23456789012345E-0 9E+999999999 -> -Infinity Inexact Overflow Rounded 510 mulx736 multiply 9E+999999999 -1.23456789012345E-0 -> -Infinity Inexact Overflow Rounded 520 mulx745 multiply 1e599999999 1e400000001 -> Infinity Overflow Inexact Rounded 522 mulx747 multiply 1e600000000 1e400000000 -> Infinity Overflow Inexact Rounded 523 mulx748 multiply 9e999999998 100 -> Infinity Overflow Inexact Rounded 525 mulx750 multiply 100 9e999999998 -> Infinity Overflow Inexact Rounded 527 mulx751 multiply 1e+777777777 1e+411111111 -> Infinity Overflow Inexact Rounded 528 mulx752 multiply 1e+777777777 -1e+411111111 -> -Infinity Overflow Inexact Rounded [all …]
|
D | ddBase.decTest | 930 ddbas906 toSci '99e999999999' -> Infinity Overflow Inexact Rounded 931 ddbas907 toSci '999e999999999' -> Infinity Overflow Inexact Rounded 934 ddbas910 toSci '0.1e1000000000' -> Infinity Overflow Inexact Rounded 936 ddbas912 toSci '0.9e9999999999' -> Infinity Overflow Inexact Rounded 938 ddbas914 toSci '111e9999999999' -> Infinity Overflow Inexact Rounded 941 ddbas917 toSci '7e1000000000' -> Infinity Overflow Inexact Rounded 943 ddbas918 toSci '-99e999999999' -> -Infinity Overflow Inexact Rounded 944 ddbas919 toSci '-999e999999999' -> -Infinity Overflow Inexact Rounded 947 ddbas922 toSci '-0.1e1000000000' -> -Infinity Overflow Inexact Rounded 949 ddbas924 toSci '-0.9e9999999999' -> -Infinity Overflow Inexact Rounded [all …]
|
/aosp_15_r20/external/cronet/base/memory/ |
H A D | ref_counted_unittest.cc | 735 class Overflow : public base::RefCounted<Overflow> { in TEST_F() class 737 Overflow() { EXPECT_FALSE(HasOneRef()); } in TEST_F() function in base::subtle::TEST_F::Overflow 740 friend class base::RefCounted<Overflow>; in TEST_F() 741 ~Overflow() = default; in TEST_F() 744 auto p = base::MakeRefCounted<Overflow>(); in TEST_F() 752 class Overflow : public base::RefCounted<Overflow> { in TEST_F() class 756 Overflow() { EXPECT_TRUE(HasOneRef()); } in TEST_F() function in base::subtle::TEST_F::Overflow 759 friend class base::RefCounted<Overflow>; in TEST_F() 760 ~Overflow() = default; in TEST_F() 763 auto p = base::MakeRefCounted<Overflow>(); in TEST_F() [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/ |
D | mgclimit_test.go | 130 if l.Overflow() != 0+baseOverflow { 131 t.Errorf("bucket filled exactly should not have overflow, found %d", l.Overflow()) 147 if l.Overflow() != 0+baseOverflow { 148 t.Errorf("bucket filled exactly should not have overflow, found %d", l.Overflow()) 176 if expect := uint64(CapacityPerProc * procs / 2); l.Overflow() != expect+baseOverflow { 177 t.Errorf("bucket overfilled should have overflow %d, found %d", expect, l.Overflow()) 192 …if expect := uint64((CapacityPerProc/2 + time.Millisecond) * procs); l.Overflow() != expect+baseOv… 193 t.Errorf("bucket overfilled should have overflow %d, found %d", expect, l.Overflow()) 207 …if expect := uint64((CapacityPerProc/2 + 6*time.Millisecond) * procs); l.Overflow() != expect+base… 208 t.Errorf("bucket overfilled should have overflow %d, found %d", expect, l.Overflow()) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/ADT/ |
D | APFixedPoint.h | 184 bool *Overflow = nullptr) const; 190 APFixedPoint add(const APFixedPoint &Other, bool *Overflow = nullptr) const; 191 APFixedPoint sub(const APFixedPoint &Other, bool *Overflow = nullptr) const; 192 APFixedPoint mul(const APFixedPoint &Other, bool *Overflow = nullptr) const; 193 APFixedPoint div(const APFixedPoint &Other, bool *Overflow = nullptr) const; 198 APFixedPoint shl(unsigned Amt, bool *Overflow = nullptr) const; 199 APFixedPoint shr(unsigned Amt, bool *Overflow = nullptr) const { 201 if (Overflow) 202 *Overflow = false; 208 APFixedPoint negate(bool *Overflow = nullptr) const; [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/ADT/ |
D | APFixedPoint.h | 184 bool *Overflow = nullptr) const; 190 APFixedPoint add(const APFixedPoint &Other, bool *Overflow = nullptr) const; 191 APFixedPoint sub(const APFixedPoint &Other, bool *Overflow = nullptr) const; 192 APFixedPoint mul(const APFixedPoint &Other, bool *Overflow = nullptr) const; 193 APFixedPoint div(const APFixedPoint &Other, bool *Overflow = nullptr) const; 198 APFixedPoint shl(unsigned Amt, bool *Overflow = nullptr) const; 199 APFixedPoint shr(unsigned Amt, bool *Overflow = nullptr) const { 201 if (Overflow) 202 *Overflow = false; 208 APFixedPoint negate(bool *Overflow = nullptr) const; [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/ADT/ |
D | APFixedPoint.h | 184 bool *Overflow = nullptr) const; 190 APFixedPoint add(const APFixedPoint &Other, bool *Overflow = nullptr) const; 191 APFixedPoint sub(const APFixedPoint &Other, bool *Overflow = nullptr) const; 192 APFixedPoint mul(const APFixedPoint &Other, bool *Overflow = nullptr) const; 193 APFixedPoint div(const APFixedPoint &Other, bool *Overflow = nullptr) const; 198 APFixedPoint shl(unsigned Amt, bool *Overflow = nullptr) const; 199 APFixedPoint shr(unsigned Amt, bool *Overflow = nullptr) const { 201 if (Overflow) 202 *Overflow = false; 208 APFixedPoint negate(bool *Overflow = nullptr) const; [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/ADT/ |
D | APFixedPoint.h | 184 bool *Overflow = nullptr) const; 190 APFixedPoint add(const APFixedPoint &Other, bool *Overflow = nullptr) const; 191 APFixedPoint sub(const APFixedPoint &Other, bool *Overflow = nullptr) const; 192 APFixedPoint mul(const APFixedPoint &Other, bool *Overflow = nullptr) const; 193 APFixedPoint div(const APFixedPoint &Other, bool *Overflow = nullptr) const; 198 APFixedPoint shl(unsigned Amt, bool *Overflow = nullptr) const; 199 APFixedPoint shr(unsigned Amt, bool *Overflow = nullptr) const { 201 if (Overflow) 202 *Overflow = false; 208 APFixedPoint negate(bool *Overflow = nullptr) const; [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/ |
H A D | APFixedPoint.h | 184 bool *Overflow = nullptr) const; 190 APFixedPoint add(const APFixedPoint &Other, bool *Overflow = nullptr) const; 191 APFixedPoint sub(const APFixedPoint &Other, bool *Overflow = nullptr) const; 192 APFixedPoint mul(const APFixedPoint &Other, bool *Overflow = nullptr) const; 193 APFixedPoint div(const APFixedPoint &Other, bool *Overflow = nullptr) const; 198 APFixedPoint shl(unsigned Amt, bool *Overflow = nullptr) const; 199 APFixedPoint shr(unsigned Amt, bool *Overflow = nullptr) const { 201 if (Overflow) 202 *Overflow = false; 208 APFixedPoint negate(bool *Overflow = nullptr) const; [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | APInt.cpp | 1956 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const { in sadd_ov() 1958 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov() 1963 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const { in uadd_ov() 1965 Overflow = Res.ult(RHS); in uadd_ov() 1969 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const { in ssub_ov() 1971 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov() 1976 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const { in usub_ov() 1978 Overflow = Res.ugt(*this); in usub_ov() 1982 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const { in sdiv_ov() 1984 Overflow = isMinSignedValue() && RHS.isAllOnesValue(); in sdiv_ov() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/cast/src/ |
D | test.rs | 177 assert_eq!(super::u32(32_f32.exp2()), Err(super::Error::Overflow)); in gh15() 178 assert_eq!(super::u32(32_f64.exp2()), Err(super::Error::Overflow)); in gh15() 180 assert_eq!(super::u64(64_f32.exp2()), Err(super::Error::Overflow)); in gh15() 181 assert_eq!(super::u64(64_f64.exp2()), Err(super::Error::Overflow)); in gh15() 183 assert_eq!(super::u8(8_f32.exp2()), Err(super::Error::Overflow)); in gh15() 184 assert_eq!(super::u8(8_f64.exp2()), Err(super::Error::Overflow)); in gh15() 186 assert_eq!(super::u16(16_f32.exp2()), Err(super::Error::Overflow)); in gh15() 187 assert_eq!(super::u16(16_f64.exp2()), Err(super::Error::Overflow)); in gh15()
|