Home
last modified time | relevance | path

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

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dstdexcept.cpp63 runtime_error::runtime_error(const string& msg) : __imp_(msg.c_str()) in runtime_error() function in std::runtime_error
67 runtime_error::runtime_error(const char* msg) : __imp_(msg) in runtime_error() function in std::runtime_error
71 runtime_error::runtime_error(const runtime_error& le) _NOEXCEPT in runtime_error() function in std::runtime_error
76 runtime_error&
77 runtime_error::operator=(const runtime_error& le) _NOEXCEPT in operator =()
85 runtime_error::~runtime_error() _NOEXCEPT in ~runtime_error()
90 runtime_error::what() const _NOEXCEPT in what()
Dsystem_error.cpp164 : runtime_error(__init(ec, what_arg)), in system_error()
170 : runtime_error(__init(ec, what_arg)), in system_error()
176 : runtime_error(__init(ec, "")), in system_error()
182 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
188 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
194 : runtime_error(__init(error_code(ev, ecat), "")), in system_error()
/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()
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()
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 …]
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 …]
/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()
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()
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 …]
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 …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dstdexcept25 class runtime_error;
81 class _LIBCPP_EXCEPTION_ABI runtime_error
87 explicit runtime_error(const string&);
88 explicit runtime_error(const char*);
90 runtime_error(const runtime_error&) _NOEXCEPT;
91 runtime_error& operator=(const runtime_error&) _NOEXCEPT;
93 virtual ~runtime_error() _NOEXCEPT;
139 : public runtime_error
142 _LIBCPP_INLINE_VISIBILITY explicit range_error(const string& __s) : runtime_error(__s) {}
143 _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++/libcxx/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/sources/third_party/googletest/googletest/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()
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0003-Fallback-to-locale-C.patch34 throw runtime_error("collate_byname<char>::collate_byname"
49 throw runtime_error("collate_byname<char>::collate_byname"
64 throw runtime_error("collate_byname<wchar_t>::collate_byname(size_t refs)"
79 throw runtime_error("collate_byname<wchar_t>::collate_byname(size_t refs)"
94 throw runtime_error("ctype_byname<char>::ctype_byname"
109 throw runtime_error("ctype_byname<char>::ctype_byname"
124 throw runtime_error("ctype_byname<wchar_t>::ctype_byname"
139 throw runtime_error("ctype_byname<wchar_t>::ctype_byname"
154 throw runtime_error("codecvt_byname<wchar_t, char, mbstate_t>::codecvt_byname"
176 throw runtime_error("numpunct_byname<char>::numpunct_byname"
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dstdexcept.cpp31 runtime_error::~runtime_error() _NOEXCEPT {} in ~runtime_error()
34 runtime_error::what() const _NOEXCEPT in what()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
Dframework.hpp89 struct internal_error : std::runtime_error {
90 internal_error( const_string m ) : std::runtime_error( std::string( m.begin(), m.size() ) ) {} in internal_error()
93 struct setup_error : std::runtime_error {
94 setup_error( const_string m ) : std::runtime_error( std::string( m.begin(), m.size() ) ) {} in setup_error()
/ndk/tests/device/issue22165-typeinfo/jni/
Dmyexception.h8 class my_exception : public std::runtime_error
12 : std::runtime_error(w) in my_exception()
/ndk/sources/cxx-stl/gabi++/src/
Dstdexcept.cc149 runtime_error::~runtime_error() _NOEXCEPT in ~runtime_error()
156 runtime_error::what() const _NOEXCEPT in what()

123