Home
last modified time | relevance | path

Searched refs:domain_error (Results 1 – 25 of 47) sorted by relevance

12

/external/llvm-project/libcxx/test/std/diagnostics/std.exceptions/domain.error/
Ddomain_error.pass.cpp21 static_assert((std::is_base_of<std::logic_error, std::domain_error>::value), in main()
23 static_assert(std::is_polymorphic<std::domain_error>::value, in main()
27 std::domain_error e(msg); in main()
29 std::domain_error e2(e); in main()
36 std::domain_error e(msg); in main()
38 std::domain_error e2(e); in main()
/external/libcxx/test/std/diagnostics/std.exceptions/domain.error/
Ddomain_error.pass.cpp20 static_assert((std::is_base_of<std::logic_error, std::domain_error>::value), in main()
22 static_assert(std::is_polymorphic<std::domain_error>::value, in main()
26 std::domain_error e(msg); in main()
28 std::domain_error e2(e); in main()
35 std::domain_error e(msg); in main()
37 std::domain_error e2(e); in main()
/external/catch2/projects/SelfTest/UsageTests/
DException.tests.cpp34 throw std::domain_error( "expected exception" ); in thisThrows()
78 REQUIRE_THROWS_AS( thisThrows(), std::domain_error );
85 CHECK_THROWS_AS( thisDoesntThrow(), std::domain_error );
90 throw std::domain_error( "unexpected exception" );
95 throw std::domain_error( "unexpected exception" );
100 throw std::domain_error("unexpected exception");
124 throw std::domain_error( "unexpected exception" );
DMatchers.tests.cpp403 REQUIRE_THROWS_AS(WithinAbs(1.f, -1.f), std::domain_error);
406 REQUIRE_THROWS_AS(WithinULP(1.f, static_cast<uint64_t>(-1)), std::domain_error);
409 REQUIRE_THROWS_AS(WithinRel(1.f, -0.2f), std::domain_error);
410 REQUIRE_THROWS_AS(WithinRel(1.f, 1.f), std::domain_error);
459 REQUIRE_THROWS_AS(WithinAbs(1., -1.), std::domain_error);
464 REQUIRE_THROWS_AS(WithinRel(1., -0.2), std::domain_error);
465 REQUIRE_THROWS_AS(WithinRel(1., 1.), std::domain_error);
DApprox.tests.cpp166 REQUIRE_THROWS_AS(Approx(0).margin(-2), std::domain_error);
171 REQUIRE_THROWS_AS(Approx(0).epsilon(-0.001), std::domain_error);
172 REQUIRE_THROWS_AS(Approx(0).epsilon(1.0001), std::domain_error);
/external/llvm-project/libcxx/include/
Dstdexcept20 class domain_error;
122 class _LIBCPP_EXCEPTION_ABI domain_error
126 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const string& __s) : logic_error(__s) {}
127 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const char* __s) : logic_error(__s) {}
130 domain_error(const domain_error&) _NOEXCEPT = default;
131 virtual ~domain_error() _NOEXCEPT;
234 throw domain_error(__msg);
/external/libcxx/include/
Dstdexcept21 class domain_error;
111 class _LIBCPP_EXCEPTION_ABI domain_error
115 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const string& __s) : logic_error(__s) {}
116 _LIBCPP_INLINE_VISIBILITY explicit domain_error(const char* __s) : logic_error(__s) {}
118 virtual ~domain_error() _NOEXCEPT;
203 throw domain_error(__msg);
/external/catch2/projects/SelfTest/IntrospectiveTests/
DDetails.tests.cpp15 REQUIRE_THROWS_AS(CATCH_ERROR(""), std::domain_error);
17 REQUIRE_THROWS_AS([](){CATCH_ENFORCE(false, "");}(), std::domain_error); in __anonb59af5d70102()
/external/libcxxabi/src/
Dstdlib_stdexcept.cpp39 domain_error::~domain_error() _NOEXCEPT {} in ~domain_error()
/external/llvm-project/libcxxabi/src/
Dstdlib_stdexcept.cpp38 domain_error::~domain_error() _NOEXCEPT {} in ~domain_error()
/external/libcxx/src/
Dstdexcept.cpp93 domain_error::~domain_error() _NOEXCEPT {} in ~domain_error()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc54 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
57 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc54 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
57 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
/external/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc54 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
57 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc54 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
57 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
/external/openscreen/third_party/abseil/src/absl/base/
Dthrow_delegate_test.cc85 ExpectThrowChar<std::domain_error>(ThrowStdDomainError); in TEST()
95 ExpectThrowString<std::domain_error>(ThrowStdDomainError); in TEST()
/external/abseil-cpp/absl/base/
Dthrow_delegate_test.cc85 ExpectThrowChar<std::domain_error>(ThrowStdDomainError); in TEST()
95 ExpectThrowString<std::domain_error>(ThrowStdDomainError); in TEST()
/external/angle/third_party/abseil-cpp/absl/base/
Dthrow_delegate_test.cc85 ExpectThrowChar<std::domain_error>(ThrowStdDomainError); in TEST()
95 ExpectThrowString<std::domain_error>(ThrowStdDomainError); in TEST()
/external/libtextclassifier/abseil-cpp/absl/base/
Dthrow_delegate_test.cc85 ExpectThrowChar<std::domain_error>(ThrowStdDomainError); in TEST()
95 ExpectThrowString<std::domain_error>(ThrowStdDomainError); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/base/
Dthrow_delegate_test.cc85 ExpectThrowChar<std::domain_error>(ThrowStdDomainError); in TEST()
95 ExpectThrowString<std::domain_error>(ThrowStdDomainError); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/
Dthrow_delegate_test.cc85 ExpectThrowChar<std::domain_error>(ThrowStdDomainError); in TEST()
95 ExpectThrowString<std::domain_error>(ThrowStdDomainError); in TEST()
/external/llvm-project/libcxx/src/support/runtime/
Dstdexcept_default.ipp52 domain_error::~domain_error() _NOEXCEPT {}
/external/catch2/misc/
Dcoverage-helper.cpp67 throw std::domain_error("Couldn't find desired expression in string: " + fname); in parse_log_file_arg()
78 throw std::domain_error("Couldn't find Catch's base path"); in catch_path()
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc77 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
85 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dthrow_delegate.cc77 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()
85 Throw(std::domain_error(what_arg)); in ThrowStdDomainError()

12