Home
last modified time | relevance | path

Searched refs:length_error (Results 1 – 14 of 14) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/test/diagnostics/std.exceptions/length.error/
Dlength_error.pass.cpp20 static_assert((std::is_base_of<std::logic_error, std::length_error>::value), in main()
22 static_assert(std::is_polymorphic<std::length_error>::value, in main()
26 std::length_error e(msg); in main()
28 std::length_error e2(e); in main()
35 std::length_error e(msg); in main()
37 std::length_error e2(e); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_stdexcept.h64 class _STLP_CLASS_DECLSPEC length_error : public logic_error {
66 length_error(const string& __arg) : logic_error(__arg) {} in length_error() function
68 ~length_error() _STLP_NOTHROW_INHERENTLY;
D_range_errors.c73 { _STLP_THROW_MSG(length_error, __msg); } in __stl_throw_length_error()
/ndk/sources/cxx-stl/llvm-libc++/include/
Dstdexcept23 class length_error;
110 class _LIBCPP_EXCEPTION_ABI length_error
114 _LIBCPP_INLINE_VISIBILITY explicit length_error(const string& __s) : logic_error(__s) {}
115 _LIBCPP_INLINE_VISIBILITY explicit length_error(const char* __s) : logic_error(__s) {}
117 virtual ~length_error() _NOEXCEPT;
Dvector295 throw length_error("vector");
297 assert(!"vector length_error");
834 // throws length_error if __n > max_size()
2341 // throws length_error if __n > max_size()
Dstring1013 throw length_error("basic_string");
1015 assert(!"basic_string length_error");
Ddeque877 throw length_error("deque");
/ndk/sources/cxx-stl/llvm-libc++/test/strings/basic.string/string.capacity/
Dresize_size.pass.cpp29 catch (std::length_error&) in test()
Dresize_size_char.pass.cpp29 catch (std::length_error&) in test()
Dreserve.pass.cpp45 catch (std::length_error&) in test()
/ndk/sources/cxx-stl/llvm-libc++/src/
Dstdexcept.cpp187 length_error::~length_error() _NOEXCEPT {} in ~length_error()
/ndk/sources/cxx-stl/stlport/src/
Ddll_main.cpp80 length_error::~length_error() _STLP_NOTHROW_INHERENTLY {} in ~length_error()
/ndk/tests/device/test-stlport/unit/
Dstring_test.cpp176 catch (length_error const&) { in constructor()
201 catch (length_error const&) { in reserve()
/ndk/tests/device/test-gnustl-full/unit/
Dstring_test.cpp176 catch (length_error const&) { in constructor()
201 catch (length_error const&) { in reserve()