Home
last modified time | relevance | path

Searched refs:bad_alloc (Results 1 – 25 of 163) sorted by relevance

1234567

/netbsd-src/external/bsd/libc++/dist/libcxxrt/src/
H A Dstdexcept.cc46 bad_alloc::bad_alloc() throw() {} in bad_alloc() function in std::bad_alloc
47 bad_alloc::~bad_alloc() {} in ~bad_alloc()
48 bad_alloc::bad_alloc(const bad_alloc&) throw() {} in bad_alloc() argument
49 bad_alloc& bad_alloc::operator=(const bad_alloc&) throw() in operator =() argument
53 const char* bad_alloc::what() const throw() in what()
H A Dstdexcept.h49 class bad_alloc: public exception
52 bad_alloc() throw();
53 bad_alloc(const bad_alloc&) throw();
54 bad_alloc& operator=(const bad_alloc&) throw();
55 ~bad_alloc();
84 class bad_array_new_length: public bad_alloc
H A Dmemory.cc76 #define BADALLOC throw(std::bad_alloc)
100 throw std::bad_alloc(); in operator new()
/netbsd-src/external/apache2/llvm/dist/libcxx/src/support/runtime/
H A Dexception_fallback.ipp104 bad_alloc::bad_alloc() noexcept
108 bad_alloc::~bad_alloc() noexcept
113 bad_alloc::what() const noexcept
115 return "std::bad_alloc";
H A Dexception_msvc.ipp134 bad_alloc::bad_alloc() noexcept
138 bad_alloc::~bad_alloc() noexcept
143 bad_alloc::what() const noexcept
145 return "std::bad_alloc";
H A Dexception_glibcxx.ipp16 bad_alloc::bad_alloc() noexcept
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/
H A Dnew53 * @c bad_alloc (or classes derived from it) is used to report allocation
55 class bad_alloc : public exception
58 bad_alloc() throw() { }
61 bad_alloc(const bad_alloc&) = default;
62 bad_alloc& operator=(const bad_alloc&) = default;
67 virtual ~bad_alloc() throw();
74 class bad_array_new_length : public bad_alloc
117 * - normal single new and delete (no arguments, throw @c bad_alloc on error)
126 _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
128 _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
H A Dbad_alloc.cc28 std::bad_alloc::~bad_alloc() _GLIBCXX_USE_NOEXCEPT { } in ~bad_alloc()
31 std::bad_alloc::what() const _GLIBCXX_USE_NOEXCEPT in what()
H A Dnew_op.cc32 using std::bad_alloc;
42 operator new (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc) in operator new()
54 _GLIBCXX_THROW_OR_ABORT(bad_alloc()); in operator new()
H A Dnew_opa.cc43 using std::bad_alloc;
119 _GLIBCXX_THROW_OR_ABORT(bad_alloc()); in operator new()
143 _GLIBCXX_THROW_OR_ABORT(bad_alloc()); in operator new()
H A Dnew_opv.cc30 operator new[] (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc) in operator new[]()
H A Dbad_array_length.cc30 class bad_array_length : public bad_alloc
H A Dnew_opnt.cc30 using std::bad_alloc;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/
H A Dnew53 * @c bad_alloc (or classes derived from it) is used to report allocation
55 class bad_alloc : public exception
58 bad_alloc() throw() { }
61 bad_alloc(const bad_alloc&) = default;
62 bad_alloc& operator=(const bad_alloc&) = default;
67 virtual ~bad_alloc() throw();
74 class bad_array_new_length : public bad_alloc
117 * - normal single new and delete (no arguments, throw @c bad_alloc on error)
126 _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
128 _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
H A Dbad_alloc.cc28 std::bad_alloc::~bad_alloc() _GLIBCXX_USE_NOEXCEPT { } in ~bad_alloc()
31 std::bad_alloc::what() const _GLIBCXX_USE_NOEXCEPT in what()
H A Dnew_op.cc32 using std::bad_alloc;
42 operator new (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc) in operator new()
54 _GLIBCXX_THROW_OR_ABORT(bad_alloc()); in operator new()
H A Dnew_opa.cc43 using std::bad_alloc;
128 _GLIBCXX_THROW_OR_ABORT(bad_alloc()); in operator new()
153 _GLIBCXX_THROW_OR_ABORT(bad_alloc()); in operator new()
H A Dnew_opv.cc30 operator new[] (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc) in operator new[]()
H A Dbad_array_length.cc30 class bad_array_length : public bad_alloc
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dnew19 class bad_alloc
23 bad_alloc() noexcept;
24 bad_alloc(const bad_alloc&) noexcept;
25 bad_alloc& operator=(const bad_alloc&) noexcept;
29 class bad_array_new_length : public bad_alloc // C++14
126 class _LIBCPP_EXCEPTION_ABI bad_alloc
130 bad_alloc() _NOEXCEPT;
131 virtual ~bad_alloc() _NOEXCEPT;
136 : public bad_alloc
173 #define _THROW_BAD_ALLOC throw(std::bad_alloc)
/netbsd-src/external/apache2/llvm/dist/libcxx/src/
H A Dnew.cpp42 throw bad_alloc(); in __throw_bad_alloc()
76 throw std::bad_alloc(); in operator new()
196 throw std::bad_alloc(); in operator new()
/netbsd-src/external/lgpl3/gmp/dist/tests/cxx/
H A Dt-ops2z.cc96 catch (std::bad_alloc&) {} in checkz()
107 catch (std::bad_alloc&) {} in checkz()
116 catch (std::bad_alloc&) {} in checkz()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/
H A Dbitmap_allocator.cc51 _M_get(size_t __sz) throw(std::bad_alloc) in _M_get()
83 __catch(const std::bad_alloc&) in _M_get()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/
H A Dbitmap_allocator.cc51 _M_get(size_t __sz) throw(std::bad_alloc) in _M_get()
83 __catch(const std::bad_alloc&) in _M_get()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DCatchOutOfMemory.cc53 catch (std::bad_alloc */*ba*/) in catch_out_of_memory()

1234567