/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.badexp/ |
D | regex_error.pass.cpp | 29 … assert(e.what() == std::string("The expression contained an invalid collating element name.")); in main() 34 … assert(e.what() == std::string("The expression contained an invalid character class name.")); in main() 39 … assert(e.what() == std::string("The expression contained an invalid escaped character, or a " in main() 45 assert(e.what() == std::string("The expression contained an invalid back reference.")); in main() 50 assert(e.what() == std::string("The expression contained mismatched [ and ].")); in main() 55 assert(e.what() == std::string("The expression contained mismatched ( and ).")); in main() 60 assert(e.what() == std::string("The expression contained mismatched { and }.")); in main() 65 … assert(e.what() == std::string("The expression contained an invalid range in a {} expression.")); in main() 70 assert(e.what() == std::string("The expression contained an invalid character range, " in main() 76 … assert(e.what() == std::string("There was insufficient memory to convert the expression into " in main() [all …]
|
/ndk/tests/device/test-stlport/unit/ |
D | exception_test.cpp | 25 CPPUNIT_TEST(what); 44 void what(); 69 void ExceptionTest::what() in what() function in ExceptionTest 75 CPPUNIT_CHECK( strcmp( err.what(), "message" ) == 0 ); in what() 143 CPPUNIT_ASSERT( foo == e.what() ); in exception_emission() 146 CPPUNIT_ASSERT(foo == clone.what() ); in exception_emission() 156 CPPUNIT_ASSERT( foo == e.what() ); in exception_emission() 159 CPPUNIT_ASSERT(foo == clone.what() ); in exception_emission() 170 CPPUNIT_ASSERT(msg == e.what() ); in exception_emission() 173 CPPUNIT_ASSERT(msg == clone.what() ); in exception_emission() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | exception_test.cpp | 25 CPPUNIT_TEST(what); 44 void what(); 69 void ExceptionTest::what() in what() function in ExceptionTest 75 CPPUNIT_CHECK( strcmp( err.what(), "message" ) == 0 ); in what() 143 CPPUNIT_ASSERT( foo == e.what() ); in exception_emission() 146 CPPUNIT_ASSERT(foo == clone.what() ); in exception_emission() 156 CPPUNIT_ASSERT( foo == e.what() ); in exception_emission() 159 CPPUNIT_ASSERT(foo == clone.what() ); in exception_emission() 170 CPPUNIT_ASSERT(msg == e.what() ); in exception_emission() 173 CPPUNIT_ASSERT(msg == clone.what() ); in exception_emission() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/length.error/ |
D | length_error.pass.cpp | 27 assert(std::strcmp(e.what(), msg) == 0); in main() 29 assert(std::strcmp(e2.what(), msg) == 0); in main() 31 assert(std::strcmp(e2.what(), msg) == 0); in main() 36 assert(e.what() == msg); in main() 38 assert(e2.what() == msg); in main() 40 assert(e2.what() == msg); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/underflow.error/ |
D | underflow_error.pass.cpp | 27 assert(std::strcmp(e.what(), msg) == 0); in main() 29 assert(std::strcmp(e2.what(), msg) == 0); in main() 31 assert(std::strcmp(e2.what(), msg) == 0); in main() 36 assert(e.what() == msg); in main() 38 assert(e2.what() == msg); in main() 40 assert(e2.what() == msg); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/overflow.error/ |
D | overflow_error.pass.cpp | 27 assert(std::strcmp(e.what(), msg) == 0); in main() 29 assert(std::strcmp(e2.what(), msg) == 0); in main() 31 assert(std::strcmp(e2.what(), msg) == 0); in main() 36 assert(e.what() == msg); in main() 38 assert(e2.what() == msg); in main() 40 assert(e2.what() == msg); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/range.error/ |
D | range_error.pass.cpp | 27 assert(std::strcmp(e.what(), msg) == 0); in main() 29 assert(std::strcmp(e2.what(), msg) == 0); in main() 31 assert(std::strcmp(e2.what(), msg) == 0); in main() 36 assert(e.what() == msg); in main() 38 assert(e2.what() == msg); in main() 40 assert(e2.what() == msg); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/logic.error/ |
D | logic_error.pass.cpp | 27 assert(std::strcmp(e.what(), msg) == 0); in main() 29 assert(std::strcmp(e2.what(), msg) == 0); in main() 31 assert(std::strcmp(e2.what(), msg) == 0); in main() 36 assert(e.what() == msg); in main() 38 assert(e2.what() == msg); in main() 40 assert(e2.what() == msg); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/domain.error/ |
D | domain_error.pass.cpp | 27 assert(std::strcmp(e.what(), msg) == 0); in main() 29 assert(std::strcmp(e2.what(), msg) == 0); in main() 31 assert(std::strcmp(e2.what(), msg) == 0); in main() 36 assert(e.what() == msg); in main() 38 assert(e2.what() == msg); in main() 40 assert(e2.what() == msg); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/invalid.argument/ |
D | invalid_argument.pass.cpp | 27 assert(std::strcmp(e.what(), msg) == 0); in main() 29 assert(std::strcmp(e2.what(), msg) == 0); in main() 31 assert(std::strcmp(e2.what(), msg) == 0); in main() 36 assert(e.what() == msg); in main() 38 assert(e2.what() == msg); in main() 40 assert(e2.what() == msg); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/out.of.range/ |
D | out_of_range.pass.cpp | 27 assert(std::strcmp(e.what(), msg) == 0); in main() 29 assert(std::strcmp(e2.what(), msg) == 0); in main() 31 assert(std::strcmp(e2.what(), msg) == 0); in main() 36 assert(e.what() == msg); in main() 38 assert(e2.what() == msg); in main() 40 assert(e2.what() == msg); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/std.exceptions/runtime.error/ |
D | runtime_error.pass.cpp | 27 assert(std::strcmp(e.what(), msg) == 0); in main() 29 assert(std::strcmp(e2.what(), msg) == 0); in main() 31 assert(std::strcmp(e2.what(), msg) == 0); in main() 36 assert(e.what() == msg); in main() 38 assert(e2.what() == msg); in main() 40 assert(e2.what() == msg); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.bad_optional_access/ |
D | copy_assign.pass.cpp | 31 assert(std::strcmp(e1.what(), e2.what()) != 0); in main() 33 assert(std::strcmp(e1.what(), e2.what()) == 0); in main()
|
D | copy_ctor.pass.cpp | 30 assert(std::strcmp(e1.what(), e2.what()) == 0); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.future_error/ |
D | what.pass.cpp | 31 assert(std::strcmp(f.what(), "The associated promise has been destructed prior " in main() 36 assert(std::strcmp(f.what(), "The future has already been retrieved from " in main() 41 assert(std::strcmp(f.what(), "The state of the promise has already been set.") == 0); in main() 45 assert(std::strcmp(f.what(), "Operation not permitted on an object without " in main()
|
/ndk/sources/cxx-stl/stlport/src/ |
D | locale.cpp | 62 string what = "Unable to find facet"; in _M_throw_on_combine_error() local 63 what += " in "; in _M_throw_on_combine_error() 64 what += name.empty() ? "system" : name.c_str(); in _M_throw_on_combine_error() 65 what += " locale"; in _M_throw_on_combine_error() 66 _STLP_THROW(runtime_error(what.c_str())); in _M_throw_on_combine_error() 71 string what; in _M_throw_on_creation_failure() local 74 what = "No platform localization support for "; in _M_throw_on_creation_failure() 75 what += facet; in _M_throw_on_creation_failure() 76 what += " facet category, unable to create facet for "; in _M_throw_on_creation_failure() 77 what += name[0] == 0 ? "system" : name; in _M_throw_on_creation_failure() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/ |
D | cxa_new_delete.cpp | 212 bad_alloc::what() const _NOEXCEPT in what() function in std::bad_alloc 228 bad_array_new_length::what() const _NOEXCEPT in what() function in std::bad_array_new_length 243 virtual const char* what() const _NOEXCEPT; 257 bad_array_length::what() const _NOEXCEPT in what() function in std::bad_array_length
|
D | exception.cpp | 23 const char* exception::what() const _NOEXCEPT in what() function in std::exception 34 const char* bad_exception::what() const _NOEXCEPT in what() function in std::bad_exception
|
D | typeinfo.cpp | 32 bad_cast::what() const _NOEXCEPT in what() function in std::bad_cast 48 bad_typeid::what() const _NOEXCEPT in what() function in std::bad_typeid
|
D | stdexcept.cpp | 26 logic_error::what() const _NOEXCEPT in what() function in std::logic_error 34 runtime_error::what() const _NOEXCEPT in what() function in std::runtime_error
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _exception.h | 166 virtual const char* what() const _STLP_NOTHROW; 170 virtual const char* what() const _STLP_NOTHROW {return "class exception";} 180 const char* what() const _STLP_NOTHROW; 184 const char* what() const _STLP_NOTHROW {return "class bad_exception";}
|
/ndk/sources/cxx-stl/gabi++/src/ |
D | new.cc | 50 const char* bad_alloc::what() const _GABIXX_NOEXCEPT { in what() function in std::bad_alloc 63 bad_array_new_length::what() const _GABIXX_NOEXCEPT in what() function in std::bad_array_new_length 79 bad_array_length::what() const _GABIXX_NOEXCEPT in what() function in std::bad_array_length
|
D | exception.cc | 43 const char* exception::what() const _GABIXX_NOEXCEPT { in what() function in std::exception 55 const char* bad_exception::what() const _GABIXX_NOEXCEPT { in what() function in std::bad_exception
|
D | type_info.cc | 84 const char* bad_cast::what() const _GABIXX_NOEXCEPT { in what() function in std::bad_cast 94 const char* bad_typeid::what() const _GABIXX_NOEXCEPT { in what() function in std::bad_typeid
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_throw_on_failure_ex_test.cc | 67 if (strstr(e.what(), "Expected failure") != NULL) in TestFailureThrowsRuntimeError() 74 Fail(e.what()); in TestFailureThrowsRuntimeError()
|