| /freebsd-12.1/contrib/libc++/src/ |
| H A D | stdexcept.cpp | 61 runtime_error::runtime_error(const string& msg) : __imp_(msg.c_str()) in runtime_error() function in std::runtime_error 65 runtime_error::runtime_error(const char* msg) : __imp_(msg) in runtime_error() function in std::runtime_error 69 runtime_error::runtime_error(const runtime_error& le) _NOEXCEPT in runtime_error() function in std::runtime_error 74 runtime_error& 75 runtime_error::operator=(const runtime_error& le) _NOEXCEPT in operator =() 83 runtime_error::~runtime_error() _NOEXCEPT in ~runtime_error() 88 runtime_error::what() const _NOEXCEPT in what()
|
| H A D | system_error.cpp | 245 : runtime_error(__init(ec, what_arg)), in system_error() 251 : runtime_error(__init(ec, what_arg)), in system_error() 257 : runtime_error(__init(ec, "")), in system_error() 263 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error() 269 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error() 275 : runtime_error(__init(error_code(ev, ecat), "")), in system_error()
|
| H A D | regex.cpp | 64 : runtime_error(make_error_type_string(ecode)), in regex_error()
|
| /freebsd-12.1/contrib/libstdc++/src/ |
| H A D | stdexcept.cc | 60 runtime_error::runtime_error(const string& __arg) in runtime_error() function in runtime_error 63 runtime_error::~runtime_error() throw() { } in ~runtime_error() 66 runtime_error::what() const throw() in what() 70 : runtime_error(__arg) { } in range_error() 73 : runtime_error(__arg) { } in overflow_error() 76 : runtime_error(__arg) { } in underflow_error()
|
| H A D | functexcept.cc | 84 { throw runtime_error(_(__s)); } in __throw_runtime_error()
|
| /freebsd-12.1/contrib/libc++/include/ |
| H A D | stdexcept | 25 class runtime_error; 94 class _LIBCPP_EXCEPTION_ABI runtime_error 100 explicit runtime_error(const string&); 101 explicit runtime_error(const char*); 103 runtime_error(const runtime_error&) _NOEXCEPT; 104 runtime_error& operator=(const runtime_error&) _NOEXCEPT; 106 virtual ~runtime_error() _NOEXCEPT; 152 : public runtime_error 155 _LIBCPP_INLINE_VISIBILITY explicit range_error(const string& __s) : runtime_error(__s) {} 162 : public runtime_error [all …]
|
| H A D | system_error | 109 : public runtime_error 463 : public runtime_error
|
| /freebsd-12.1/contrib/atf/atf-c++/detail/ |
| H A D | text_test.cpp | 141 ATF_REQUIRE_THROW(std::runtime_error, match("", "[")); in ATF_TEST_CASE_BODY() 302 ATF_REQUIRE_THROW(std::runtime_error, to_bool("")); in ATF_TEST_CASE_BODY() 303 ATF_REQUIRE_THROW(std::runtime_error, to_bool("tru")); in ATF_TEST_CASE_BODY() 304 ATF_REQUIRE_THROW(std::runtime_error, to_bool("true2")); in ATF_TEST_CASE_BODY() 305 ATF_REQUIRE_THROW(std::runtime_error, to_bool("fals")); in ATF_TEST_CASE_BODY() 306 ATF_REQUIRE_THROW(std::runtime_error, to_bool("false2")); in ATF_TEST_CASE_BODY() 328 ATF_REQUIRE_THROW(std::runtime_error, to_bytes(" ")); in ATF_TEST_CASE_BODY() 329 ATF_REQUIRE_THROW(std::runtime_error, to_bytes(" k")); in ATF_TEST_CASE_BODY() 357 ATF_REQUIRE_THROW(std::runtime_error, to_type< int >(" ")); in ATF_TEST_CASE_BODY() 358 ATF_REQUIRE_THROW(std::runtime_error, to_type< int >("0 a")); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | text.cpp | 65 throw std::runtime_error("Invalid regular expression '" + regex + in match() 71 throw std::runtime_error("Invalid regular expression " + regex); in match() 137 throw std::runtime_error("Empty value"); in to_bytes() 148 throw std::runtime_error(std::string("Unknown size unit '") + unit in to_bytes()
|
| H A D | exceptions.cpp | 50 std::runtime_error(who + ": " + message), in system_error() 75 m_message = std::string(std::runtime_error::what()) + ": "; in what() 120 throw std::runtime_error(buf); in throw_unknown_error()
|
| H A D | application.cpp | 63 std::runtime_error("usage_error; message unformatted") in usage_error() 237 } catch (const std::runtime_error& e) { in run()
|
| H A D | exceptions.hpp | 38 class system_error : public std::runtime_error {
|
| H A D | application.hpp | 41 class usage_error : public std::runtime_error {
|
| H A D | text.hpp | 142 throw std::runtime_error("Cannot convert string to requested type"); in to_type()
|
| H A D | exceptions_test.cpp | 127 } catch (const std::runtime_error& e) { in ATF_TEST_CASE_BODY()
|
| /freebsd-12.1/contrib/libstdc++/include/std/ |
| H A D | std_stdexcept.h | 107 class runtime_error : public exception 114 runtime_error(const string& __arg); 117 ~runtime_error() throw(); 126 class range_error : public runtime_error 133 class overflow_error : public runtime_error 140 class underflow_error : public runtime_error
|
| /freebsd-12.1/contrib/googletest/googletest/test/ |
| H A D | googletest-catch-exceptions-test_.cc | 109 throw std::runtime_error("Standard C++ exception")); in CxxExceptionInConstructorTest() 153 throw std::runtime_error("Standard C++ exception")); in ~CxxExceptionInDestructorTest() 169 throw std::runtime_error("Standard C++ exception"); in SetUpTestCase() 207 throw std::runtime_error("Standard C++ exception"); in TearDownTestCase() 228 virtual void SetUp() { throw std::runtime_error("Standard C++ exception"); } in SetUp() 258 throw std::runtime_error("Standard C++ exception"); in TearDown() 287 throw std::runtime_error("Standard C++ exception"); in TEST_F()
|
| H A D | gtest_throw_on_failure_ex_test.cc | 65 } catch(const std::runtime_error& e) { in TestFailureThrowsRuntimeError()
|
| /freebsd-12.1/contrib/atf/atf-c++/ |
| H A D | macros_test.cpp | 190 ATF_REQUIRE_THROW(std::runtime_error, if (1) throw int(5)); in ATF_TEST_CASE_BODY() 192 ATF_REQUIRE_THROW(std::runtime_error, in ATF_TEST_CASE_BODY() 193 if (1) throw std::runtime_error("e")); in ATF_TEST_CASE_BODY() 195 ATF_REQUIRE_THROW(std::runtime_error, in ATF_TEST_CASE_BODY() 196 if (0) throw std::runtime_error("e")); in ATF_TEST_CASE_BODY() 211 ATF_REQUIRE_THROW_RE(std::runtime_error, "5", if (1) throw int(5)); in ATF_TEST_CASE_BODY() 213 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz", in ATF_TEST_CASE_BODY() 214 if (1) throw std::runtime_error("a foo bar baz")); in ATF_TEST_CASE_BODY() 216 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz", in ATF_TEST_CASE_BODY() 219 ATF_REQUIRE_THROW_RE(std::runtime_error, "e", in ATF_TEST_CASE_BODY() [all …]
|
| H A D | macros_hpp_test.cpp | 72 ATF_REQUIRE_THROW(std::runtime_error, (void)0); in atf_require_throw_runtime_error() 82 ATF_REQUIRE_THROW(std::runtime_error, (void)0); in atf_require_throw_inside_if() 84 ATF_REQUIRE_THROW(std::runtime_error, (void)1); in atf_require_throw_inside_if()
|
| H A D | tests.cpp | 416 throw std::runtime_error("-v requires a non-empty argument"); in parse_vflag() 423 throw std::runtime_error("-v requires an argument of the form " in parse_vflag()
|
| /freebsd-12.1/contrib/atf/atf-sh/ |
| H A D | atf-check.cpp | 171 throw std::runtime_error("Unused reason"); in parse_exit_code() 173 } catch (const std::runtime_error&) { in parse_exit_code() 219 } catch (std::runtime_error) { in parse_signal() 365 throw std::runtime_error("Failed to open " + path.str()); in cat_file() 381 throw std::runtime_error("Failed to open " + path.str()); in grep_file() 412 throw std::runtime_error("Failed to open " + p1.str()); in compare_files() 416 throw std::runtime_error("Failed to open " + p1.str()); in compare_files() 423 throw std::runtime_error("Failed to read from " + p1.str()); in compare_files() 427 throw std::runtime_error("Failed to read from " + p1.str()); in compare_files()
|
| H A D | atf-sh.cpp | 167 throw std::runtime_error("The test program '" + script.str() + "' " in main()
|
| /freebsd-12.1/contrib/libstdc++/include/ext/ |
| H A D | debug_allocator.h | 116 throw std::runtime_error("debug_allocator::deallocate" in deallocate() 122 throw std::runtime_error("debug_allocator::deallocate null pointer"); in deallocate()
|
| /freebsd-12.1/contrib/atf/test-programs/ |
| H A D | cpp_helpers.cpp | 307 throw std::runtime_error("This is unhandled"); in ATF_TEST_CASE_BODY()
|