Home
last modified time | relevance | path

Searched refs:what (Results 1 – 25 of 186) sorted by relevance

12345678

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.badexp/
Dregex_error.pass.cpp29 … 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/
Dexception_test.cpp25 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/
Dexception_test.cpp25 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/
Dlength_error.pass.cpp27 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/
Dunderflow_error.pass.cpp27 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/
Doverflow_error.pass.cpp27 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/
Drange_error.pass.cpp27 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/
Dlogic_error.pass.cpp27 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/
Ddomain_error.pass.cpp27 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/
Dinvalid_argument.pass.cpp27 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/
Dout_of_range.pass.cpp27 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/
Druntime_error.pass.cpp27 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/
Dcopy_assign.pass.cpp31 assert(std::strcmp(e1.what(), e2.what()) != 0); in main()
33 assert(std::strcmp(e1.what(), e2.what()) == 0); in main()
Dcopy_ctor.pass.cpp30 assert(std::strcmp(e1.what(), e2.what()) == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.future_error/
Dwhat.pass.cpp31 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/
Dlocale.cpp62 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/
Dcxa_new_delete.cpp212 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
Dexception.cpp23 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
Dtypeinfo.cpp32 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
Dstdexcept.cpp26 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.h166 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/
Dnew.cc50 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
Dexception.cc43 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
Dtype_info.cc84 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/
Dgtest_throw_on_failure_ex_test.cc67 if (strstr(e.what(), "Expected failure") != NULL) in TestFailureThrowsRuntimeError()
74 Fail(e.what()); in TestFailureThrowsRuntimeError()

12345678