Home
last modified time | relevance | path

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

123

/ndk/tests/device/test-gnustl-full/unit/
Dexception_test.cpp72 throw std::runtime_error( std::string( "message" ) ); in what()
74 catch ( std::runtime_error& err ) { in what()
140 throw std::runtime_error(foo); in exception_emission()
142 catch (std::runtime_error const& e) { in exception_emission()
144 std::runtime_error clone(""); in exception_emission()
153 throw std::runtime_error(foo); in exception_emission()
155 catch (std::runtime_error e) { in exception_emission()
157 std::runtime_error clone(""); in exception_emission()
167 throw std::runtime_error(msg); in exception_emission()
169 catch (std::runtime_error const& e) { in exception_emission()
[all …]
Dlocale_test.cpp41 catch (runtime_error const&) { in test_supported_locale()
62 catch (runtime_error const&) { in locale_by_name()
72 catch (runtime_error const& /* e */) { in locale_by_name()
84 catch (runtime_error const& /* e */) { in locale_by_name()
98 catch (runtime_error const& /* e */) { in locale_by_name()
111 catch (runtime_error const& /* e */) { in locale_by_name()
122 catch (runtime_error const& /* e */) { in locale_by_name()
134 catch (runtime_error const& /* e */) { in locale_by_name()
200 catch ( runtime_error& ) { in _locale_init_problem()
214 catch ( runtime_error& ) { in _locale_init_problem()
[all …]
Dmessages_facets_test.cpp27 catch (runtime_error const& /* e */) { in messages_by_name()
39 catch (runtime_error const& /* e */) { in messages_by_name()
65 catch (runtime_error const&) { in messages_by_name()
76 catch (runtime_error const&) { in messages_by_name()
Dtime_facets_test.cpp207 catch (runtime_error const&) { in test_supported_locale()
248 catch (runtime_error const&) { in time_by_name()
259 catch (runtime_error const&) { in time_by_name()
271 catch (runtime_error const& /* e */) { in time_by_name()
282 catch (runtime_error const&) { in time_by_name()
292 catch (runtime_error const&) { in time_by_name()
304 catch (runtime_error const& /* e */) { in time_by_name()
314 catch (runtime_error const& /* e */) { in time_by_name()
326 catch (runtime_error const& /* e */) { in time_by_name()
337 catch (runtime_error const& /* e */) { in time_by_name()
[all …]
Dnum_facets_test.cpp144 catch (runtime_error const&) { in test_supported_locale()
182 catch (runtime_error const& /* e */) { in numpunct_by_name()
194 catch (runtime_error const& /* e */) { in numpunct_by_name()
207 catch (runtime_error const& /* e */) { in numpunct_by_name()
217 catch (runtime_error const& e) { in numpunct_by_name()
229 catch (runtime_error const& e) { in numpunct_by_name()
251 catch (runtime_error const& /* e */) { in numpunct_by_name()
263 catch (runtime_error const& e) { in numpunct_by_name()
277 catch (runtime_error const&) { in numpunct_by_name()
288 catch (runtime_error const&) { in numpunct_by_name()
Dcollate_facets_test.cpp135 catch (runtime_error const&) { in collate_facet()
154 catch (runtime_error const& /* e */) { in collate_by_name()
166 catch (runtime_error const& /* e */) { in collate_by_name()
179 catch (runtime_error const& /* e */) { in collate_by_name()
189 catch (runtime_error const& e) { in collate_by_name()
201 catch (runtime_error const& e) { in collate_by_name()
245 catch (runtime_error const& /* e */) { in collate_by_name()
259 catch (runtime_error const&) { in collate_by_name()
270 catch (runtime_error const&) { in collate_by_name()
Dmoney_facets_test.cpp430 catch (runtime_error const&) { in test_supported_locale()
472 catch (runtime_error const&) { in moneypunct_by_name()
483 catch (runtime_error const&) { in moneypunct_by_name()
495 catch (runtime_error const& /* e */) { in moneypunct_by_name()
507 catch (runtime_error const&) { in moneypunct_by_name()
518 catch (runtime_error const&) { in moneypunct_by_name()
530 catch (runtime_error const& /* e */) { in moneypunct_by_name()
558 catch (runtime_error const& /* e */) { in moneypunct_by_name()
587 catch (runtime_error const& /* e */) { in moneypunct_by_name()
599 catch (runtime_error const& /* e */) { in moneypunct_by_name()
[all …]
Dctype_facets_test.cpp331 catch (runtime_error const&) { in test_supported_locale()
380 catch (runtime_error const& /* e */) { in ctype_by_name()
392 catch (runtime_error const& /* e */) { in ctype_by_name()
404 catch (runtime_error const& /* e */) { in ctype_by_name()
419 catch (runtime_error const& /* e */) { in ctype_by_name()
432 catch (runtime_error const& /* e */) { in ctype_by_name()
462 catch (runtime_error const& /* e */) { in ctype_by_name()
476 catch (runtime_error const&) { in ctype_by_name()
487 catch (runtime_error const&) { in ctype_by_name()
498 catch (runtime_error const& /* e */) { in ctype_by_name()
[all …]
/ndk/tests/device/test-stlport/unit/
Dexception_test.cpp72 throw std::runtime_error( std::string( "message" ) ); in what()
74 catch ( std::runtime_error& err ) { in what()
140 throw std::runtime_error(foo); in exception_emission()
142 catch (std::runtime_error const& e) { in exception_emission()
144 std::runtime_error clone(""); in exception_emission()
153 throw std::runtime_error(foo); in exception_emission()
155 catch (std::runtime_error e) { in exception_emission()
157 std::runtime_error clone(""); in exception_emission()
167 throw std::runtime_error(msg); in exception_emission()
169 catch (std::runtime_error const& e) { in exception_emission()
[all …]
Dlocale_test.cpp41 catch (runtime_error const&) { in test_supported_locale()
62 catch (runtime_error const&) { in locale_by_name()
72 catch (runtime_error const& /* e */) { in locale_by_name()
84 catch (runtime_error const& /* e */) { in locale_by_name()
98 catch (runtime_error const& /* e */) { in locale_by_name()
111 catch (runtime_error const& /* e */) { in locale_by_name()
122 catch (runtime_error const& /* e */) { in locale_by_name()
134 catch (runtime_error const& /* e */) { in locale_by_name()
200 catch ( runtime_error& ) { in _locale_init_problem()
214 catch ( runtime_error& ) { in _locale_init_problem()
[all …]
Dmessages_facets_test.cpp27 catch (runtime_error const& /* e */) { in messages_by_name()
39 catch (runtime_error const& /* e */) { in messages_by_name()
65 catch (runtime_error const&) { in messages_by_name()
76 catch (runtime_error const&) { in messages_by_name()
Dtime_facets_test.cpp207 catch (runtime_error const&) { in test_supported_locale()
248 catch (runtime_error const&) { in time_by_name()
259 catch (runtime_error const&) { in time_by_name()
271 catch (runtime_error const& /* e */) { in time_by_name()
282 catch (runtime_error const&) { in time_by_name()
292 catch (runtime_error const&) { in time_by_name()
304 catch (runtime_error const& /* e */) { in time_by_name()
314 catch (runtime_error const& /* e */) { in time_by_name()
326 catch (runtime_error const& /* e */) { in time_by_name()
337 catch (runtime_error const& /* e */) { in time_by_name()
[all …]
Dnum_facets_test.cpp144 catch (runtime_error const&) { in test_supported_locale()
182 catch (runtime_error const& /* e */) { in numpunct_by_name()
194 catch (runtime_error const& /* e */) { in numpunct_by_name()
207 catch (runtime_error const& /* e */) { in numpunct_by_name()
217 catch (runtime_error const& e) { in numpunct_by_name()
229 catch (runtime_error const& e) { in numpunct_by_name()
251 catch (runtime_error const& /* e */) { in numpunct_by_name()
263 catch (runtime_error const& e) { in numpunct_by_name()
277 catch (runtime_error const&) { in numpunct_by_name()
288 catch (runtime_error const&) { in numpunct_by_name()
Dcollate_facets_test.cpp135 catch (runtime_error const&) { in collate_facet()
154 catch (runtime_error const& /* e */) { in collate_by_name()
166 catch (runtime_error const& /* e */) { in collate_by_name()
179 catch (runtime_error const& /* e */) { in collate_by_name()
189 catch (runtime_error const& e) { in collate_by_name()
201 catch (runtime_error const& e) { in collate_by_name()
245 catch (runtime_error const& /* e */) { in collate_by_name()
259 catch (runtime_error const&) { in collate_by_name()
270 catch (runtime_error const&) { in collate_by_name()
Dmoney_facets_test.cpp430 catch (runtime_error const&) { in test_supported_locale()
472 catch (runtime_error const&) { in moneypunct_by_name()
483 catch (runtime_error const&) { in moneypunct_by_name()
495 catch (runtime_error const& /* e */) { in moneypunct_by_name()
507 catch (runtime_error const&) { in moneypunct_by_name()
518 catch (runtime_error const&) { in moneypunct_by_name()
530 catch (runtime_error const& /* e */) { in moneypunct_by_name()
558 catch (runtime_error const& /* e */) { in moneypunct_by_name()
587 catch (runtime_error const& /* e */) { in moneypunct_by_name()
599 catch (runtime_error const& /* e */) { in moneypunct_by_name()
[all …]
Dctype_facets_test.cpp331 catch (runtime_error const&) { in test_supported_locale()
380 catch (runtime_error const& /* e */) { in ctype_by_name()
392 catch (runtime_error const& /* e */) { in ctype_by_name()
404 catch (runtime_error const& /* e */) { in ctype_by_name()
419 catch (runtime_error const& /* e */) { in ctype_by_name()
432 catch (runtime_error const& /* e */) { in ctype_by_name()
462 catch (runtime_error const& /* e */) { in ctype_by_name()
476 catch (runtime_error const&) { in ctype_by_name()
487 catch (runtime_error const&) { in ctype_by_name()
498 catch (runtime_error const& /* e */) { in ctype_by_name()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/include/
Dstdexcept25 class runtime_error;
73 class _LIBCPP_EXCEPTION_ABI runtime_error
79 explicit runtime_error(const string&);
80 explicit runtime_error(const char*);
82 runtime_error(const runtime_error&) _NOEXCEPT;
83 runtime_error& operator=(const runtime_error&) _NOEXCEPT;
85 virtual ~runtime_error() _NOEXCEPT;
131 : public runtime_error
134 _LIBCPP_INLINE_VISIBILITY explicit range_error(const string& __s) : runtime_error(__s) {}
135 _LIBCPP_INLINE_VISIBILITY explicit range_error(const char* __s) : runtime_error(__s) {}
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_stdexcept.h40 class _STLP_CLASS_DECLSPEC runtime_error : public __Named_exception {
42 runtime_error(const string& __s) : __Named_exception(__s) {} in runtime_error() function
44 ~runtime_error() _STLP_NOTHROW_INHERENTLY;
80 class _STLP_CLASS_DECLSPEC range_error : public runtime_error {
82 range_error(const string& __arg) : runtime_error(__arg) {} in range_error()
88 class _STLP_CLASS_DECLSPEC overflow_error : public runtime_error {
90 overflow_error(const string& __arg) : runtime_error(__arg) {} in overflow_error()
96 class _STLP_CLASS_DECLSPEC underflow_error : public runtime_error {
98 underflow_error(const string& __arg) : runtime_error(__arg) {} in underflow_error()
/ndk/sources/cxx-stl/llvm-libc++/src/
Dstdexcept.cpp143 runtime_error::runtime_error(const string& msg) in runtime_error() function in std::runtime_error
149 runtime_error::runtime_error(const char* msg) in runtime_error() function in std::runtime_error
155 runtime_error::runtime_error(const runtime_error& le) _NOEXCEPT in runtime_error() function in std::runtime_error
161 runtime_error&
162 runtime_error::operator=(const runtime_error& le) _NOEXCEPT in operator =()
172 runtime_error::~runtime_error() _NOEXCEPT in ~runtime_error()
179 runtime_error::what() const _NOEXCEPT in what()
Dsystem_error.cpp154 : runtime_error(__init(ec, what_arg)), in system_error()
160 : runtime_error(__init(ec, what_arg)), in system_error()
166 : runtime_error(__init(ec, "")), in system_error()
172 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
178 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
184 : runtime_error(__init(error_code(ev, ecat), "")), in system_error()
/ndk/sources/cxx-stl/llvm-libc++/test/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()
/ndk/tests/device/issue22165-typeinfo/jni/
Dmyexception.h8 class my_exception : public std::runtime_error
12 : std::runtime_error(w) in my_exception()
/ndk/tests/device/test-gnustl_static-exception/jni/
Dtest1_foo.cpp22 throw std::runtime_error("OK: Throw in lib, catch in exec!"); in foo()
Dtest3_bar.cpp22 throw std::runtime_error("OK: Throw in lib2, catch in exec!"); in bar()
/ndk/tests/device/test-gnustl_shared-exception/jni/
Dtest1_foo.cpp22 throw std::runtime_error("OK: Throw in lib, catch in exec!"); in foo()

123