/external/libcxx/test/std/localization/locales/locale/locale.cons/ |
copy.pass.cpp | 11 // UNSUPPORTED: sanitizer-new-delete 19 #include <new> 25 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
nullptr_t_deleter_throw.pass.cpp | 16 // UNSUPPORTED: sanitizer-new-delete 20 #include <new> 37 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_list.c | 37 struct rc_list * new = memory_pool_malloc(pool, sizeof(struct rc_list)); local 38 new->Item = item; 39 new->Next = NULL; 40 new->Prev = NULL; 42 return new;
|
/external/mesa3d/src/glsl/ |
glsl_symbol_table.h | 29 #include <new> 54 /* Callers of this ralloc-based new need not call delete. It's 56 static void* operator new(size_t size, void *ctx)
|
/external/toybox/toys/posix/ |
ln.c | 29 char *dest = toys.optargs[--toys.optc], *new; local 51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try)); 52 else new = dest; 57 oldnew = new; 59 new = xmprintf("%s_XXXXXX", new); 60 rc = mkstemp(new); 63 if (unlink(new)) perror_msg("unlink '%s'", new); 67 rc = (toys.optflags & FLAG_s) ? symlink(try, new) : link(try, new) [all...] |
/external/webrtc/webrtc/base/ |
scoped_autorelease_pool.h | 12 // an instance of this class using "new" - that will result in a compile-time 42 // Declaring private overrides of new and delete here enforces the "only use 45 // Note: new is declared as "throw()" to get around a gcc warning about new 48 void* operator new(size_t size) throw() { return NULL; }
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/ |
dtor.pass.cpp | 18 #include <new> 22 void* operator new[](size_t sz) 24 return operator new(sz); 37 std::locale l(std::locale::classic(), new std::ctype<char>); 44 std::locale l(std::locale::classic(), new std::ctype<char>(table)); 51 new std::ctype<char>(new std::ctype<char>::mask[256], true));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/ |
codecvt_utf16.pass.cpp | 28 void* operator new(std::size_t s) throw(std::bad_alloc) 53 std::locale loc(std::locale::classic(), new C);
|
codecvt_utf8.pass.cpp | 28 void* operator new(std::size_t s) throw(std::bad_alloc) 53 std::locale loc(std::locale::classic(), new C);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.cons/ |
assign.pass.cpp | 16 #include <new> 22 void* operator new(std::size_t s) throw(std::bad_alloc)
|
copy.pass.cpp | 16 #include <new> 22 void* operator new(std::size_t s) throw(std::bad_alloc)
|
default.pass.cpp | 15 #include <new> 22 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
ctor.pass.cpp | 14 // wbuffer_convert(streambuf *bytebuf = 0, Codecvt *pcvt = new Codecvt, 21 #include <new> 25 void* operator new(std::size_t s) throw(std::bad_alloc) 59 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>); 66 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>, std::mbstate_t());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
nullptr_t_deleter_throw.pass.cpp | 18 #include <new> 35 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
delete1.cpp | 8 void *operator new[](size_t sz) throw() { 18 px = new X[5][10];
|
new16.cpp | 5 // placement new. 10 inline void* operator new(size_t, void* __p) throw() { return __p; } 21 f = new (p) long;
|
new3.cpp | 2 // { dg-options "-fcheck-new -pedantic -Wno-long-long" } 12 void * operator new (__SIZE_TYPE__ s) 23 void * operator new (__SIZE_TYPE__ s) throw() 34 A *ap = new A; 35 B *bp = new B;
|
new5.cpp | 3 #include <new> 7 void * operator new[](size_t, std::nothrow_t const &) throw() 14 Inner * ic = new (std::nothrow) Inner[1]; // SegFault here
|
new7.cpp | 4 #include <new> 16 void* operator new ( std::size_t n ) throw ( std::bad_alloc ) 19 return ::operator new( n ); 33 X* x = new X; // gcc 3.0 fails to call operator delete when X::X throws
|
pdel1.cpp | 4 #include <new> 14 void * operator new (size_t size, int, int) { return operator new (size); } 19 A* ap = new (1, 5) A;
|
pdel2.cpp | 4 #include <new> 14 void * operator new (size_t size, int, int) { return operator new (size); } 19 A* ap = new (1, 5) A;
|
placement2.cpp | 1 // Bug: We were calling f() twice, for both the placement new and placement 6 void* operator new (__SIZE_TYPE__ sz, void*) { return operator new (sz); } 18 new (f()) A;
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
delete1.cpp | 8 void *operator new[](size_t sz) throw() { 18 px = new X[5][10];
|
new16.cpp | 5 // placement new. 10 inline void* operator new(size_t, void* __p) throw() { return __p; } 21 f = new (p) long;
|
new3.cpp | 2 // { dg-options "-fcheck-new -pedantic -Wno-long-long" } 12 void * operator new (__SIZE_TYPE__ s) 23 void * operator new (__SIZE_TYPE__ s) throw() 34 A *ap = new A; 35 B *bp = new B;
|