/third_party/boost/libs/log/test/run/ |
D | util_exception_handler.cpp | 41 void operator() (std::runtime_error&) const in operator ()() 43 m_pExceptionType = &typeid(std::runtime_error); in operator ()() 50 typedef boost::mpl::vector< std::runtime_error, std::exception >::type exception_types; 60 void operator() (std::runtime_error&) const in operator ()() 62 m_pExceptionType = &typeid(std::runtime_error); in operator ()() 78 void operator() (std::runtime_error&) const in operator ()() 80 m_pExceptionType = &typeid(std::runtime_error); in operator ()() 91 typedef boost::mpl::vector< std::runtime_error, std::exception >::type exception_types; 101 void operator() (std::runtime_error&) const in operator ()() 103 m_pExceptionType = &typeid(std::runtime_error); in operator ()() [all …]
|
/third_party/boost/libs/uuid/test/ |
D | test_string_generator.cpp | 67 BOOST_TEST_THROWS(gen(std::string(raw, 36)), std::runtime_error); in main() 69 BOOST_TEST_THROWS(gen("01234567-89ab-cdef-0123456789abcdef"), std::runtime_error); in main() 70 BOOST_TEST_THROWS(gen("01234567-89ab-cdef0123-456789abcdef"), std::runtime_error); in main() 71 BOOST_TEST_THROWS(gen("01234567-89abcdef-0123-456789abcdef"), std::runtime_error); in main() 72 BOOST_TEST_THROWS(gen("0123456789ab-cdef-0123-456789abcdef"), std::runtime_error); in main() 74 BOOST_TEST_THROWS(gen("{01234567-89AB-CDEF-0123-456789abcdef)"), std::runtime_error); in main() 75 BOOST_TEST_THROWS(gen("{01234567-89AB-CDEF-0123-456789abcdef"), std::runtime_error); in main() 76 BOOST_TEST_THROWS(gen("01234567-89AB-CDEF-0123-456789abcdef}"), std::runtime_error); in main() 78 …OOST_TEST_THROWS(gen(std::wstring(L"{01234567-89AB-CDEF-0123-456789abcdef)")), std::runtime_error); in main() 79 …BOOST_TEST_THROWS(gen(std::wstring(L"{01234567-89AB-CDEF-0123-456789abcdef")), std::runtime_error); in main() [all …]
|
/third_party/boost/libs/serialization/performance/xml/ |
D | high_resolution_timer.hpp | 46 boost::throw_exception(std::runtime_error("Couldn't acquire frequency")); in high_resolution_timer() 75 boost::throw_exception(std::runtime_error("Couldn't initialize start_time")); in restart() 81 boost::throw_exception(std::runtime_error("Couldn't get current time")); in elapsed() 85 boost::throw_exception(std::runtime_error("Couldn't acquire frequency")); in elapsed() 94 boost::throw_exception(std::runtime_error("Couldn't acquire frequency")); in elapsed_max() 104 boost::throw_exception(std::runtime_error("Couldn't acquire frequency")); in elapsed_min() 157 boost::throw_exception(std::runtime_error("Couldn't get current time")); in now() 164 boost::throw_exception(std::runtime_error("Couldn't initialize start_time")); in restart() 170 boost::throw_exception(std::runtime_error("Couldn't get current time")); in elapsed() 188 boost::throw_exception(std::runtime_error("Couldn't get resolution")); in elapsed_min() [all …]
|
/third_party/boost/libs/spirit/workbench/ |
D | high_resolution_timer.hpp | 45 boost::throw_exception(std::runtime_error("Couldn't acquire frequency")); in high_resolution_timer() 74 boost::throw_exception(std::runtime_error("Couldn't initialize start_time")); in restart() 80 boost::throw_exception(std::runtime_error("Couldn't get current time")); in elapsed() 84 boost::throw_exception(std::runtime_error("Couldn't acquire frequency")); in elapsed() 93 boost::throw_exception(std::runtime_error("Couldn't acquire frequency")); in elapsed_max() 103 boost::throw_exception(std::runtime_error("Couldn't acquire frequency")); in elapsed_min() 153 boost::throw_exception(std::runtime_error("Couldn't get current time")); in now() 160 boost::throw_exception(std::runtime_error("Couldn't initialize start_time")); in restart() 166 boost::throw_exception(std::runtime_error("Couldn't get current time")); in elapsed() 184 boost::throw_exception(std::runtime_error("Couldn't get resolution")); in elapsed_min() [all …]
|
/third_party/boost/boost/system/ |
D | system_error.hpp | 22 class BOOST_SYMBOL_VISIBLE system_error : public std::runtime_error 28 : std::runtime_error(""), m_error_code(ec) {} in system_error() 31 : std::runtime_error(what_arg), m_error_code(ec) {} in system_error() 34 : std::runtime_error(what_arg), m_error_code(ec) {} in system_error() 37 : std::runtime_error(""), m_error_code(ev,ecat) {} in system_error() 41 : std::runtime_error(what_arg), m_error_code(ev,ecat) {} in system_error() 45 : std::runtime_error(what_arg), m_error_code(ev,ecat) {} in system_error() 68 m_what = this->std::runtime_error::what(); in what() 73 catch (...) { return std::runtime_error::what(); } in what()
|
/third_party/boost/libs/numeric/odeint/test/ |
D | integrate_overflow.cpp | 90 std::runtime_error); in BOOST_AUTO_TEST_CASE() 94 std::runtime_error); in BOOST_AUTO_TEST_CASE() 102 std::runtime_error); in BOOST_AUTO_TEST_CASE() 106 std::runtime_error); in BOOST_AUTO_TEST_CASE() 126 std::runtime_error); in BOOST_AUTO_TEST_CASE() 130 std::runtime_error); in BOOST_AUTO_TEST_CASE() 138 std::runtime_error); in BOOST_AUTO_TEST_CASE() 142 std::runtime_error); in BOOST_AUTO_TEST_CASE() 159 std::runtime_error); in BOOST_AUTO_TEST_CASE() 167 std::runtime_error); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/mesa3d/src/microsoft/clc/ |
D | compute_test.cpp | 40 using std::runtime_error; 116 throw runtime_error("Failed to load DXGI.DLL"); in get_dxgi_factory() 120 throw runtime_error("Failed to load CreateDXGIFactory from DXGI.DLL"); in get_dxgi_factory() 125 throw runtime_error("CreateDXGIFactory failed"); in get_dxgi_factory() 142 throw runtime_error("Failed to enum hardware adapter"); in choose_adapter() 146 throw runtime_error("Failed to enum warp adapter"); in choose_adapter() 159 throw runtime_error("failed to load D3D12.DLL"); in create_device() 167 throw runtime_error("failed to enable experimental shader models"); in create_device() 172 throw runtime_error("failed to load D3D12CreateDevice from D3D12.DLL"); in create_device() 177 throw runtime_error("D3D12CreateDevice failed"); in create_device() [all …]
|
/third_party/boost/boost/spirit/home/support/detail/lexer/parser/tree/ |
D | node.hpp | 67 throw runtime_error ("Internal error node::append_followpos()"); in append_followpos() 133 throw runtime_error ("Internal error node::id()"); in id() 138 throw runtime_error ("Internal error node::unique_id()"); in unique_id() 143 throw runtime_error ("Internal error node::state()"); in lexer_state() 148 throw runtime_error ("Internal error node::token()"); in token() 153 throw runtime_error ("Internal error node::token(bool)"); in greedy() 158 throw runtime_error ("Internal error node::token()"); in greedy() 163 throw runtime_error ("Internal error node::followpos()"); in followpos() 168 throw runtime_error ("Internal error node::followpos()"); in followpos()
|
/third_party/mindspore/tests/ut/cpp/session/ |
D | anf_runtime_algorithm_test.cc | 43 EXPECT_THROW(AnfAlgo::VisitKernel(nullptr, 0), std::runtime_error); in TEST_F() 106 EXPECT_THROW(AnfAlgo::GetCNodePrimitive(nullptr), std::runtime_error); in TEST_F() 115 EXPECT_THROW(AnfAlgo::GetCNodeName(nullptr), std::runtime_error); in TEST_F() 118 EXPECT_THROW(AnfAlgo::GetCNodeName(parameter_node), std::runtime_error); in TEST_F() 127 EXPECT_THROW(AnfAlgo::GetNodeDebugString(nullptr), std::runtime_error); in TEST_F() 141 …ROW(AnfAlgo::SetNodeAttr("test_set_attr", MakeValue("test_value"), parameter), std::runtime_error); in TEST_F() 160 EXPECT_THROW(AnfAlgo::CopyNodeAttr("test_set_attr", parameter, add), std::runtime_error); in TEST_F() 161 EXPECT_THROW(AnfAlgo::CopyNodeAttr("test_set_attr", mul, parameter), std::runtime_error); in TEST_F() 162 EXPECT_THROW(AnfAlgo::CopyNodeAttr("test_set_attr", parameter, parameter), std::runtime_error); in TEST_F() 163 EXPECT_THROW(AnfAlgo::CopyNodeAttr("test_set_attr", nullptr, add), std::runtime_error); in TEST_F() [all …]
|
/third_party/boost/libs/regex/test/pathology/ |
D | recursion_test.cpp | 44 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e), std::runtime_error); in cpp_main() 46 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e), std::runtime_error); in cpp_main() 48 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e), std::runtime_error); in cpp_main() 50 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e), std::runtime_error); in cpp_main() 54 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e), std::runtime_error); in cpp_main() 56 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e), std::runtime_error); in cpp_main() 58 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e), std::runtime_error); in cpp_main() 60 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e), std::runtime_error); in cpp_main()
|
D | bad_expression_test.cpp | 39 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e1), std::runtime_error); in cpp_main() 43 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e1), std::runtime_error); in cpp_main() 49 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e2), std::runtime_error); in cpp_main() 54 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e2), std::runtime_error); in cpp_main()
|
/third_party/boost/libs/phoenix/test/statement/ |
D | exceptions.cpp | 70 using std::runtime_error; in main() 76 throw_(runtime_error("error"))(); in main() 79 catch(runtime_error& err) in main() 90 throw runtime_error("error"); in main() 108 [ throw_(runtime_error("error")) ] in main() 122 [ throw_(runtime_error("error")) ] in main() 155 [ throw_(runtime_error("error")) ] in main() 166 [ throw_(runtime_error("error")) ] in main() 184 [ throw_(runtime_error("error")) ] in main()
|
/third_party/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/ |
D | re_tokeniser_helper.hpp | 35 throw runtime_error ("Unexpected end of regex " in escape_sequence() 62 throw runtime_error ("Unexpected end of regex " in charset() 75 throw runtime_error ("Unexpected end of regex " in charset() 107 throw runtime_error (ss_.str ().c_str ()); in charset() 131 throw runtime_error ("Unexpected end of regex " in charset() 160 throw runtime_error ("Empty charsets not allowed."); in charset() 353 throw runtime_error ("Unexpected end of regex following \\c."); in decode_control_char() 376 throw runtime_error (ss_.str ().c_str ()); in decode_control_char() 394 throw runtime_error ("Unexpected end of regex following \\x."); in decode_hex() 404 throw runtime_error (ss_.str ().c_str ()); in decode_hex() [all …]
|
D | re_tokeniser.hpp | 53 throw runtime_error ("Unexpected end of regex " in next() 59 throw runtime_error ("Unexpected end of regex " in next() 98 throw runtime_error (ss_.str ().c_str ()); in next() 195 throw runtime_error("Lookahead ('/') is not supported yet."); in next() 278 throw runtime_error (ss_.str ().c_str ()); in read_options() 350 throw runtime_error ("Unexpected end of regex " in open_curly() 393 throw runtime_error ("Unexpected end of regex " in repeat_n() 408 throw runtime_error ("Unexpected end of regex " in repeat_n() 435 throw runtime_error (ss_.str ().c_str ()); in repeat_n() 449 throw runtime_error ("Unexpected end of regex " in repeat_n() [all …]
|
/third_party/wayland-ivi-extension/ivi-layermanagement-api/test/ |
D | TestBase.cpp | 121 throw std::runtime_error("could not connect to wayland display"); in TestBase() 136 throw std::runtime_error("wl_display error"); in TestBase() 141 throw std::runtime_error("shared memory buffers are not supported"); in TestBase() 146 throw std::runtime_error("wl_display error"); in TestBase() 151 throw std::runtime_error("shared memory buffers format ARGB888 is not supported"); in TestBase() 165 throw std::runtime_error("cannot create shared memory file"); in TestBase() 171 throw std::runtime_error("mmap failed"); in TestBase() 177 throw std::runtime_error("wl_shm_create_pool error"); in TestBase()
|
/third_party/boost/boost/spirit/home/support/detail/lexer/ |
D | runtime_error.hpp | 16 class BOOST_SYMBOL_VISIBLE runtime_error : public std::runtime_error class 19 runtime_error (const std::string &what_arg_) : in runtime_error() function in boost::lexer::runtime_error 20 std::runtime_error (what_arg_) in runtime_error()
|
/third_party/boost/libs/heap/tools/ |
D | high_resolution_timer.hpp | 37 boost::throw_exception(std::runtime_error("Couldn't initialize start_time")); in restart() 47 boost::throw_exception(std::runtime_error("Couldn't get current time")); in elapsed() 97 throw std::runtime_error("cannot create mach timebase info"); in high_resolution_timer() 157 boost::throw_exception(std::runtime_error("Couldn't acquire frequency")); in high_resolution_timer() 165 boost::throw_exception(std::runtime_error("Couldn't initialize start_time")); in restart() 172 boost::throw_exception(std::runtime_error("Couldn't get current time")); in elapsed()
|
/third_party/json/test/src/ |
D | unit-noexcept.cpp | 80 …ructible<json::exception>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); 81 …ctible<json::parse_error>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); 82 …e<json::invalid_iterator>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); 83 …uctible<json::type_error>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); 84 …tible<json::out_of_range>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); 85 …ctible<json::other_error>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value);
|
/third_party/googletest/googletest/test/ |
D | googletest-catch-exceptions-test_.cc | 110 throw std::runtime_error("Standard C++ exception")); in CxxExceptionInConstructorTest() 150 throw std::runtime_error("Standard C++ exception"); in SetUpTestSuite() 188 throw std::runtime_error("Standard C++ exception"); in TearDownTestSuite() 210 void SetUp() override { throw std::runtime_error("Standard C++ exception"); } in SetUp() 240 throw std::runtime_error("Standard C++ exception"); in TearDown() 269 throw std::runtime_error("Standard C++ exception"); in TEST_F()
|
/third_party/boost/boost/locale/ |
D | encoding_errors.hpp | 31 class BOOST_SYMBOL_VISIBLE conversion_error : public std::runtime_error { 33 conversion_error() : std::runtime_error("Conversion failed") {} in conversion_error() 40 class BOOST_SYMBOL_VISIBLE invalid_charset_error : public std::runtime_error { 45 std::runtime_error("Invalid or unsupported charset:" + charset) in invalid_charset_error()
|
/third_party/boost/libs/numeric/ublas/test/tensor/ |
D | test_operators_comparison.cpp | 97 BOOST_CHECK_THROW ( b = (tensor_type(e1) >= tensor_type(e2)), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 98 BOOST_CHECK_THROW ( b = (tensor_type(e1) <= tensor_type(e2)), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 99 BOOST_CHECK_THROW ( b = (tensor_type(e1) < tensor_type(e2)), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 100 BOOST_CHECK_THROW ( b = (tensor_type(e1) > tensor_type(e2)), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 162 …_CHECK_THROW (b = tensor_type(e1) >= (tensor_type(e2) + tensor_type(e2)), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 163 …_CHECK_THROW (b = tensor_type(e1) <= (tensor_type(e2) + tensor_type(e2)), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 164 …_CHECK_THROW (b = tensor_type(e1) < (tensor_type(e2) + tensor_type(e2)), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 165 …_CHECK_THROW (b = tensor_type(e1) > (tensor_type(e2) + tensor_type(e2)), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 167 BOOST_CHECK_THROW (b = tensor_type(e1) >= (tensor_type(e2) + 2), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() 168 BOOST_CHECK_THROW (b = tensor_type(e1) <= (2 + tensor_type(e2)), std::runtime_error ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE() [all …]
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deSocket.cpp | 49 throw std::runtime_error("SocketAddress::setHost()"); in setHost() 55 throw std::runtime_error("SocketAddress::setPort()"); in setPort() 61 throw std::runtime_error("SocketAddress::setFamily()"); in setFamily() 67 throw std::runtime_error("SocketAddress::setType()"); in setType() 73 throw std::runtime_error("SocketAddress::setProtocol()"); in setProtocol()
|
/third_party/boost/libs/algorithm/test/ |
D | search_test1.cpp | 61 throw std::runtime_error ( in check_one_iter() 66 throw std::runtime_error ( in check_one_iter() 71 throw std::runtime_error ( in check_one_iter() 76 throw std::runtime_error ( in check_one_iter() 118 throw std::runtime_error ( in check_one_pointer() 123 throw std::runtime_error ( in check_one_pointer() 128 throw std::runtime_error ( in check_one_pointer() 177 throw std::runtime_error ( in check_one_object() 182 throw std::runtime_error ( in check_one_object() 187 throw std::runtime_error ( in check_one_object() [all …]
|
/third_party/boost/libs/test/test/baseline-outputs/ |
D | errors-handling-test.pattern2 | 36 0: fatal error: in "error_on_demand": std::runtime_error: test std::runtime error what() message 37 121: last checkpoint: error_on_demand() throw runtime_error 80 0: fatal error: in "error_on_demand": std::runtime_error: test std::runtime error what() message 81 121: last checkpoint: error_on_demand() throw runtime_error 115 0: fatal error: in "error_on_demand": std::runtime_error: test std::runtime error what() message 116 121: last checkpoint: error_on_demand() throw runtime_error 144 0: fatal error: in "error_on_demand": std::runtime_error: test std::runtime error what() message 145 121: last checkpoint: error_on_demand() throw runtime_error 172 0: fatal error: in "error_on_demand": std::runtime_error: test std::runtime error what() message 173 121: last checkpoint: error_on_demand() throw runtime_error [all …]
|
/third_party/boost/libs/python/test/ |
D | opaque.cpp | 21 throw std::runtime_error (std::string ("failed")); in use() 37 throw std::runtime_error (std::string ("success")); in failuse() 45 throw std::runtime_error (std::string ("failed")); in use2() 51 throw std::runtime_error (std::string ("success")); in failuse2()
|