Home
last modified time | relevance | path

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

1234567

/external/llvm-project/libcxxabi/src/
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()
/external/libcxxabi/src/
Dstdlib_exception.cpp42 bad_alloc::bad_alloc() _NOEXCEPT in bad_alloc() function in std::bad_alloc
46 bad_alloc::~bad_alloc() _NOEXCEPT in ~bad_alloc()
51 bad_alloc::what() const _NOEXCEPT in what()
/external/llvm-project/libcxx/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/
Dbad_alloc.pass.cpp19 static_assert((std::is_base_of<std::exception, std::bad_alloc>::value), in main()
21 static_assert(std::is_polymorphic<std::bad_alloc>::value, in main()
23 std::bad_alloc b; in main()
24 std::bad_alloc b2 = b; in main()
/external/libcxx/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/
Dbad_alloc.pass.cpp18 static_assert((std::is_base_of<std::exception, std::bad_alloc>::value), in main()
20 static_assert(std::is_polymorphic<std::bad_alloc>::value, in main()
22 std::bad_alloc b; in main()
23 std::bad_alloc b2 = b; in main()
/external/libcxx/src/support/runtime/
Dexception_fallback.ipp109 bad_alloc::bad_alloc() _NOEXCEPT
113 bad_alloc::~bad_alloc() _NOEXCEPT
118 bad_alloc::what() const _NOEXCEPT
120 return "std::bad_alloc";
Dexception_msvc.ipp135 bad_alloc::bad_alloc() _NOEXCEPT
139 bad_alloc::~bad_alloc() _NOEXCEPT
144 bad_alloc::what() const _NOEXCEPT
146 return "std::bad_alloc";
Dexception_glibcxx.ipp17 bad_alloc::bad_alloc() _NOEXCEPT
/external/llvm-project/libcxx/src/support/runtime/
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";
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";
Dexception_glibcxx.ipp16 bad_alloc::bad_alloc() _NOEXCEPT
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/
Dp2.cpp17 class bad_alloc { }; class
22 void* operator new(std::size_t) throw(std::bad_alloc); // expected-note{{previous declaration}}
23 void* operator new[](std::size_t) throw(std::bad_alloc);
/external/llvm-project/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/
Dp2.cpp19 class bad_alloc { }; class
24 void* operator new(std::size_t) throw(std::bad_alloc);
28 void* operator new[](std::size_t) throw(std::bad_alloc);
/external/deqp/framework/delibs/decpp/
DdeMemPool.hpp71 throw std::bad_alloc(); in MemPool()
78 throw std::bad_alloc(); in MemPool()
92 throw std::bad_alloc(); in alloc()
102 throw std::bad_alloc(); in alignedAlloc()
/external/clang/test/CXX/except/except.spec/
Dp3.cpp100 extern "C++" { namespace std { class bad_alloc {}; } } class
102 void* operator new(mysize_t) throw(std::bad_alloc);
105 void* operator new[](mysize_t) throw(std::bad_alloc);
/external/llvm-project/clang/test/CXX/except/except.spec/
Dp3.cpp100 extern "C++" { namespace std { class bad_alloc {}; } } class
102 void* operator new(mysize_t) throw(std::bad_alloc);
105 void* operator new[](mysize_t) throw(std::bad_alloc);
/external/llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp31 void* operator new(std::size_t s) TEST_THROW_SPEC(std::bad_alloc) in operator new()
35 if (expected == 0) TEST_THROW(std::bad_alloc()); in operator new()
142 } catch (std::bad_alloc const&) { in test_throwing_new_during_thread_creation()
187 catch (std::bad_alloc const&) in main()
/external/llvm-project/libcxx/include/
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)
/external/libcxx/include/
Dnew20 class bad_alloc
24 bad_alloc() noexcept;
25 bad_alloc(const bad_alloc&) noexcept;
26 bad_alloc& operator=(const bad_alloc&) noexcept;
30 class bad_array_new_length : public bad_alloc // C++14
127 class _LIBCPP_EXCEPTION_ABI bad_alloc
131 bad_alloc() _NOEXCEPT;
132 virtual ~bad_alloc() _NOEXCEPT;
137 : public bad_alloc
165 #define _THROW_BAD_ALLOC throw(std::bad_alloc)
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h68 class bad_alloc : public exception {
70 bad_alloc() throw();
71 bad_alloc(const bad_alloc&) throw();
72 bad_alloc& operator=(const bad_alloc&) throw();
/external/deqp/external/vulkancts/framework/vulkan/
DvkSpirVAsm.cpp81 throw std::bad_alloc(); in assembleSpirV()
125 throw std::bad_alloc(); in disassembleSpirV()
158 throw std::bad_alloc(); in validateSpirV()
167 throw std::bad_alloc(); in validateSpirV()
/external/XNNPACK/src/xnnpack/
DAlignedAllocator.h84 throw std::bad_alloc();
91 throw std::bad_alloc();
98 throw std::bad_alloc();
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp32 void* operator new(std::size_t s) TEST_THROW_SPEC(std::bad_alloc) in operator new()
35 TEST_THROW(std::bad_alloc()); in operator new()
137 } catch (std::bad_alloc const&) { in test_throwing_new_during_thread_creation()
/external/libcxx/test/support/
Dcount_new.hpp28 throw std::bad_alloc(); in throw_bad_alloc_helper()
359 void* operator new(std::size_t s) TEST_THROW_SPEC(std::bad_alloc) in operator new()
374 void* operator new[](std::size_t s) TEST_THROW_SPEC(std::bad_alloc) in operator new[]()
392 void* operator new(std::size_t s, std::align_val_t av) TEST_THROW_SPEC(std::bad_alloc) { in operator new()
418 void* operator new[](std::size_t s, std::align_val_t av) TEST_THROW_SPEC(std::bad_alloc) { in operator new[]()
/external/libcxx/test/std/strings/basic.string/string.capacity/
Dmax_size.pass.cpp34 catch ( const std::bad_alloc & ) { return ; } in test1()
45 catch ( const std::bad_alloc & ) { return ; } in test2()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.capacity/
Dmax_size.pass.cpp34 catch ( const std::bad_alloc & ) { return ; } in test1()
45 catch ( const std::bad_alloc & ) { return ; } in test2()

1234567