Home
last modified time | relevance | path

Searched refs:logic_error (Results 1 – 25 of 69) sorted by relevance

123

/external/libcxx/src/
Dstdexcept.cpp28 logic_error::logic_error(const string& msg) : __imp_(msg.c_str()) in logic_error() function in std::logic_error
32 logic_error::logic_error(const char* msg) : __imp_(msg) in logic_error() function in std::logic_error
36 logic_error::logic_error(const logic_error& le) _NOEXCEPT : __imp_(le.__imp_) in logic_error() function in std::logic_error
40 logic_error&
41 logic_error::operator=(const logic_error& le) _NOEXCEPT in operator =()
49 logic_error::~logic_error() _NOEXCEPT in ~logic_error()
54 logic_error::what() const _NOEXCEPT in what()
Doptional.cpp31 : public std::logic_error
34 bad_optional_access() : std::logic_error("Bad optional Access") {} in bad_optional_access()
/external/libcxx/include/
Dstdexcept20 class logic_error;
77 class _LIBCPP_EXCEPTION_ABI logic_error
83 explicit logic_error(const string&);
84 explicit logic_error(const char*);
86 logic_error(const logic_error&) _NOEXCEPT;
87 logic_error& operator=(const logic_error&) _NOEXCEPT;
89 virtual ~logic_error() _NOEXCEPT;
112 : public logic_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) {}
[all …]
/external/libcxx/test/std/diagnostics/std.exceptions/logic.error/
Dlogic_error.pass.cpp20 static_assert((std::is_base_of<std::exception, std::logic_error>::value), in main()
22 static_assert(std::is_polymorphic<std::logic_error>::value, in main()
26 std::logic_error e(msg); in main()
28 std::logic_error e2(e); in main()
35 std::logic_error e(msg); in main()
37 std::logic_error e2(e); in main()
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
Dlinq_last.hpp13 if (c.empty()) { throw std::logic_error("last() out of bounds"); } in linq_last_()
29 if (c.empty()) { throw std::logic_error("last() out of bounds"); } in linq_last_()
43 if (c.empty()) { throw std::logic_error("last() out of bounds"); } in linq_last_()
64 if (c.empty()) { throw std::logic_error("last() out of bounds"); } in linq_last_or_default_()
Dlinq.hpp341 if (cur.empty()) { throw std::logic_error("index out of bounds"); } in element_at()
364 if (cur.empty()) { throw std::logic_error("index out of bounds"); } in first()
374 if (cur.empty()) { throw std::logic_error("index out of bounds"); } in first()
438 throw std::logic_error("max performed on empty range"); in max()
453 throw std::logic_error("max performed on empty range"); in min()
/external/libcxxabi/src/
Dstdlib_stdexcept.cpp23 logic_error::~logic_error() _NOEXCEPT {} in ~logic_error()
26 logic_error::what() const _NOEXCEPT in what()
/external/Reactive-Extensions/RxCpp/Ix/CPP/unittest/
Dtestbench.hpp31 } catch (logic_error& e) { in run()
62 …{ auto e = (expr); if (!e) { throw std::logic_error(__FILE__ "(" Q(__LINE__) "): TASSERT("#expr")"…
81 { auto e = (expr); if (!e) { throw std::logic_error(TEST_WHERE "VERIFY("#expr")"); } }
85 throw std::logic_error( \
/external/google-benchmark/test/
Ddiagnostics_test.cc22 throw std::logic_error(""); in TestHandler()
33 } catch (std::logic_error const&) { in try_invalid_pause_resume()
38 } catch (std::logic_error const&) { in try_invalid_pause_resume()
/external/libcxx/utils/google-benchmark/test/
Ddiagnostics_test.cc22 throw std::logic_error(""); in TestHandler()
33 } catch (std::logic_error const&) { in try_invalid_pause_resume()
38 } catch (std::logic_error const&) { in try_invalid_pause_resume()
/external/libabigail/src/
Dabg-viz-common.cc75 throw std::logic_error("abigail::units_to_string units not recognized"); in units_to_string()
100 throw std::logic_error("abigail::color_to_string color not recognized"); in color_to_string()
119 throw std::logic_error("abigail::anchor_to_string anchor not recognized"); in anchor_to_string()
/external/fmtlib/test/
Dtest-assert.h15 class assertion_failure : public std::logic_error {
17 explicit assertion_failure(const char* message) : std::logic_error(message) {} in assertion_failure()
/external/tensorflow/tensorflow/compiler/xla/python/
Dpytree.cc238 throw std::logic_error("Too few elements for TreeDef node."); in UnflattenImpl()
275 throw std::logic_error("PyTreeDef traversal did not yield a singleton."); in UnflattenImpl()
291 throw std::logic_error("Node arity mismatch."); in MakeNode()
295 throw std::logic_error("MakeNode not implemented for leaves."); in MakeNode()
338 throw std::logic_error("Unreachable code."); in MakeNode()
360 throw std::logic_error("Leaf count mismatch."); in FlattenUpTo()
511 throw std::logic_error("Too few elements for custom type."); in Walk()
526 throw std::logic_error("PyTreeDef traversal did not yield a singleton."); in Walk()
615 throw std::logic_error("children() walked off start of array"); in Children()
623 throw std::logic_error("pos != 0 at end of PyTreeDef::Children"); in Children()
[all …]
/external/python/pybind11/tests/
Dtest_exceptions.cpp58 class MyException5 : public std::logic_error {
60 explicit MyException5(const std::string &what) : std::logic_error(what) {} in MyException5()
144 …m.def("throws_logic_error", []() { throw std::logic_error("this error should fall through to the s… in TEST_SUBMODULE()
/external/mesa3d/src/gallium/frontends/clover/util/
Dlazy.hpp100 class undefined_error : std::logic_error {
102 undefined_error() : std::logic_error("") { in undefined_error()
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc41 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
44 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
/external/libtextclassifier/abseil-cpp/absl/base/
Dthrow_delegate_test.cc83 ExpectThrowChar<std::logic_error>(ThrowStdLogicError); in TEST()
93 ExpectThrowString<std::logic_error>(ThrowStdLogicError); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/base/
Dthrow_delegate_test.cc83 ExpectThrowChar<std::logic_error>(ThrowStdLogicError); in TEST()
93 ExpectThrowString<std::logic_error>(ThrowStdLogicError); in TEST()
/external/angle/third_party/abseil-cpp/absl/base/
Dthrow_delegate_test.cc83 ExpectThrowChar<std::logic_error>(ThrowStdLogicError); in TEST()
93 ExpectThrowString<std::logic_error>(ThrowStdLogicError); in TEST()
/external/abseil-cpp/absl/base/
Dthrow_delegate_test.cc83 ExpectThrowChar<std::logic_error>(ThrowStdLogicError); in TEST()
93 ExpectThrowString<std::logic_error>(ThrowStdLogicError); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/
Dthrow_delegate_test.cc83 ExpectThrowChar<std::logic_error>(ThrowStdLogicError); in TEST()
93 ExpectThrowString<std::logic_error>(ThrowStdLogicError); in TEST()
/external/openscreen/third_party/abseil/src/absl/base/
Dthrow_delegate_test.cc83 ExpectThrowChar<std::logic_error>(ThrowStdLogicError); in TEST()
93 ExpectThrowString<std::logic_error>(ThrowStdLogicError); in TEST()
/external/llvm/test/Object/
Dcoff-archive.test8 CHECKIDX: ??0logic_error@std@@QAE@PBD@Z in Debug\mymath.obj
10 CHECKIDX: ??1logic_error@std@@UAE@XZ in Debug\mymath.obj
25 CHECKIDX: ??_R1A@?0A@EA@logic_error@std@@8 in Debug\mymath.obj
164 CHECKIDX: 00000000 T ??0logic_error@std@@QAE@PBD@Z
166 CHECKIDX: 00000000 T ??1logic_error@std@@UAE@XZ
179 CHECKIDX: 00000000 R ??_R1A@?0A@EA@logic_error@std@@8
/external/parameter-framework/asio-1.10.6/include/asio/
Dio_service.hpp697 : public std::logic_error
706 : public std::logic_error
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc44 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
52 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()

123