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
488
) 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
/external/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/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/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
)"
11
namespace std { struct
bad_alloc
{}; }
struct in namespace:std
13
inline void* operator new(size_t)
BAD_ALLOC
; // expected-error {{cannot be declared 'inline'}}
14
inline void* operator new[](size_t)
BAD_ALLOC
; // expected-error {{cannot be declared 'inline'}}
/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/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
";
96
void* operator new(std::size_t size) throw(std::
bad_alloc
) {
105
throw std::
bad_alloc
();
117
} catch (const std::
bad_alloc
&) {
123
void* operator new[](std::size_t size) throw(std::
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
...]
/external/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;
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
[
all
...]
/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;
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
[
all
...]
/prebuilts/ndk/9/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;
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
[
all
...]
/external/libcxxabi/src/
cxa_new_delete.cpp
26
throws
bad_alloc
.
38
throw(std::
bad_alloc
)
50
throw std::
bad_alloc
();
96
throw(std::
bad_alloc
)
201
//
bad_alloc
203
bad_alloc
::
bad_alloc
() _NOEXCEPT
207
bad_alloc
::~
bad_alloc
() _NOEXCEPT
212
bad_alloc
::what() const _NOEXCEP
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
cxa_new_delete.cpp
26
throws
bad_alloc
.
38
throw(std::
bad_alloc
)
50
throw std::
bad_alloc
();
96
throw(std::
bad_alloc
)
201
//
bad_alloc
203
bad_alloc
::
bad_alloc
() _NOEXCEPT
207
bad_alloc
::~
bad_alloc
() _NOEXCEPT
212
bad_alloc
::what() const _NOEXCEP
[
all
...]
Completed in 534 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>