| /freebsd-12-stable/contrib/llvm-project/libcxx/src/support/runtime/ |
| D | stdexcept_default.ipp | 33 runtime_error::runtime_error(const string& msg) : __imp_(msg.c_str()) {} 35 runtime_error::runtime_error(const char* msg) : __imp_(msg) {} 37 runtime_error::runtime_error(const runtime_error& re) noexcept 40 runtime_error& runtime_error::operator=(const runtime_error& re) noexcept { 49 const char* runtime_error::what() const noexcept { return __imp_.c_str(); } 57 runtime_error::~runtime_error() noexcept {}
|
| D | stdexcept_vcruntime.ipp | 15 runtime_error::runtime_error(std::string const& s) : exception(s.c_str()) {}
|
| /freebsd-12-stable/contrib/libstdc++/src/ |
| 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()
|
| D | functexcept.cc | 84 { throw runtime_error(_(__s)); } in __throw_runtime_error()
|
| /freebsd-12-stable/contrib/llvm-project/libcxx/include/ |
| D | stdexcept | 24 class runtime_error; 99 class _LIBCPP_EXCEPTION_ABI runtime_error 106 explicit runtime_error(const string&); 107 explicit runtime_error(const char*); 109 runtime_error(const runtime_error&) _NOEXCEPT; 110 runtime_error& operator=(const runtime_error&) _NOEXCEPT; 112 virtual ~runtime_error() _NOEXCEPT; 117 explicit runtime_error(const _VSTD::string&); // Symbol uses versioned std::string 118 _LIBCPP_INLINE_VISIBILITY explicit runtime_error(const char* __s) : exception(__s) {} 174 : public runtime_error [all …]
|
| D | format | 17 class format_error : public runtime_error {
|
| /freebsd-12-stable/contrib/atf/atf-c++/detail/ |
| 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() 325 ATF_REQUIRE_THROW_RE(std::runtime_error, "Empty", to_bytes("")); in ATF_TEST_CASE_BODY() 326 ATF_REQUIRE_THROW_RE(std::runtime_error, "Unknown size unit 'd'", 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() [all …]
|
| 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()
|
| 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()
|
| D | application.cpp | 63 std::runtime_error("usage_error; message unformatted") in usage_error() 237 } catch (const std::runtime_error& e) { in run()
|
| D | exceptions.hpp | 38 class system_error : public std::runtime_error {
|
| D | application.hpp | 41 class usage_error : public std::runtime_error {
|
| D | text.hpp | 142 throw std::runtime_error("Cannot convert string to requested type"); in to_type()
|
| D | exceptions_test.cpp | 127 } catch (const std::runtime_error& e) { in ATF_TEST_CASE_BODY()
|
| /freebsd-12-stable/contrib/googletest/googletest/test/ |
| 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()
|
| D | gtest_throw_on_failure_ex_test.cc | 65 } catch(const std::runtime_error& e) { in TestFailureThrowsRuntimeError()
|
| /freebsd-12-stable/contrib/libstdc++/include/std/ |
| 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-stable/contrib/llvm-project/libcxx/src/ |
| D | system_error.cpp | 244 : runtime_error(__init(ec, what_arg)), in system_error() 250 : runtime_error(__init(ec, what_arg)), in system_error() 256 : runtime_error(__init(ec, "")), in system_error() 262 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error() 268 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error() 274 : runtime_error(__init(error_code(ev, ecat), "")), in system_error()
|
| D | regex.cpp | 65 : runtime_error(make_error_type_string(ecode)), in regex_error()
|
| /freebsd-12-stable/contrib/llvm-project/libcxx/include/__format/ |
| D | format_error.h | 31 class _LIBCPP_EXCEPTION_ABI format_error : public runtime_error { 34 : runtime_error(__s) {} in format_error() 36 : runtime_error(__s) {} in format_error()
|
| /freebsd-12-stable/contrib/atf/atf-c++/ |
| 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() 217 if (1) throw std::runtime_error("baz foo bar a")); in ATF_TEST_CASE_BODY() [all …]
|
| 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()
|
| /freebsd-12-stable/contrib/atf/atf-sh/ |
| 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()
|
| D | atf-sh.cpp | 167 throw std::runtime_error("The test program '" + script.str() + "' " in main()
|
| /freebsd-12-stable/contrib/libstdc++/include/ext/ |
| 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()
|