Home
last modified time | relevance | path

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

/external/libcxx/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()
DAndroid.mk19 test_name := diagnostics/std.exceptions/length.error/length_error
20 test_src := length_error.pass.cpp
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
Dudp_node.cc75 virtual void Run(int32_t length_error) { in Run() argument
78 if (length_error < 0) { in Run()
79 node_->SetError_Locked(length_error); in Run()
127 virtual void Run(int32_t length_error) { in Run() argument
134 if (length_error > 0) { in Run()
136 packet->Copy(data_, length_error, addr_); in Run()
142 stream->SetError_Locked(length_error); in Run()
Dtcp_node.cc89 virtual void Run(int32_t length_error) { in Run() argument
92 if (length_error < 0) { in Run()
94 node_->SetError_Locked(length_error); in Run()
152 virtual void Run(int32_t length_error) { in Run() argument
159 if (length_error <= 0) { in Run()
160 stream->SetError_Locked(length_error); in Run()
165 emitter_->WriteIn_Locked(data_, length_error); in Run()
/external/libcxx/include/
Dstdexcept23 class length_error;
118 class _LIBCPP_EXCEPTION_ABI length_error
122 _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;
Dvector305 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()
Dstring1129 throw length_error("basic_string");
1131 assert(!"basic_string length_error");
Ddeque882 throw length_error("deque");
/external/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()
/external/libcxxabi/src/
Dstdexcept.cpp41 length_error::~length_error() _NOEXCEPT {} in ~length_error()
/external/libcxx/src/
Dstdexcept.cpp97 length_error::~length_error() _NOEXCEPT {} in ~length_error()
/external/stlport/src/
Ddll_main.cpp80 length_error::~length_error() _STLP_NOTHROW_INHERENTLY {} in ~length_error()
/external/libcxx/test/strings/basic.string/string.capacity/
Dmax_size.pass.cpp48 catch ( const std::length_error & ) { return ; } in test3()
Dresize_size.pass.cpp31 catch (std::length_error&) in test()
Dresize_size_char.pass.cpp31 catch (std::length_error&) in test()
Dreserve.pass.cpp47 catch (std::length_error&) in test()
/external/stlport/test/unit/
Dstring_test.cpp176 catch (length_error const&) { in constructor()
201 catch (length_error const&) { in reserve()
/external/stlport/etc/
DChangeLog-5.11848 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…