/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
copy_assign.pass.cpp | 17 #include <new> 23 void* operator new(std::size_t s) throw(std::bad_alloc)
|
nullptr_t_assign.pass.cpp | 17 #include <new> 23 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/default.allocator/allocator.members/ |
allocate.pass.cpp | 16 #include <new> 22 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
auto_ptr.pass.cpp | 15 #include <new> 21 void* operator new(std::size_t s) throw(std::bad_alloc) 59 std::auto_ptr<A> ptr(new A); 74 std::auto_ptr<A> ptr(new A);
|
pointer_deleter_throw.pass.cpp | 18 #include <new> 35 void* operator new(std::size_t s) throw(std::bad_alloc) 49 A* ptr = new A;
|
pointer_throw.pass.cpp | 15 #include <new> 32 void* operator new(std::size_t s) throw(std::bad_alloc) 47 A* ptr = new A;
|
unique_ptr.pass.cpp | 15 #include <new> 21 void* operator new(std::size_t s) throw(std::bad_alloc) 59 std::unique_ptr<A> ptr(new A); 70 std::unique_ptr<A> ptr(new A);
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
delete3_1.cpp | 2 #include <new> 20 void* operator new(size_t numBytes, SomeClass&, const std::nothrow_t&) throw() 22 return operator new(numBytes, std::nothrow); 34 map< int, int>* pMap = new map< int, int>;
|
new1.cpp | 2 // Test that when a constructor throws in a new-expression, we pass the 7 #include <new> 13 void * operator new[] (size_t s) throw (std::bad_alloc) 15 ptr = operator new (s); 37 A *p = new A[4];
|
new1_2.cpp | 6 #include <new> 24 foo (new B (A ())); 35 void* operator new (size_t size) throw (std::bad_alloc)
|
new2_1.cpp | 6 #include <new> 23 newed = 0; // The libraries might call new before int main starts. 25 foo (new B (A ())); 36 void* operator new (size_t size) throw (std::bad_alloc)
|
p9706.cpp | 9 void *operator new(size_t sz) { ++count; return malloc (sz); } 22 // The standard library may have called new and/or delete during
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
delete3_1.cpp | 2 #include <new> 20 void* operator new(size_t numBytes, SomeClass&, const std::nothrow_t&) throw() 22 return operator new(numBytes, std::nothrow); 34 map< int, int>* pMap = new map< int, int>;
|
new1.cpp | 2 // Test that when a constructor throws in a new-expression, we pass the 7 #include <new> 13 void * operator new[] (size_t s) throw (std::bad_alloc) 15 ptr = operator new (s); 37 A *p = new A[4];
|
new1_2.cpp | 6 #include <new> 24 foo (new B (A ())); 35 void* operator new (size_t size) throw (std::bad_alloc)
|
new2_1.cpp | 6 #include <new> 23 newed = 0; // The libraries might call new before int main starts. 25 foo (new B (A ())); 36 void* operator new (size_t size) throw (std::bad_alloc)
|
p9706.cpp | 9 void *operator new(size_t sz) { ++count; return malloc (sz); } 22 // The standard library may have called new and/or delete during
|
/external/webkit/Source/JavaScriptCore/wtf/wince/ |
FastMallocWinCE.h | 25 #include <new.h> 28 #include <new> 70 static inline void* __cdecl operator new(size_t s) { return fastMalloc(s); } 72 static inline void* __cdecl operator new[](size_t s) { return fastMalloc(s); } 74 static inline void* operator new(size_t s, const std::nothrow_t&) throw() { return fastMalloc(s); } 76 static inline void* operator new[](size_t s, const std::nothrow_t&) throw() { return fastMalloc(s); } 88 AllocTypeClassNew, // Encompasses class operator new from FastAllocBase. 89 AllocTypeClassNewArray, // Encompasses class operator new[] from FastAllocBase. 92 AllocTypeNew, // Encompasses global operator new. 93 AllocTypeNewArray // Encompasses global operator new[] [all...] |
/bionic/libc/upstream-netbsd/libc/isc/ |
ev_streams.c | 71 evStream *new; local 74 OKNEW(new); 75 new->func = func; 76 new->uap = uap; 77 new->fd = fd; 78 new->flags = 0; 79 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) 81 if (copyvec(new, iov, iocnt) < 0) 83 new->prevDone = NULL 105 evStream *new; local [all...] |
/external/chromium/testing/gtest/samples/ |
sample10_unittest.cc | 55 // operator new and operator delete help us control water allocation. 56 void* operator new(size_t allocation_size) { 100 Water* water = new Water; 107 Water* water = new Water; 140 // We don't need to worry about deleting the new listener later, as 142 listeners.Append(new LeakChecker);
|
/external/gtest/samples/ |
sample10_unittest.cc | 55 // operator new and operator delete help us control water allocation. 56 void* operator new(size_t allocation_size) { 100 Water* water = new Water; 107 Water* water = new Water; 140 // We don't need to worry about deleting the new listener later, as 142 listeners.Append(new LeakChecker);
|
/external/libvpx/libvpx/third_party/googletest/src/samples/ |
sample10_unittest.cc | 55 // operator new and operator delete help us control water allocation. 56 void* operator new(size_t allocation_size) { 100 Water* water = new Water; 107 Water* water = new Water; 140 // We don't need to worry about deleting the new listener later, as 142 listeners.Append(new LeakChecker);
|
/external/protobuf/gtest/samples/ |
sample10_unittest.cc | 55 // operator new and operator delete help us control water allocation. 56 void* operator new(size_t allocation_size) { 100 Water* water = new Water; 107 Water* water = new Water; 140 // We don't need to worry about deleting the new listener later, as 142 listeners.Append(new LeakChecker);
|
/external/qemu/elff/ |
elf_alloc.h | 70 * will use overwritten operators new/delete for the DWARF objects that use
107 * protection from mistakenly using "traditional" operator 'new' for object
120 /* Main operator new.
129 void* operator new(size_t size, const ElfFile* elf);
134 * operator in order to compliment overwritten operator 'new'.
142 * operator in order to compliment overwritten operator 'new'.
148 /* Default operator new.
151 * of operator 'new'.
153 void* operator new(size_t size) throw() {
|
/external/regex-re2/util/ |
arena.h | 6 // objects. Doing this the usual way (malloc, new) is slow, 14 // The global operator new that can be used as follows: 19 // Foo* foo = new (AllocateInArena, &arena) Foo; 38 // default alignment of 8, but ::operator new() uses alignment of 4, 90 // Syntax: new (AllocateInArena, arena) MyClass; 96 inline void* operator new(size_t size,
|