Home
last modified time | relevance | path

Searched refs:runtime_error (Results 1 – 25 of 196) sorted by relevance

12345678

/external/libcxx/src/
Dstdexcept.cpp61 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()
Dsystem_error.cpp245 : 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()
/external/catch2/examples/
D207-Rpt-TeamCityReporter.cpp51 REQUIRE( (throw std::runtime_error("surprise!"), true) );
56 REQUIRE_NOTHROW( (throw std::runtime_error("surprise!"), true) );
66 REQUIRE_THROWS_AS( throw std::bad_alloc(), std::runtime_error );
73 CHECK_THROWS_WITH( throw std::runtime_error("hello"), "world" );
74 CHECK_THROWS_WITH( throw std::runtime_error("hello"), Contains("world") );
77 struct MyException: public std::runtime_error
80 : std::runtime_error( text ) {} in MyException()
88 struct MyExceptionMatcher : Catch::MatcherBase< std::runtime_error >
98 bool match( std::runtime_error const & arg ) const override in match()
124 REQUIRE_THROWS( throw std::runtime_error("unsurprisingly") );
/external/clang/test/CodeGenCXX/
Dweak-external.cpp45 class _LIBCPP_EXCEPTION_ABI runtime_error class
51 explicit runtime_error(const string&);
52 explicit runtime_error(const char*);
54 runtime_error(const runtime_error&) _NOEXCEPT;
55 runtime_error& operator=(const runtime_error&) _NOEXCEPT;
57 virtual ~runtime_error() _NOEXCEPT;
65 throw(std::runtime_error("string")); in dummysymbol()
/external/catch2/projects/ExtraTests/
DX01-PrefixedMacros.cpp15 throw std::runtime_error("Some msg"); in this_throws()
26 CATCH_REQUIRE_THROWS_AS(this_throws(), std::runtime_error);
28 …REQUIRE_THROWS_MATCHES(this_throws(), std::runtime_error, Predicate<std::runtime_error>([](std::ru… in __anon4f1b15b00102()
42 CATCH_CHECK_THROWS_AS(this_throws(), std::runtime_error);
44 …H_CHECK_THROWS_MATCHES(this_throws(), std::runtime_error, Predicate<std::runtime_error>([](std::ru… in __anon4f1b15b00202()
/external/libcxx/include/
Dstdexcept25 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) {}
156 _LIBCPP_INLINE_VISIBILITY explicit range_error(const char* __s) : runtime_error(__s) {}
[all …]
/external/libkmsxx/kms++/inc/kms++/
Dframebuffer.h15 virtual PixelFormat format() const { throw std::runtime_error("not implemented"); } in format()
16 virtual unsigned num_planes() const { throw std::runtime_error("not implemented"); } in num_planes()
18 virtual uint32_t stride(unsigned plane) const { throw std::runtime_error("not implemented"); } in stride()
19 virtual uint32_t size(unsigned plane) const { throw std::runtime_error("not implemented"); } in size()
20 virtual uint32_t offset(unsigned plane) const { throw std::runtime_error("not implemented"); } in offset()
21 virtual uint8_t* map(unsigned plane) { throw std::runtime_error("not implemented"); } in map()
22 virtual int prime_fd(unsigned plane) { throw std::runtime_error("not implemented"); } in prime_fd()
/external/libcxx/test/std/diagnostics/std.exceptions/runtime.error/
Druntime_error.pass.cpp20 static_assert((std::is_base_of<std::exception, std::runtime_error>::value), in main()
22 static_assert(std::is_polymorphic<std::runtime_error>::value, in main()
26 std::runtime_error e(msg); in main()
28 std::runtime_error e2(e); in main()
35 std::runtime_error e(msg); in main()
37 std::runtime_error e2(e); in main()
/external/google-breakpad/src/testing/gtest/test/
Dgtest_catch_exceptions_test_.cc109 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()
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dmath.cpp76 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
83 catch (const std::runtime_error& ex) { in __anon2ec4e2db0e02()
123 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
130 catch (const std::runtime_error& ex) { in __anon2ec4e2db1602()
169 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
176 catch (const std::runtime_error& ex) { in __anon2ec4e2db1e02()
215 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
222 catch (const std::runtime_error& ex) { in __anon2ec4e2db2602()
261 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
268 catch (const std::runtime_error& ex) { in __anon2ec4e2db2e02()
Dblocking_observable.cpp28 auto values = rxcpp::observable<>::error<int>(std::runtime_error("Error from source")).
62 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
84 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
118 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
152 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
186 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
220 concat(rxcpp::observable<>::error<int>(std::runtime_error("Error from source"))).
Dcomposite_exception.cpp10 auto o1 = rxcpp::observable<>::error<int>(std::runtime_error("Error from source o1\n"));
11 auto o2 = rxcpp::observable<>::error<int>(std::runtime_error("Error from source o2\n"));
24 … catch(std::runtime_error const &error) { printf(" *** %s\n", error.what()); } in __anond56679f20302()
Dmerge_delay_error.cpp12 auto o2 = rxcpp::observable<>::error<int>(std::runtime_error("Error from source\n"));
26 auto o2 = rxcpp::observable<>::error<int>(std::runtime_error("Error from source\n"));
53 return rxcpp::observable<>::error<long>(std::runtime_error(ss.str())); in __anon87c160b80c02()
83 return rxcpp::observable<>::error<long>(std::runtime_error(ss.str())); in __anon87c160b81202()
/external/googletest/googletest/test/
Dgoogletest-catch-exceptions-test_.cc110 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()
/external/deqp/framework/delibs/decpp/
DdeSocket.cpp49 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()
DdeFilePath.cpp120 throw std::runtime_error("Cannot normalize path: invalid path"); in normalize()
248 throw std::runtime_error("Failed to create directory"); in createDirectoryImpl()
251 throw std::runtime_error("Failed to create directory"); in createDirectoryImpl()
263 throw std::runtime_error("Destination exists already"); in createDirectory()
265 throw std::runtime_error("Parent directory doesn't exist"); in createDirectory()
267 throw std::runtime_error("Parent is not directory"); in createDirectory()
278 throw std::runtime_error("Destination exists already"); in createDirectoryAndParents()
/external/parameter-framework/upstream/utility/
DPfError.hpp34 struct PfError : public std::runtime_error
36 using std::runtime_error::runtime_error;
/external/parameter-framework/upstream/test/functional-tests/include/
DException.hpp39 struct Exception : std::runtime_error
41 using std::runtime_error::runtime_error;
/external/clang/test/SemaCXX/
DPR9460.cpp11 struct runtime_error{ struct
12 runtime_error(
15 runtime_error(0);
DPR9461.cpp29 struct runtime_error{runtime_error(string);}; struct
31 struct system_error:runtime_error{ // expected-note {{to match}}
/external/libcxxabi/src/
Dstdlib_stdexcept.cpp31 runtime_error::~runtime_error() _NOEXCEPT {} in ~runtime_error()
34 runtime_error::what() const _NOEXCEPT in what()
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dwith_latest_from.cpp144 std::runtime_error ex("with_latest_from on_error from source");
209 std::runtime_error ex("with_latest_from on_error from source");
794 std::runtime_error ex("with_latest_from on_error from source");
855 std::runtime_error ex("with_latest_from on_error from source");
916 std::runtime_error ex("with_latest_from on_error from source");
978 std::runtime_error ex("with_latest_from on_error from source");
1040 std::runtime_error ex1("with_latest_from on_error from source 1");
1041 std::runtime_error ex2("with_latest_from on_error from source 2");
1102 std::runtime_error ex1("with_latest_from on_error from source 1");
1103 std::runtime_error ex2("with_latest_from on_error from source 2");
[all …]
Dcombine_latest.cpp145 std::runtime_error ex("combine_latest on_error from source");
210 std::runtime_error ex("combine_latest on_error from source");
796 std::runtime_error ex("combine_latest on_error from source");
857 std::runtime_error ex("combine_latest on_error from source");
918 std::runtime_error ex("combine_latest on_error from source");
980 std::runtime_error ex("combine_latest on_error from source");
1042 std::runtime_error ex1("combine_latest on_error from source 1");
1043 std::runtime_error ex2("combine_latest on_error from source 2");
1104 std::runtime_error ex1("combine_latest on_error from source 1");
1105 std::runtime_error ex2("combine_latest on_error from source 2");
[all …]
Dzip.cpp642 std::runtime_error ex("zip on_error from source");
703 std::runtime_error ex("zip on_error from source");
764 std::runtime_error ex("zip on_error from source");
824 std::runtime_error ex("zip on_error from source");
884 std::runtime_error ex1("zip on_error from source 1");
885 std::runtime_error ex2("zip on_error from source 2");
946 std::runtime_error ex("zip on_error from source");
1008 std::runtime_error ex("zip on_error from source");
1194 std::runtime_error ex("zip on_error from source");
1259 std::runtime_error ex("zip on_error from source");
[all …]
/external/deqp/framework/randomshaders/
DrsgDefs.hpp36 class Exception : public std::runtime_error
39 Exception (const std::string& message) : std::runtime_error(message) {} in Exception()

12345678