Home
last modified time | relevance | path

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

1234

/external/libcxxabi/src/
Dcxa_new_delete.cpp38 throw(std::bad_alloc) in operator new()
50 throw std::bad_alloc(); in operator new()
96 throw(std::bad_alloc) in operator new[]()
203 bad_alloc::bad_alloc() _NOEXCEPT in bad_alloc() function in std::bad_alloc
207 bad_alloc::~bad_alloc() _NOEXCEPT in ~bad_alloc()
212 bad_alloc::what() const _NOEXCEPT in what()
238 : public bad_alloc
/external/libcxx/src/
Dnew.cpp48 throw(std::bad_alloc) in operator new()
63 throw std::bad_alloc(); in operator new()
94 throw(std::bad_alloc) in operator new[]()
191 bad_alloc::bad_alloc() _NOEXCEPT in bad_alloc() function in std::bad_alloc
197 bad_alloc::~bad_alloc() _NOEXCEPT in ~bad_alloc()
202 bad_alloc::what() const _NOEXCEPT in what()
247 throw bad_alloc(); in __throw_bad_alloc()
Ddebug.cpp156 throw bad_alloc(); in __insert_c()
182 throw bad_alloc(); in __insert_c()
479 throw bad_alloc(); in __add()
505 throw bad_alloc(); in __insert_iterator()
531 throw bad_alloc(); in __insert_iterator()
/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 // C++14
36 class bad_array_new_length : public bad_alloc
82 class _LIBCPP_EXCEPTION_ABI bad_alloc
86 bad_alloc() _NOEXCEPT;
87 virtual ~bad_alloc() _NOEXCEPT;
92 : public bad_alloc
[all …]
/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/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/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()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dpointer_throw.pass.cpp34 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
37 throw std::bad_alloc(); in operator new()
57 catch (std::bad_alloc&) in main()
Dnullptr_t_deleter_throw.pass.cpp37 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
40 throw std::bad_alloc(); in operator new()
57 catch (std::bad_alloc&) in main()
Dpointer_deleter_throw.pass.cpp37 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
40 throw std::bad_alloc(); in operator new()
58 catch (std::bad_alloc&) in main()
Dauto_ptr.pass.cpp23 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
26 throw std::bad_alloc(); in operator new()
Dunique_ptr.pass.cpp23 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
26 throw std::bad_alloc(); in operator new()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h65 class bad_alloc : public exception {
67 bad_alloc() throw();
68 bad_alloc(const bad_alloc&) throw();
69 bad_alloc& operator=(const bad_alloc&) throw();
/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/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/test/std/strings/basic.string/string.capacity/
Dmax_size.pass.cpp33 catch ( const std::bad_alloc & ) { return ; } in test1()
44 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/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp27 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
30 throw std::bad_alloc(); in operator new()
/external/libcxx/test/std/containers/sequences/list/list.modifiers/
Dinsert_iter_size_value.pass.cpp29 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
32 throw std::bad_alloc(); in operator new()
Dinsert_iter_value.pass.cpp29 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
32 throw std::bad_alloc(); in operator new()
/external/deqp/external/vulkancts/framework/vulkan/
DvkSpirVAsm.cpp49 throw std::bad_alloc(); in assembleSpirV()
88 throw std::bad_alloc(); in disassembleSpirV()
DvkNullDriver.cpp48 throw std::bad_alloc(); in allocateSystemMem()
141 } catch (const std::bad_alloc&) { \
245 throw std::bad_alloc(); in allocateHeap()
417 catch (const std::bad_alloc&) in createGraphicsPipelines()
443 catch (const std::bad_alloc&) in createComputePipelines()
602 catch (const std::bad_alloc&) in allocateDescriptorSets()
/external/libcxx/test/support/
Dcount_new.hpp196 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
209 void* operator new[](std::size_t s) throw(std::bad_alloc) in operator new[]()

1234