/third_party/boost/libs/multiprecision/test/ |
D | test_checked_cpp_int.cpp | 100 BOOST_CHECK_THROW(--val, std::range_error); in test() 102 BOOST_CHECK_THROW(test_type(val - 1), std::range_error); in test() 142 BOOST_CHECK_THROW(test_type(a | b), std::range_error); in test() 143 BOOST_CHECK_THROW(test_type(a & b), std::range_error); in test() 144 BOOST_CHECK_THROW(test_type(a ^ b), std::range_error); in test() 149 BOOST_CHECK_THROW(test_type(-2), std::range_error); in test() 150 BOOST_CHECK_THROW(test_type("-2"), std::range_error); in test() 156 BOOST_CHECK_THROW(t = llm, std::range_error); in test() 157 BOOST_CHECK_THROW(t = static_cast<test_type>(llm), std::range_error); in test() 159 BOOST_CHECK_THROW(t = ullm, std::range_error); in test() [all …]
|
D | test_native_integer.cpp | 29 BOOST_CHECK_THROW(lsb(i), std::range_error); in test() 52 BOOST_CHECK_THROW(lsb(i), std::range_error); in test()
|
/third_party/boost/libs/date_time/test/ |
D | testconstrained_value.cpp | 28 struct range_error {}; //exception type struct 29 typedef boost::CV::simple_exception_policy<int,1,10,range_error> one_to_ten_range_policy; 58 catch(range_error&) { in main() 67 catch(range_error&) { in main() 76 catch(range_error&) { in main()
|
/third_party/boost/boost/safe_numerics/ |
D | checked_result_operations.hpp | 47 …case safe_numerics_error::range_error: // result cannot be produced for this operat… in display() 124 safe_numerics_error::range_error, // indeterminate, in operator +() 131 safe_numerics_error::range_error, // greater_than_max, in operator +() 132 safe_numerics_error::range_error, // indeterminate, in operator +() 138 safe_numerics_error::range_error, // less_than_min, in operator +() 140 safe_numerics_error::range_error, // indeterminate, in operator +() 145 safe_numerics_error::range_error, // known_value, in operator +() 146 safe_numerics_error::range_error, // less_than_min, in operator +() 147 safe_numerics_error::range_error, // greater_than_max, in operator +() 148 safe_numerics_error::range_error, // indeterminate, in operator +() [all …]
|
D | exception.hpp | 39 range_error, // result cannot be produced for this operation enumerator 81 case safe_numerics_error::range_error: in message() 156 || code == safe_numerics_error::range_error in equivalent()
|
/third_party/boost/libs/random/test/ |
D | test_qrng_functions.hpp | 153 BOOST_REQUIRE_EXCEPTION( eng.seed(maxseed), std::range_error, accept_all_exceptions ); in test_max_seed() 177 BOOST_REQUIRE_EXCEPTION( eng(), std::range_error, accept_all_exceptions ); in test_max_discard() 188 BOOST_REQUIRE_EXCEPTION( other(), std::range_error, accept_all_exceptions ); in test_max_discard() 198 BOOST_REQUIRE_EXCEPTION( eng(), std::range_error, accept_all_exceptions ); in test_max_discard() 202 BOOST_REQUIRE_EXCEPTION( other.discard(maxdiscard+1), std::range_error, accept_all_exceptions ); in test_max_discard() 211 BOOST_REQUIRE_EXCEPTION( eng.discard(maxdiscard*2), std::range_error, accept_all_exceptions ); in test_max_discard()
|
/third_party/boost/libs/safe_numerics/test/ |
D | test_checked_values.hpp | 21 boost::safe_numerics::safe_numerics_error::range_error, 41 boost::safe_numerics::safe_numerics_error::range_error,
|
D | test_interval.cpp | 52 if(l2 == safe_numerics_error::range_error in test_type_operator() 54 || u2 == safe_numerics_error::range_error in test_type_operator() 75 if(result != safe_numerics_error::range_error in test_type_operator()
|
D | test_checked_subtract_constexpr.cpp | 33 if(safe_numerics_error::range_error == result.m_e) in test_checked_subtract()
|
D | test_checked_xor_constexpr.cpp | 36 if(safe_numerics_error::range_error == result.m_e) in test_checked_xor()
|
D | test_checked_divide_constexpr.cpp | 31 return safe_numerics_error::range_error == result.m_e; in test_checked_divide()
|
D | test_checked_modulus_constexpr.cpp | 28 return safe_numerics_error::range_error == result.m_e; in test_checked_modulus()
|
D | test_checked_add_constexpr.cpp | 28 return safe_numerics_error::range_error == result.m_e; in test_checked_add()
|
D | test_checked_or_constexpr.cpp | 33 if(safe_numerics_error::range_error == result.m_e) in test_checked_or()
|
D | test_checked_and_constexpr.cpp | 28 return safe_numerics_error::range_error == result.m_e; in test_checked_and()
|
/third_party/boost/boost/multiprecision/ |
D | integer.hpp | 118 BOOST_THROW_EXCEPTION(std::range_error("No bits were set in the operand.")); in lsb() 122 …BOOST_THROW_EXCEPTION(std::range_error("Testing individual bits in negative values is not supporte… in lsb() 135 BOOST_THROW_EXCEPTION(std::range_error("No bits were set in the operand.")); in msb() 139 …BOOST_THROW_EXCEPTION(std::range_error("Testing individual bits in negative values is not supporte… in msb()
|
/third_party/boost/boost/random/detail/ |
D | qrng_base.hpp | 44 boost::throw_exception( std::range_error("seed must be a positive integer") ); in check_seed_sign() 232 boost::throw_exception( std::range_error("qrng_base: next_state") ); in next_state() 243 boost::throw_exception( std::range_error("qrng_base: discard_vector") ); in discard_vector()
|
D | gray_coded_qrng.hpp | 57 boost::throw_exception( std::range_error("gray_coded_qrng: bit_count") ); in raise_bit_count() 116 boost::throw_exception( std::range_error("gray_coded_qrng: seed") ); in seed()
|
/third_party/abseil-cpp/absl/base/internal/ |
D | throw_delegate.cc | 82 Throw(std::range_error(what_arg)); in ThrowStdRangeError() 85 Throw(std::range_error(what_arg)); in ThrowStdRangeError()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
D | throw_delegate_test.cc | 89 ExpectThrowChar<std::range_error>(ThrowStdRangeError); in TEST() 99 ExpectThrowString<std::range_error>(ThrowStdRangeError); in TEST()
|
/third_party/abseil-cpp/absl/base/ |
D | throw_delegate_test.cc | 89 ExpectThrowChar<std::range_error>(ThrowStdRangeError); in TEST() 99 ExpectThrowString<std::range_error>(ThrowStdRangeError); in TEST()
|
/third_party/boost/boost/multiprecision/cpp_int/ |
D | misc.hpp | 32 …BOOST_THROW_EXCEPTION(std::range_error("Attempt to assign a negative value to an unsigned type.")); in check_in_range() 48 …BOOST_THROW_EXCEPTION(std::range_error("Attempt to assign a negative value to an unsigned type.")); in check_is_negative() 182 BOOST_THROW_EXCEPTION(std::range_error("No bits were set in the operand.")); in eval_lsb() 186 …BOOST_THROW_EXCEPTION(std::range_error("Testing individual bits in negative values is not supporte… in eval_lsb() 223 BOOST_THROW_EXCEPTION(std::range_error("No bits were set in the operand.")); in eval_msb() 227 …BOOST_THROW_EXCEPTION(std::range_error("Testing individual bits in negative values is not supporte… in eval_msb() 642 BOOST_THROW_EXCEPTION(std::range_error("No bits were set in the operand.")); in eval_lsb() 646 …BOOST_THROW_EXCEPTION(std::range_error("Testing individual bits in negative values is not supporte… in eval_lsb() 671 BOOST_THROW_EXCEPTION(std::range_error("No bits were set in the operand.")); in eval_msb() 675 …BOOST_THROW_EXCEPTION(std::range_error("Testing individual bits in negative values is not supporte… in eval_msb()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | throw_delegate.cc | 145 Throw(std::range_error(what_arg)); in ThrowStdRangeError() 153 Throw(std::range_error(what_arg)); in ThrowStdRangeError()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-rangeerror.c | 34 #define BUILTIN_UNDERSCORED_ID range_error
|
/third_party/boost/libs/exception/example/ |
D | enable_error_info.cpp | 29 throw boost::enable_error_info(std::range_error("Index out of range")) << in operator []()
|