Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/libcxx/include/__new/
H A Dexceptions.h23 class _LIBCPP_EXPORTED_FROM_ABI bad_alloc : public exception {
25 bad_alloc() _NOEXCEPT;
26 _LIBCPP_HIDE_FROM_ABI bad_alloc(const bad_alloc&) _NOEXCEPT = default;
27 _LIBCPP_HIDE_FROM_ABI bad_alloc& operator=(const bad_alloc&) _NOEXCEPT = default;
28 ~bad_alloc() _NOEXCEPT override;
32 class _LIBCPP_EXPORTED_FROM_ABI bad_array_new_length : public bad_alloc {
45 class bad_alloc : public exception {
47 bad_alloc() noexcept : exception("bad allocation") {}
52 bad_alloc(char const* const __message) noexcept : exception(__message) {}
55 class bad_array_new_length : public bad_alloc {
[all …]
H A Dglobal_new_delete.h23 # define _THROW_BAD_ALLOC throw(std::bad_alloc)
/freebsd/contrib/libcxxrt/
H A Dstdexcept.cc46 bad_alloc::bad_alloc() _LIBCXXRT_NOEXCEPT {} in bad_alloc() function in std::bad_alloc
47 bad_alloc::~bad_alloc() {} in ~bad_alloc()
48 bad_alloc::bad_alloc(const bad_alloc&) _LIBCXXRT_NOEXCEPT {} in bad_alloc() argument
49 bad_alloc& bad_alloc::operator=(const bad_alloc&) _LIBCXXRT_NOEXCEPT in operator =() argument
53 const char* bad_alloc::what() const _LIBCXXRT_NOEXCEPT in what()
H A Dstdexcept.h51 class bad_alloc: public exception
54 bad_alloc() _LIBCXXRT_NOEXCEPT;
55 bad_alloc(const bad_alloc&) _LIBCXXRT_NOEXCEPT;
56 bad_alloc& operator=(const bad_alloc&) _LIBCXXRT_NOEXCEPT;
57 ~bad_alloc();
86 class bad_array_new_length: public bad_alloc
H A Dmemory.cc76 #define BADALLOC throw(std::bad_alloc)
126 throw std::bad_alloc(); in operator new()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
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
127 class _LIBCPP_EXPORTED_FROM_ABI bad_alloc : public exception {
129 bad_alloc() _NOEXCEPT;
130 _LIBCPP_HIDE_FROM_ABI bad_alloc(const bad_alloc&) _NOEXCEPT = default;
131 _LIBCPP_HIDE_FROM_ABI bad_alloc& operator=(const bad_alloc&) _NOEXCEPT = default;
132 ~bad_alloc() _NOEXCEPT override;
[all …]
/freebsd/contrib/llvm-project/libcxx/src/support/runtime/
H A Dexception_fallback.ipp66 bad_alloc::bad_alloc() noexcept {}
68 bad_alloc::~bad_alloc() noexcept {}
70 const char* bad_alloc::what() const noexcept { return "std::bad_alloc"; }
H A Dexception_msvc.ipp84 bad_alloc::bad_alloc() noexcept {}
86 bad_alloc::~bad_alloc() noexcept {}
88 const char* bad_alloc::what() const noexcept { return "std::bad_alloc"; }
H A Dexception_glibcxx.ipp16 bad_alloc::bad_alloc() noexcept {}
/freebsd/lib/libcxxrt/
H A DVersion.map276 "std::bad_alloc::bad_alloc(std::bad_alloc const&)";
277 "std::bad_alloc::bad_alloc()";
278 "std::bad_alloc::operator=(std::bad_alloc const&)";
312 "std::bad_alloc::~bad_alloc()";
322 "vtable for std::bad_alloc";
329 "typeinfo for std::bad_alloc";
335 "typeinfo name for std::bad_alloc";
349 "std::bad_alloc::what() const";
H A DVersion.map.arm277 "std::bad_alloc::bad_alloc(std::bad_alloc const&)";
278 "std::bad_alloc::bad_alloc()";
279 "std::bad_alloc::operator=(std::bad_alloc const&)";
313 "std::bad_alloc::~bad_alloc()";
323 "vtable for std::bad_alloc";
330 "typeinfo for std::bad_alloc";
336 "typeinfo name for std::bad_alloc";
350 "std::bad_alloc::what() const";
/freebsd/contrib/llvm-project/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
/freebsd/lib/libutil++/
H A Dstringf.cc20 } catch (std::bad_alloc) { in stringf_write()
40 throw std::bad_alloc(); in stringf()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dnew_helpers.cpp22 throw bad_alloc(); in __throw_bad_alloc()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dnew.inc12 using std::bad_alloc;
H A Dnew.cppm
/freebsd/contrib/atf/atf-c++/detail/
H A Dexceptions.cpp108 throw std::bad_alloc(); in throw_no_memory_error()
H A Dexceptions_test.cpp111 } catch (const std::bad_alloc&) { in ATF_TEST_CASE_BODY()
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dutils.h
/freebsd/contrib/kyua/utils/sqlite/
H A Ddatabase.cpp112 throw std::bad_alloc(); in safe_open()
H A Dstatement.cpp93 throw std::bad_alloc(); in handle_bind_error()
/freebsd/contrib/jemalloc/src/
H A Djemalloc_cpp.cpp82 } catch (const std::bad_alloc &) { in handleOOM()
/freebsd/usr.sbin/ctld/
H A Dconf.cc469 } catch (std::bad_alloc &) { in parse_conf()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DErrorHandling.cpp198 throw std::bad_alloc(); in report_bad_alloc_error()
/freebsd/contrib/llvm-project/libcxx/include/__pstl/backends/
H A Dlibdispatch.h151 } catch (const std::bad_alloc&) {

12