Home
last modified time | relevance | path

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

1234

/ndk/sources/cxx-stl/gabi++/src/
Dnew.cc44 bad_alloc::bad_alloc() _GABIXX_NOEXCEPT { in bad_alloc() function in std::bad_alloc
47 bad_alloc::~bad_alloc() _GABIXX_NOEXCEPT { in ~bad_alloc()
50 const char* bad_alloc::what() const _GABIXX_NOEXCEPT { in what()
96 void* operator new(std::size_t size) throw(std::bad_alloc) { in operator new()
105 throw std::bad_alloc(); in operator new()
117 } catch (const std::bad_alloc&) { in operator new()
123 void* operator new[](std::size_t size) throw(std::bad_alloc) { in operator new[]()
/ndk/sources/cxx-stl/llvm-libc++abi/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()
240 : public bad_alloc
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_new.h75 class bad_alloc : public exception {
77 bad_alloc () _STLP_NOTHROW_INHERENTLY { } in bad_alloc() function
78 bad_alloc(const bad_alloc&) _STLP_NOTHROW_INHERENTLY { } in bad_alloc() argument
79 bad_alloc& operator=(const bad_alloc&) _STLP_NOTHROW_INHERENTLY {return *this;}
80 ~bad_alloc () _STLP_NOTHROW_INHERENTLY { } in ~bad_alloc()
93 using _STLP_VENDOR_EXCEPT_STD::bad_alloc;
118 # define _STLP_THROW_BAD_ALLOC _STLP_THROW(_STLP_STD::bad_alloc())
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dnew.cpp49 throw(std::bad_alloc) in operator new()
64 throw std::bad_alloc(); in operator new()
95 throw(std::bad_alloc) in operator new[]()
178 bad_alloc::bad_alloc() _NOEXCEPT in bad_alloc() function in std::bad_alloc
184 bad_alloc::~bad_alloc() _NOEXCEPT in ~bad_alloc()
189 bad_alloc::what() const _NOEXCEPT in what()
234 throw bad_alloc(); in __throw_bad_alloc()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
/ndk/sources/cxx-stl/llvm-libc++/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
78 class _LIBCPP_EXCEPTION_ABI bad_alloc
82 bad_alloc() _NOEXCEPT;
83 virtual ~bad_alloc() _NOEXCEPT;
88 : public bad_alloc
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dpointer_throw.pass.cpp32 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
35 throw std::bad_alloc(); in operator new()
55 catch (std::bad_alloc&) in main()
Dnullptr_t_deleter_throw.pass.cpp35 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
38 throw std::bad_alloc(); in operator new()
55 catch (std::bad_alloc&) in main()
Dpointer_deleter_throw.pass.cpp35 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
38 throw std::bad_alloc(); in operator new()
56 catch (std::bad_alloc&) in main()
Dunique_ptr.pass.cpp21 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
24 throw std::bad_alloc(); in operator new()
Dauto_ptr.pass.cpp21 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
24 throw std::bad_alloc(); in operator new()
/ndk/sources/cxx-stl/gabi++/include/
Dnew44 class bad_alloc : public exception {
46 bad_alloc() throw();
47 virtual ~bad_alloc() throw();
51 class bad_array_new_length : public bad_alloc {
60 class bad_array_length : public bad_alloc {
74 void* operator new(std::size_t size) throw(std::bad_alloc);
76 void* operator new[](std::size_t size) throw(std::bad_alloc);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.capacity/
Dmax_size.pass.cpp26 catch ( const std::bad_alloc & ) { return ; } in test1()
37 catch ( const std::bad_alloc & ) { return ; } in test2()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/
Dshared_count.hpp106 boost::throw_exception( std::bad_alloc() ); in shared_count()
143 boost::throw_exception(std::bad_alloc()); in shared_count()
175 boost::throw_exception( std::bad_alloc() ); in shared_count()
223 boost::throw_exception( std::bad_alloc() ); in shared_count()
271 boost::throw_exception( std::bad_alloc() ); in shared_count()
293 boost::throw_exception(std::bad_alloc()); in shared_count()
/ndk/tests/device/test-stlport_static-exception/jni/
Dp755.cpp10 void* operator new(size_t sz) throw (std::bad_alloc) { in operator new()
Dnew11.cpp8 void *operator new[](size_t bytes) throw (std::bad_alloc) { in operator new[]()
Dnew6.cpp11 void *operator new (size_t size) throw (bad_alloc) in operator new()
Dnew1.cpp13 void * operator new[] (size_t s) throw (std::bad_alloc) in operator new[]()
/ndk/tests/device/test-stlport_shared-exception/jni/
Dp755.cpp10 void* operator new(size_t sz) throw (std::bad_alloc) { in operator new()
Dnew11.cpp8 void *operator new[](size_t bytes) throw (std::bad_alloc) { in operator new[]()
Dnew6.cpp11 void *operator new (size_t size) throw (bad_alloc) in operator new()
Dnew1.cpp13 void * operator new[] (size_t s) throw (std::bad_alloc) in operator new[]()
Dnew7.cpp16 void* operator new ( std::size_t n ) throw ( std::bad_alloc ) in operator new()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp23 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
26 throw std::bad_alloc(); in operator new()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.modifiers/
Dinsert_iter_size_value.pass.cpp27 void* operator new(std::size_t s) throw(std::bad_alloc) in operator new()
30 throw std::bad_alloc(); in operator new()

1234