Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/libcxxabi/src/
H A Dstdlib_exception.cpp40 bad_alloc::bad_alloc() noexcept in bad_alloc() function in std::bad_alloc
44 bad_alloc::~bad_alloc() noexcept in ~bad_alloc()
49 bad_alloc::what() const noexcept in what()
H A Dstdlib_new_delete.cpp39 throw std::bad_alloc(); in operator new()
159 throw std::bad_alloc(); in operator new()
/openbsd-src/gnu/llvm/libcxx/src/support/runtime/
H A Dexception_fallback.ipp102 bad_alloc::bad_alloc() noexcept
106 bad_alloc::~bad_alloc() noexcept
111 bad_alloc::what() const noexcept
113 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
/openbsd-src/gnu/gcc/libstdc++-v3/libsupc++/
H A Dnew_handler.cc48 std::bad_alloc::~bad_alloc() throw() { } in ~bad_alloc()
51 std::bad_alloc::what() const throw() in what()
H A Dnew_op.cc38 using std::bad_alloc;
50 operator new (std::size_t sz) throw (std::bad_alloc) in operator new()
63 throw bad_alloc(); in operator new()
H A Dnew56 * @c bad_alloc (or classes derived from it) is used to report allocation
58 class bad_alloc : public exception
61 bad_alloc() throw() { }
65 virtual ~bad_alloc() throw();
86 * - normal single new and delete (no arguments, throw @c bad_alloc on error)
95 void* operator new(std::size_t) throw (std::bad_alloc);
96 void* operator new[](std::size_t) throw (std::bad_alloc);
H A Dnew_opnt.cc35 using std::bad_alloc;
58 catch (bad_alloc &) in operator new()
H A Dnew_opv.cc35 operator new[] (std::size_t sz) throw (std::bad_alloc) in operator new[]()
/openbsd-src/gnu/lib/libstdc++/libstdc++/libsupc++/
H A Dnew_op.cc35 using std::bad_alloc;
41 operator new (std::size_t sz) throw (std::bad_alloc) in operator new()
54 throw bad_alloc(); in operator new()
H A Dnew51 * @c bad_alloc (or classes derived from it) is used to report allocation
53 class bad_alloc : public exception
56 bad_alloc() throw() { }
59 virtual ~bad_alloc() throw();
73 * - normal single new and delete (no arguments, throw @c bad_alloc on error)
82 void* operator new(std::size_t) throw (std::bad_alloc);
83 void* operator new[](std::size_t) throw (std::bad_alloc);
H A Dnew_handler.cc47 std::bad_alloc::~bad_alloc() throw() { } in ~bad_alloc()
H A Dnew_opnt.cc34 using std::bad_alloc;
57 catch (bad_alloc &) in operator new()
H A Dnew_opv.cc34 operator new[] (std::size_t sz) throw (std::bad_alloc) in operator new[]()
/openbsd-src/gnu/llvm/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
129 class _LIBCPP_EXCEPTION_ABI bad_alloc
133 bad_alloc() _NOEXCEPT;
134 ~bad_alloc() _NOEXCEPT override;
139 : public bad_alloc
155 class bad_alloc : public exception {
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.ns/
H A Dnew1.C14 void *operator new(size_t n)throw(std::bad_alloc) in new()
18 throw std::bad_alloc(); in new()
/openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/20_util/
H A Dallocator_members.cc34 operator new(std::size_t n) throw(std::bad_alloc) in operator new()
72 catch(const std::bad_alloc& e) in test02()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.abi/
H A Dcxa_vec.C37 void *operator new[] (std::size_t size) throw (std::bad_alloc) in throw() argument
42 throw std::bad_alloc (); in throw()
/openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/21_strings/
H A Dctor_copy_dtor.cc100 catch(std::bad_alloc& fail) { in test01()
143 catch(std::bad_alloc& fail) { in test01()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb133a.C10 catch (std::bad_alloc) { // ERROR - parse error in main()
H A Deb133.C12 catch (bad_alloc) { // ERROR - parse error in main()
H A Deb133b.C12 catch (bad_alloc) { // ERROR - parse error in main()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp755.C8 void* operator new(size_t sz) throw (std::bad_alloc) { in new()

123