/netbsd-src/external/bsd/libc++/dist/libcxxrt/src/ |
H A D | stdexcept.cc | 46 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 D | stdexcept.h | 49 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 D | memory.cc | 76 #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 D | exception_fallback.ipp | 104 bad_alloc::bad_alloc() noexcept 108 bad_alloc::~bad_alloc() noexcept 113 bad_alloc::what() const noexcept 115 return "std::bad_alloc";
|
H A D | exception_msvc.ipp | 134 bad_alloc::bad_alloc() noexcept 138 bad_alloc::~bad_alloc() noexcept 143 bad_alloc::what() const noexcept 145 return "std::bad_alloc";
|
H A D | exception_glibcxx.ipp | 16 bad_alloc::bad_alloc() noexcept
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/ |
H A D | new | 53 * @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 D | bad_alloc.cc | 28 std::bad_alloc::~bad_alloc() _GLIBCXX_USE_NOEXCEPT { } in ~bad_alloc() 31 std::bad_alloc::what() const _GLIBCXX_USE_NOEXCEPT in what()
|
H A D | new_op.cc | 32 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 D | new_opa.cc | 43 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 D | new_opv.cc | 30 operator new[] (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc) in operator new[]()
|
H A D | bad_array_length.cc | 30 class bad_array_length : public bad_alloc
|
H A D | new_opnt.cc | 30 using std::bad_alloc;
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/ |
H A D | new | 53 * @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 D | bad_alloc.cc | 28 std::bad_alloc::~bad_alloc() _GLIBCXX_USE_NOEXCEPT { } in ~bad_alloc() 31 std::bad_alloc::what() const _GLIBCXX_USE_NOEXCEPT in what()
|
H A D | new_op.cc | 32 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 D | new_opa.cc | 43 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 D | new_opv.cc | 30 operator new[] (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc) in operator new[]()
|
H A D | bad_array_length.cc | 30 class bad_array_length : public bad_alloc
|
/netbsd-src/external/apache2/llvm/dist/libcxx/include/ |
H A D | new | 19 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 D | new.cpp | 42 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 D | t-ops2z.cc | 96 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 D | bitmap_allocator.cc | 51 _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 D | bitmap_allocator.cc | 51 _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 D | CatchOutOfMemory.cc | 53 catch (std::bad_alloc */*ba*/) in catch_out_of_memory()
|