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

1 2 3 4

  /external/libcxx/test/std/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;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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/libcxxabi/src/
stdlib_exception.cpp 41 // bad_alloc
43 bad_alloc::bad_alloc() _NOEXCEPT
47 bad_alloc::~bad_alloc() _NOEXCEPT
52 bad_alloc::what() const _NOEXCEPT
54 return "std::bad_alloc";
78 : public bad_alloc
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/src/
stdlib_exception.cpp 41 // bad_alloc
43 bad_alloc::bad_alloc() _NOEXCEPT
47 bad_alloc::~bad_alloc() _NOEXCEPT
52 bad_alloc::what() const _NOEXCEPT
54 return "std::bad_alloc";
78 : public bad_alloc
  /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();
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-elf/
new.cc 3 using std::bad_alloc;
21 operator new (std::size_t sz) throw (std::bad_alloc)
38 operator new[] (std::size_t sz) 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)"
12 namespace std { struct bad_alloc {}; } struct in namespace:std
14 inline void* operator new(size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}}
15 inline void* operator new[](size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}}
  /external/libcxx/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/
default_throws_bad_alloc.pass.cpp 18 // The sanitizers replace new/delete with versions that do not throw bad_alloc.
32 catch (std::bad_alloc &) { return 0; }
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/
default_throws_bad_alloc.pass.cpp 18 // The sanitizers replace new/delete with versions that do not throw bad_alloc.
32 catch (std::bad_alloc &) { return 0; }
  /external/libcxx/test/libcxx/language.support/support.dynamic/alloc.errors/new.badlength/
bad_array_length.pass.cpp 28 static_assert((std::is_base_of<std::bad_alloc, std::bad_array_length>::value),
29 "std::is_base_of<std::bad_alloc, std::bad_array_length>::value");
  /external/libcxx/test/std/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");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/language.support/support.dynamic/alloc.errors/new.badlength/
bad_array_length.pass.cpp 28 static_assert((std::is_base_of<std::bad_alloc, std::bad_array_length>::value),
29 "std::is_base_of<std::bad_alloc, std::bad_array_length>::value");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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");
  /external/libcxx/test/std/strings/basic.string/string.capacity/
max_size.pass.cpp 34 catch ( const std::bad_alloc & ) { return ; }
45 catch ( const std::bad_alloc & ) { return ; }
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.capacity/
max_size.pass.cpp 34 catch ( const std::bad_alloc & ) { return ; }
45 catch ( const std::bad_alloc & ) { return ; }
  /external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/
pbump2gig.pass.cpp 45 catch (const std::bad_alloc &) {}
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
nullptr_t_deleter_throw.pass.cpp 49 catch (std::bad_alloc&)
pointer_throw.pass.cpp 47 catch (std::bad_alloc&)
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
nullptr_t_deleter_throw.pass.cpp 49 catch (std::bad_alloc&)
pointer_throw.pass.cpp 48 catch (std::bad_alloc&)

Completed in 243 milliseconds

1 2 3 4