/external/libcxxabi/src/ |
D | cxa_new_delete.cpp | 53 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/ |
D | bad_alloc.pass.cpp | 18 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/ |
D | new | 20 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/ |
D | exception_fallback.ipp | 110 bad_alloc::bad_alloc() _NOEXCEPT 114 bad_alloc::~bad_alloc() _NOEXCEPT 119 bad_alloc::what() const _NOEXCEPT 121 return "std::bad_alloc";
|
D | exception_glibcxx.ipp | 17 bad_alloc::bad_alloc() _NOEXCEPT
|
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/ |
D | p2.cpp | 17 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);
|
D | p2-noexceptions.cpp | 4 class bad_alloc { }; class
|
/external/deqp/framework/delibs/decpp/ |
D | deMemPool.hpp | 71 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()
|
D | deArrayBuffer.cpp | 42 throw std::bad_alloc(); in ArrayBuffer_AlignedMalloc() 47 throw std::bad_alloc(); in ArrayBuffer_AlignedMalloc() 157 catch (std::bad_alloc&) in ArrayBuffer_selfTest()
|
D | deSocket.cpp | 38 throw std::bad_alloc(); in SocketAddress() 82 throw std::bad_alloc(); in Socket()
|
D | deThreadLocal.cpp | 35 throw std::bad_alloc(); in ThreadLocal()
|
/external/clang/test/CXX/except/except.spec/ |
D | p3.cpp | 100 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/ |
D | system-header-simulator-cxx.h | 68 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/ |
D | F.pass.cpp | 32 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/ |
D | overloaded-new.cpp | 17 __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/ |
D | new.cpp | 46 throw bad_alloc(); in __throw_bad_alloc() 79 throw std::bad_alloc(); in operator new() 199 throw std::bad_alloc(); in operator new()
|
D | ios.cpp | 317 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/ |
D | max_size.pass.cpp | 34 catch ( const std::bad_alloc & ) { return ; } in test1() 45 catch ( const std::bad_alloc & ) { return ; } in test2()
|
/external/deqp/framework/randomshaders/ |
D | rsgToken.cpp | 36 throw std::bad_alloc(); in Token() 59 throw std::bad_alloc(); in operator =()
|
/external/libcxx/test/support/ |
D | count_new.hpp | 28 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/ |
D | copy_alloc.pass.cpp | 33 throw std::bad_alloc(); in allocate() 73 catch ( std::bad_alloc &) { return; } in test_assign()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkSpirVAsm.cpp | 51 throw std::bad_alloc(); in assembleSpirV() 94 throw std::bad_alloc(); in disassembleSpirV()
|
/external/ltp/tools/top-LTP/proc/ |
D | ksym.c | 317 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/ |
D | default_throws_bad_alloc.pass.cpp | 31 catch (std::bad_alloc &) { return 0; } in main()
|
/external/clang/test/CXX/drs/ |
D | dr412.cpp | 12 namespace std { struct bad_alloc {}; } struct
|