HomeSort by relevance Sort by last modified time
    Searched refs:bad_alloc (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /ndk/sources/cxx-stl/llvm-libc++/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;
  /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/stlport/test/compiler/
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& ) {
  /ndk/sources/cxx-stl/gabi++/src/
new.cc 43 bad_alloc::bad_alloc() throw() { function in class:std::bad_alloc
46 bad_alloc::~bad_alloc() throw() {
49 const char* bad_alloc::what() const throw() {
50 return "std::bad_alloc";
62 void* operator new(std::size_t size) throw(std::bad_alloc) {
71 throw std::bad_alloc();
81 } catch (const std::bad_alloc&) {
87 void* operator new[](std::size_t size) throw(std::bad_alloc) {
    [all...]
  /ndk/tests/device/test-stlport_shared-exception/jni/
new11.cpp 8 void *operator new[](size_t bytes) throw (std::bad_alloc) {
p755.cpp 10 void* operator new(size_t sz) throw (std::bad_alloc) {
new6.cpp 11 void *operator new (size_t size) throw (bad_alloc)
new1.cpp 13 void * operator new[] (size_t s) throw (std::bad_alloc)
new7.cpp 16 void* operator new ( std::size_t n ) throw ( std::bad_alloc )
  /ndk/tests/device/test-stlport_static-exception/jni/
new11.cpp 8 void *operator new[](size_t bytes) throw (std::bad_alloc) {
p755.cpp 10 void* operator new(size_t sz) throw (std::bad_alloc) {
new6.cpp 11 void *operator new (size_t size) throw (bad_alloc)
  /external/stlport/stlport/stl/
_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...]
  /ndk/sources/cxx-stl/llvm-libc++/src/
new.cpp 44 throw(std::bad_alloc)
59 throw std::bad_alloc();
90 throw(std::bad_alloc)
165 bad_alloc::bad_alloc() _NOEXCEPT
169 bad_alloc::~bad_alloc() _NOEXCEPT
174 bad_alloc::what() const _NOEXCEPT
176 return "std::bad_alloc";
201 throw bad_alloc();
    [all...]
  /ndk/sources/cxx-stl/stlport/stlport/stl/
_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...]
  /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/
_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...]
  /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/
_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...]
  /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/
_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...]
  /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/
_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...]
  /ndk/sources/cxx-stl/llvm-libc++/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();
  /ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.dynamic/alloc.errors/new.badlength/
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");

Completed in 1427 milliseconds

1 2 3 4 5