Searched refs:length_error (Results 1 – 19 of 19) sorted by relevance
20 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()
19 test_name := diagnostics/std.exceptions/length.error/length_error20 test_src := length_error.pass.cpp
75 virtual void Run(int32_t length_error) { in Run() argument78 if (length_error < 0) { in Run()79 node_->SetError_Locked(length_error); in Run()127 virtual void Run(int32_t length_error) { in Run() argument134 if (length_error > 0) { in Run()136 packet->Copy(data_, length_error, addr_); in Run()142 stream->SetError_Locked(length_error); in Run()
89 virtual void Run(int32_t length_error) { in Run() argument92 if (length_error < 0) { in Run()94 node_->SetError_Locked(length_error); in Run()152 virtual void Run(int32_t length_error) { in Run() argument159 if (length_error <= 0) { in Run()160 stream->SetError_Locked(length_error); in Run()165 emitter_->WriteIn_Locked(data_, length_error); in Run()
23 class length_error;118 class _LIBCPP_EXCEPTION_ABI length_error122 _LIBCPP_INLINE_VISIBILITY explicit length_error(const string& __s) : logic_error(__s) {}123 _LIBCPP_INLINE_VISIBILITY explicit length_error(const char* __s) : logic_error(__s) {}125 virtual ~length_error() _NOEXCEPT;
305 throw length_error("vector");307 assert(!"vector length_error");863 // throws length_error if __n > max_size()2403 // throws length_error if __n > max_size()
1129 throw length_error("basic_string");1131 assert(!"basic_string length_error");
882 throw length_error("deque");
64 class _STLP_CLASS_DECLSPEC length_error : public logic_error {66 length_error(const string& __arg) : logic_error(__arg) {} in length_error() function68 ~length_error() _STLP_NOTHROW_INHERENTLY;
73 { _STLP_THROW_MSG(length_error, __msg); } in __stl_throw_length_error()
41 length_error::~length_error() _NOEXCEPT {} in ~length_error()
97 length_error::~length_error() _NOEXCEPT {} in ~length_error()
80 length_error::~length_error() _STLP_NOTHROW_INHERENTLY {} in ~length_error()
48 catch ( const std::length_error & ) { return ; } in test3()
31 catch (std::length_error&) in test()
47 catch (std::length_error&) in test()
176 catch (length_error const&) { in constructor()201 catch (length_error const&) { in reserve()
1848 check length_error exception rather than bad_alloc.7330 …* _vector.c: add of the standard length_error exception to the reserve method (thanks Steven Young…