/external/libcxx/test/language.support/support.dynamic/alloc.errors/bad.alloc/ |
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;
|
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/ |
p2-noexceptions.cpp | 4 class bad_alloc { }; class in namespace:std
|
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/deqp/framework/delibs/decpp/ |
deThreadLocal.cpp | 35 throw std::bad_alloc();
|
deMemPool.hpp | 71 throw std::bad_alloc(); 78 throw std::bad_alloc(); 92 throw std::bad_alloc(); 102 throw std::bad_alloc();
|
deMutex.cpp | 46 throw std::bad_alloc();
|
deSemaphore.cpp | 45 throw std::bad_alloc();
|
deThread.cpp | 88 throw std::bad_alloc();
|
/external/libcxxabi/src/ |
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::what() const _NOEXCEP [all...] |
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
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&)
|
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&)
|
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&)
|
/abi/cpp/src/ |
new.cc | 34 operator new(std::size_t size) throw (/*std::bad_alloc*/) 39 throw std::bad_alloc();
|
/external/clang/test/CXX/drs/ |
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 13 inline void* operator new(size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}} 14 inline void* operator new[](size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}}
|
/external/libcxx/src/ |
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/libcxx/test/language.support/support.dynamic/alloc.errors/new.badlength/ |
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");
|
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/libcxx/test/language.support/support.dynamic/new.delete/new.delete.array/ |
new_array.pass.cpp | 41 catch (std::bad_alloc&)
|
new_array_nothrow_replace.pass.cpp | 20 void* operator new(std::size_t s) throw(std::bad_alloc)
|
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/ |
new.pass.cpp | 41 catch (std::bad_alloc&)
|
new_nothrow_replace.pass.cpp | 20 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/external/clang/test/CXX/except/except.spec/ |
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/clang/test/Analysis/Inputs/ |
system-header-simulator-cxx.h | 65 class bad_alloc : public exception { class in namespace:std 67 bad_alloc() throw(); 68 bad_alloc(const bad_alloc&) throw(); 69 bad_alloc& operator=(const bad_alloc&) throw();
|