OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:bad_alloc
(Results
1 - 25
of
350
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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
& ) {
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/
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
)'}}
p2-noexceptions.cpp
4
class
bad_alloc
{ };
class in namespace:std
/ndk/sources/cxx-stl/gabi++/src/
new.cc
44
bad_alloc
::
bad_alloc
() _GABIXX_NOEXCEPT {
47
bad_alloc
::~
bad_alloc
() _GABIXX_NOEXCEPT {
50
const char*
bad_alloc
::what() const _GABIXX_NOEXCEPT {
51
return "std::
bad_alloc
";
63
void* operator new(std::size_t size) throw(std::
bad_alloc
) {
72
throw std::
bad_alloc
();
83
} catch (const std::
bad_alloc
&) {
89
void* operator new[](std::size_t size) throw(std::
bad_alloc
) {
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++/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;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
new
20
class
bad_alloc
24
bad_alloc
() noexcept;
25
bad_alloc
(const
bad_alloc
&) noexcept;
26
bad_alloc
& operator=(const
bad_alloc
&) noexcept;
66
class _LIBCPP_EXCEPTION_ABI
bad_alloc
70
bad_alloc
() _NOEXCEPT;
71
virtual ~
bad_alloc
() _NOEXCEPT;
76
: public
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
)
/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++/libcxx/src/
new.cpp
44
throw(std::
bad_alloc
)
59
throw std::
bad_alloc
();
90
throw(std::
bad_alloc
)
169
bad_alloc
::
bad_alloc
() _NOEXCEPT
173
bad_alloc
::~
bad_alloc
() _NOEXCEPT
178
bad_alloc
::what() const _NOEXCEPT
180
return "std::
bad_alloc
";
205
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
...]
/prebuilts/ndk/9/sources/cxx-stl/EH/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++/patches.android/
0003-src-new.cpp-Support-building-with-GAbi.patch
42
bad_alloc
::
bad_alloc
() _NOEXCEPT
44
@@ -176,7 +180,7 @@
bad_alloc
::what() const _NOEXCEPT
45
return "std::
bad_alloc
";
/ndk/sources/cxx-stl/gabi++/include/
new
44
class
bad_alloc
: public exception {
46
bad_alloc
() throw();
47
virtual ~
bad_alloc
() throw();
56
void* operator new(std::size_t size) throw(std::
bad_alloc
);
58
void* operator new[](std::size_t size) throw(std::
bad_alloc
);
/prebuilts/ndk/9/sources/cxx-stl/EH/gabi++/include/
new
44
class
bad_alloc
: public exception {
46
bad_alloc
() throw();
47
virtual ~
bad_alloc
() throw();
56
void* operator new(std::size_t size) throw(std::
bad_alloc
);
58
void* operator new[](std::size_t size) throw(std::
bad_alloc
);
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/
new
52
* @c
bad_alloc
(or classes derived from it) is used to report allocation
54
class
bad_alloc
: public exception
57
bad_alloc
() throw() { }
61
virtual ~
bad_alloc
() throw();
82
* - normal single new and delete (no arguments, throw @c
bad_alloc
on error)
91
void* operator new(std::size_t) throw (std::
bad_alloc
);
92
void* operator new[](std::size_t) throw (std::
bad_alloc
);
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/
new
54
* @c
bad_alloc
(or classes derived from it) is used to report allocation
56
class
bad_alloc
: public exception
59
bad_alloc
() throw() { }
63
virtual ~
bad_alloc
() throw();
84
* - normal single new and delete (no arguments, throw @c
bad_alloc
on error)
93
void* operator new(std::size_t) throw (std::
bad_alloc
);
94
void* operator new[](std::size_t) throw (std::
bad_alloc
);
Completed in 1350 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>