/external/clang/test/SemaCXX/Inputs/ |
warn-new-overaligned-3.h | 3 // This header file pretends to be <new> from the system library, for the 6 void* operator new(unsigned long) { 9 void* operator new[](unsigned long) { 13 void* operator new(unsigned long, void *) { 17 void* operator new[](unsigned long, void *) {
|
/external/clang/test/CXX/special/class.free/ |
p1.cpp | 5 void *operator new(size_t) { 8 void *operator new[](size_t) {
|
/abi/cpp/src/ |
new.cc | 30 #include <new> 34 operator new(std::size_t size) throw (/*std::bad_alloc*/)
|
/external/bison/lib/ |
strdup.c | 42 void *new = malloc (len); local 44 if (new == NULL) 47 return (char *) memcpy (new, s, len);
|
strndup.c | 29 char *new = malloc (len + 1); local 31 if (new == NULL) 34 new[len] = '\0'; 35 return memcpy (new, s, len);
|
/external/chromium_org/third_party/libjingle/overrides/allocator_shim/ |
allocator_proxy.cc | 18 // Override the global new/delete routines and proxy them over to the allocator 21 void* operator new(std::size_t n) throw() {
|
/external/clang/test/Sema/ |
arm-darwin-aapcs.cpp | 9 void* operator new(size_t size)
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_placement_new.h | 13 // The file provides 'placement new'. 21 inline void *operator new(__sanitizer::operator_new_size_type sz, void *p) {
|
/external/tcpdump/ |
setsignal.c | 77 struct sigaction old, new; local 79 memset(&new, 0, sizeof(new)); 80 new.sa_handler = func; 82 new.sa_flags = SA_RESTART; 83 if (sigaction(sig, &new, &old) < 0)
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
strndup.c | 32 char *new = malloc (len + 1); local 34 if (new == NULL) 37 new[len] = '\0'; 38 return memcpy (new, s, len);
|
/bionic/libc/bionic/ |
new.cpp | 18 #include <new> 25 void* operator new(std::size_t size) { 28 __libc_fatal("new failed to allocate %zu bytes", size); 33 void* operator new[](std::size_t size) { 36 __libc_fatal("new[] failed to allocate %zu bytes", size); 49 void* operator new(std::size_t size, const std::nothrow_t&) { 53 void* operator new[](std::size_t size, const std::nothrow_t&) {
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
libc_override_redefine.h | 34 // malloc/new/etc. (Typically this will be a windows msvcrt.dll that 52 void* operator new(size_t size) { return tc_new(size); } 54 void* operator new[](size_t size) { return tc_newarray(size); } 56 void* operator new(size_t size, const std::nothrow_t& nt) __THROW { 59 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW {
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
get_mangled_names.cc | 33 // When you are porting perftools to a new compiler or architecture 35 // symbol names for operator new and friends at the top of 52 #include <new> // for nothrow_t 54 static char m; // some dummy memory so new doesn't return NULL. 56 void* operator new(size_t size) { return &m; } 58 void* operator new[](size_t size) { return &m; } 61 void* operator new(size_t size, const std::nothrow_t&) throw() { return &m; } 63 void* operator new[](size_t size, const std::nothrow_t&) throw() { return &m; }
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
libc_override_redefine.h | 34 // malloc/new/etc. (Typically this will be a windows msvcrt.dll that 52 void* operator new(size_t size) { return tc_new(size); } 54 void* operator new[](size_t size) { return tc_newarray(size); } 56 void* operator new(size_t size, const std::nothrow_t& nt) __THROW { 59 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW {
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
get_mangled_names.cc | 33 // When you are porting perftools to a new compiler or architecture 35 // symbol names for operator new and friends at the top of 52 #include <new> // for nothrow_t 54 static char m; // some dummy memory so new doesn't return NULL. 56 void* operator new(size_t size) { return &m; } 58 void* operator new[](size_t size) { return &m; } 61 void* operator new(size_t size, const std::nothrow_t&) throw() { return &m; } 63 void* operator new[](size_t size, const std::nothrow_t&) throw() { return &m; }
|
/ndk/sources/cxx-stl/gabi++/src/ |
new.cc | 31 #include <new> 96 void* operator new(std::size_t size) throw(std::bad_alloc) { 113 void* operator new(std::size_t size, const std::nothrow_t& no) 116 return ::operator new(size); 123 void* operator new[](std::size_t size) throw(std::bad_alloc) { 124 return ::operator new(size); 128 void* operator new[](std::size_t size, const std::nothrow_t& no) 130 return ::operator new(size, no);
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/ |
cxa_new_delete.cpp | 9 // This file implements the new and delete operators. 14 #include <new> 18 [new.delete.single] 36 operator new(std::size_t size) 62 [new.delete.single] 64 Calls operator new(size). If the call returns normally, returns the result of 69 operator new(size_t size, const std::nothrow_t&) 79 p = ::operator new(size); 88 [new.delete.array] 90 Returns operator new(size) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusbase.h | 36 static void* operator new(size_t in_size) 40 static void* operator new[](size_t in_size)
|
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/My/Test/ |
Class.pm | 14 sub new { subroutine 16 my $self = $class->SUPER::new(@args);
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
BidiCharacterRun.cpp | 36 void* BidiCharacterRun::operator new(size_t sz)
|
/external/clang/test/CodeGenCXX/ |
DynArrayInit.cpp | 7 inline void* operator new[](unsigned long, void* __p) { return __p; } 9 new (a) char[4]();
|
/hardware/intel/img/libdrm/libdrm/nouveau/ |
nouveau_resource.c | 95 struct nouveau_resource *new = r->next; local 97 new->prev = r->prev; 99 r->prev->next = new; 100 new->size += r->size; 101 new->start = r->start; 104 r = new;
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
new11.cpp | 5 #include <new> 8 void *operator new[](size_t bytes) throw (std::bad_alloc) { 11 return operator new (bytes); 18 // operator new[]. 20 new (X);
|
p755.cpp | 2 // It checks to see if you can define your own global new operator. 6 #include <new> 10 void* operator new(size_t sz) throw (std::bad_alloc) { 17 int* i = new int;
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
new11.cpp | 5 #include <new> 8 void *operator new[](size_t bytes) throw (std::bad_alloc) { 11 return operator new (bytes); 18 // operator new[]. 20 new (X);
|