/external/libcxx/test/language.support/support.dynamic/alloc.errors/bad.alloc/ |
H A D | bad_alloc.pass.cpp | 10 // test bad_alloc 18 static_assert((std::is_base_of<std::exception, std::bad_alloc>::value), 19 "std::is_base_of<std::exception, std::bad_alloc>::value"); 20 static_assert(std::is_polymorphic<std::bad_alloc>::value, 21 "std::is_polymorphic<std::bad_alloc>::value"); 22 std::bad_alloc b; 23 std::bad_alloc b2 = b;
|
H A D | Android.mk | 19 test_name := language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc 20 test_src := bad_alloc.pass.cpp
|
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/ |
H A D | p2-noexceptions.cpp | 4 class bad_alloc { }; class in namespace:std
|
H A D | p2.cpp | 17 class bad_alloc { }; class in namespace:std 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); 27 void* operator new(std::size_t); // expected-warning{{'operator new' is missing exception specification 'throw(std::bad_alloc)'}}
|
/external/stlport/test/compiler/ |
H A D | eh.cc | 23 catch (bad_alloc const&) { 28 // CPPUNIT_ASSERT( false && "Not bad_alloc exception thrown." ); 38 // throw bad_alloc(); 40 catch ( bad_alloc const & ) { 52 throw bad_alloc(); 54 catch ( bad_alloc& ) {
|
/external/deqp/framework/delibs/decpp/ |
H A D | deThreadLocal.cpp | 35 throw std::bad_alloc();
|
H A D | deMemPool.hpp | 71 throw std::bad_alloc(); 78 throw std::bad_alloc(); 92 throw std::bad_alloc(); 102 throw std::bad_alloc();
|
H A D | deMutex.cpp | 46 throw std::bad_alloc();
|
H A D | deSemaphore.cpp | 45 throw std::bad_alloc();
|
H A D | deThread.cpp | 88 throw std::bad_alloc();
|
/external/libcxx/src/ |
H A D | new.cpp | 48 throw(std::bad_alloc) 63 throw std::bad_alloc(); 94 throw(std::bad_alloc) 177 bad_alloc::bad_alloc() _NOEXCEPT 183 bad_alloc::~bad_alloc() _NOEXCEPT 188 bad_alloc::what() const _NOEXCEPT 190 return "std::bad_alloc"; 233 throw bad_alloc(); [all...] |
/external/libcxxabi/src/ |
H A D | cxa_new_delete.cpp | 26 throws bad_alloc. 38 throw(std::bad_alloc) 50 throw std::bad_alloc(); 96 throw(std::bad_alloc) 201 // bad_alloc 203 bad_alloc::bad_alloc() _NOEXCEPT 207 bad_alloc::~bad_alloc() _NOEXCEPT 212 bad_alloc [all...] |
/external/stlport/stlport/stl/ |
H A D | _new.h | 71 * STLport own bad_alloc exception to be used if the native C++ library 75 class bad_alloc : public exception { class in inherits:exception 77 bad_alloc () _STLP_NOTHROW_INHERENTLY { } 78 bad_alloc(const bad_alloc&) _STLP_NOTHROW_INHERENTLY { } 79 bad_alloc& operator=(const bad_alloc&) _STLP_NOTHROW_INHERENTLY {return *this;} 80 ~bad_alloc () _STLP_NOTHROW_INHERENTLY { } 93 using _STLP_VENDOR_EXCEPT_STD::bad_alloc; 118 # define _STLP_THROW_BAD_ALLOC _STLP_THROW(_STLP_STD::bad_alloc()) [all...] |
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
H A D | nullptr_t_deleter_throw.pass.cpp | 35 void* operator new(std::size_t s) throw(std::bad_alloc) 38 throw std::bad_alloc(); 55 catch (std::bad_alloc&)
|
H A D | pointer_deleter_throw.pass.cpp | 35 void* operator new(std::size_t s) throw(std::bad_alloc) 38 throw std::bad_alloc(); 56 catch (std::bad_alloc&)
|
H A D | pointer_throw.pass.cpp | 32 void* operator new(std::size_t s) throw(std::bad_alloc) 35 throw std::bad_alloc(); 55 catch (std::bad_alloc&)
|
/external/clang/test/CXX/drs/ |
H A D | dr412.cpp | 1 // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT="throw()" -DBAD_ALLOC="throw(std::bad_alloc)" 11 namespace std { struct bad_alloc {}; } struct in namespace:std
|
/external/clang/test/CXX/except/except.spec/ |
H A D | p3.cpp | 98 // with a throw(bad_alloc) spec, because C++0x makes an incompatible change 100 extern "C++" { namespace std { class bad_alloc {}; } } class in namespace:std 102 void* operator new(mysize_t) throw(std::bad_alloc); 105 void* operator new[](mysize_t) throw(std::bad_alloc);
|
/external/libcxx/test/language.support/support.dynamic/alloc.errors/new.badlength/ |
H A D | bad_array_length.pass.cpp | 19 static_assert((std::is_base_of<std::bad_alloc, std::bad_array_length>::value), 20 "std::is_base_of<std::bad_alloc, std::bad_array_length>::value");
|
H A D | bad_array_new_length.pass.cpp | 18 static_assert((std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value), 19 "std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value");
|
/external/valgrind/main/massif/tests/ |
H A D | overloaded-new.cpp | 17 __attribute__((noinline)) void* operator new (std::size_t n) throw (std::bad_alloc) 27 __attribute__((noinline)) void* operator new[] (std::size_t n) throw (std::bad_alloc)
|
/external/libcxx/test/language.support/support.dynamic/new.delete/new.delete.array/ |
H A D | new_array.pass.cpp | 41 catch (std::bad_alloc&)
|
H A D | new_array_replace.pass.cpp | 20 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/external/libcxx/test/language.support/support.dynamic/new.delete/new.delete.single/ |
H A D | new.pass.cpp | 41 catch (std::bad_alloc&)
|
H A D | new_replace.pass.cpp | 20 void* operator new(std::size_t s) throw(std::bad_alloc)
|