/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | misc-throw-by-value-catch-by-reference.cpp | 4 class logic_error { class 6 logic_error(const char *message) {} in logic_error() function in logic_error 9 typedef logic_error *logic_ptr; 22 logic_error CreateException() { return logic_error("created"); } in CreateException() 25 throw new logic_error("by pointer"); in testThrowFunc() 27 logic_ptr tmp = new logic_error("by pointer"); in testThrowFunc() 31 throw logic_error("by value"); in testThrowFunc() 33 throw logic_error(literal); in testThrowFunc() 40 logic_error lvalue("lvalue"); in testThrowFunc() 51 void throwReferenceFunc(logic_error &ref) { throw ref; } in throwReferenceFunc() [all …]
|
/external/libcxx/src/ |
D | stdexcept.cpp | 28 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()
|
D | optional.cpp | 31 : public std::logic_error 34 bad_optional_access() : std::logic_error("Bad optional Access") {} in bad_optional_access()
|
/external/llvm-project/libcxx/src/support/runtime/ |
D | stdexcept_default.ipp | 22 logic_error::logic_error(const string& msg) : __imp_(msg.c_str()) {} 24 logic_error::logic_error(const char* msg) : __imp_(msg) {} 26 logic_error::logic_error(const logic_error& le) _NOEXCEPT : __imp_(le.__imp_) {} 28 logic_error& logic_error::operator=(const logic_error& le) _NOEXCEPT { 47 const char* logic_error::what() const _NOEXCEPT { return __imp_.c_str(); } 51 logic_error::~logic_error() _NOEXCEPT {}
|
D | stdexcept_vcruntime.ipp | 14 logic_error::logic_error(std::string const& s) : exception(s.c_str()) {}
|
/external/libcxx/include/ |
D | stdexcept | 20 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/llvm-project/libcxx/include/ |
D | stdexcept | 19 class logic_error; 76 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; 94 explicit logic_error(const _VSTD::string&); // Symbol uses versioned std::string 95 _LIBCPP_INLINE_VISIBILITY explicit logic_error(const char* __s) : exception(__s) {} 123 : public logic_error [all …]
|
/external/llvm-project/libcxx/test/std/diagnostics/std.exceptions/logic.error/ |
D | logic_error.pass.cpp | 21 static_assert((std::is_base_of<std::exception, std::logic_error>::value), in main() 23 static_assert(std::is_polymorphic<std::logic_error>::value, in main() 27 std::logic_error e(msg); in main() 29 std::logic_error e2(e); in main() 36 std::logic_error e(msg); in main() 38 std::logic_error e2(e); in main()
|
/external/libcxx/test/std/diagnostics/std.exceptions/logic.error/ |
D | logic_error.pass.cpp | 20 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/ |
D | linq_last.hpp | 13 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_()
|
D | linq.hpp | 341 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/llvm-project/libcxxabi/src/ |
D | stdlib_stdexcept.cpp | 22 logic_error::~logic_error() _NOEXCEPT {} in ~logic_error() 25 logic_error::what() const _NOEXCEPT in what()
|
/external/libcxxabi/src/ |
D | stdlib_stdexcept.cpp | 23 logic_error::~logic_error() _NOEXCEPT {} in ~logic_error() 26 logic_error::what() const _NOEXCEPT in what()
|
/external/Reactive-Extensions/RxCpp/Ix/CPP/unittest/ |
D | testbench.hpp | 31 } 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/llvm-project/llvm/utils/benchmark/test/ |
D | diagnostics_test.cc | 22 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/llvm-project/libcxx/utils/google-benchmark/test/ |
D | diagnostics_test.cc | 22 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/google-benchmark/test/ |
D | diagnostics_test.cc | 22 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/ |
D | diagnostics_test.cc | 22 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/llvm-project/libcxx/src/ |
D | optional.cpp | 31 : public std::logic_error 34 bad_optional_access() : std::logic_error("Bad optional Access") {} in bad_optional_access()
|
/external/fmtlib/test/ |
D | test-assert.h | 15 class assertion_failure : public std::logic_error { 17 explicit assertion_failure(const char* message) : std::logic_error(message) {} in assertion_failure()
|
/external/libabigail/src/ |
D | abg-viz-common.cc | 75 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/tensorflow/tensorflow/compiler/xla/python/ |
D | pytree.cc | 198 throw std::logic_error("Too few elements for TreeDef node."); in Unflatten() 235 throw std::logic_error("PyTreeDef traversal did not yield a singleton."); in Unflatten() 243 throw std::logic_error("Node arity mismatch."); in MakeNode() 247 throw std::logic_error("MakeNode not implemented for leaves."); in MakeNode() 290 throw std::logic_error("Unreachable code."); in MakeNode() 312 throw std::logic_error("Leaf count mismatch."); in FlattenUpTo() 463 throw std::logic_error("Too few elements for custom type."); in Walk() 478 throw std::logic_error("PyTreeDef traversal did not yield a singleton."); in Walk() 563 throw std::logic_error("children() walked off start of array"); in Children() 571 throw std::logic_error("pos != 0 at end of PyTreeDef::Children"); in Children() [all …]
|
/external/mesa3d/src/gallium/frontends/clover/util/ |
D | lazy.hpp | 100 class undefined_error : std::logic_error { 102 undefined_error() : std::logic_error("") { in undefined_error()
|
/external/python/pybind11/tests/ |
D | test_exceptions.cpp | 58 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/abseil-cpp/absl/base/internal/ |
D | throw_delegate.cc | 41 Throw(std::logic_error(what_arg)); in ThrowStdLogicError() 44 Throw(std::logic_error(what_arg)); in ThrowStdLogicError()
|