Home
last modified time | relevance | path

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

123

/external/libcxxabi/src/
Dcxa_new_delete.cpp53 throw std::bad_alloc(); in operator new()
184 bad_alloc::bad_alloc() _NOEXCEPT in bad_alloc() function in std::bad_alloc
188 bad_alloc::~bad_alloc() _NOEXCEPT in ~bad_alloc()
193 bad_alloc::what() const _NOEXCEPT in what()
219 : public bad_alloc
/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/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_length : public bad_alloc // FIXME: Not part of C++
36 class bad_array_new_length : public bad_alloc // C++14
121 class _LIBCPP_EXCEPTION_ABI bad_alloc
125 bad_alloc() _NOEXCEPT;
126 virtual ~bad_alloc() _NOEXCEPT;
131 : public bad_alloc
[all …]
/external/libcxx/src/support/runtime/
Dexception_fallback.ipp110 bad_alloc::bad_alloc() _NOEXCEPT
114 bad_alloc::~bad_alloc() _NOEXCEPT
119 bad_alloc::what() const _NOEXCEPT
121 return "std::bad_alloc";
Dexception_glibcxx.ipp17 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);
Dp2-noexceptions.cpp4 class bad_alloc { }; class
/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()
DdeArrayBuffer.cpp42 throw std::bad_alloc(); in ArrayBuffer_AlignedMalloc()
47 throw std::bad_alloc(); in ArrayBuffer_AlignedMalloc()
157 catch (std::bad_alloc&) in ArrayBuffer_selfTest()
DdeSocket.cpp38 throw std::bad_alloc(); in SocketAddress()
82 throw std::bad_alloc(); in Socket()
DdeThreadLocal.cpp35 throw std::bad_alloc(); in ThreadLocal()
/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/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/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/valgrind/massif/tests/
Doverloaded-new.cpp17 __attribute__((noinline)) void* operator new (std::size_t n) throw (std::bad_alloc) in operator new()
27 __attribute__((noinline)) void* operator new[] (std::size_t n) throw (std::bad_alloc) in operator new[]()
/external/libcxx/src/
Dnew.cpp46 throw bad_alloc(); in __throw_bad_alloc()
79 throw std::bad_alloc(); in operator new()
199 throw std::bad_alloc(); in operator new()
Dios.cpp317 throw bad_alloc(); in copyfmt()
324 throw bad_alloc(); in copyfmt()
333 throw bad_alloc(); in copyfmt()
342 throw bad_alloc(); in copyfmt()
/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/deqp/framework/randomshaders/
DrsgToken.cpp36 throw std::bad_alloc(); in Token()
59 throw std::bad_alloc(); in operator =()
/external/libcxx/test/support/
Dcount_new.hpp28 throw std::bad_alloc(); in throw_bad_alloc_helper()
237 void* operator new(std::size_t s) TEST_THROW_SPEC(std::bad_alloc) in operator new()
253 void* operator new[](std::size_t s) TEST_THROW_SPEC(std::bad_alloc) in operator new[]()
/external/libcxx/test/std/strings/basic.string/string.cons/
Dcopy_alloc.pass.cpp33 throw std::bad_alloc(); in allocate()
73 catch ( std::bad_alloc &) { return; } in test_assign()
/external/deqp/external/vulkancts/framework/vulkan/
DvkSpirVAsm.cpp51 throw std::bad_alloc(); in assembleSpirV()
94 throw std::bad_alloc(); in disassembleSpirV()
/external/ltp/tools/top-LTP/proc/
Dksym.c317 goto bad_alloc; in parse_ksyms()
344 bad_alloc: in parse_ksyms()
409 goto bad_alloc; in sysmap_mmap()
504 bad_alloc: in sysmap_mmap()
/external/libcxx/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/
Ddefault_throws_bad_alloc.pass.cpp31 catch (std::bad_alloc &) { return 0; } in main()
/external/clang/test/CXX/drs/
Ddr412.cpp12 namespace std { struct bad_alloc {}; } struct

123