/external/clang/test/CXX/special/class.free/ |
H A D | p1.cpp | 5 void *operator new(size_t) { 8 void *operator new[](size_t) {
|
/external/clang/test/SemaCXX/Inputs/ |
H A D | 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/Sema/ |
H A D | arm-darwin-aapcs.cpp | 9 void* operator new(size_t size)
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | 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/ |
H A D | 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/antlr/antlr-3.4/runtime/Perl5/t/lib/My/Test/ |
H A D | Class.pm | 14 sub new { subroutine 16 my $self = $class->SUPER::new(@args);
|
/external/bison/lib/ |
H A D | strdup.c | 42 void *new = malloc (len); local 44 if (new == NULL) 47 return (char *) memcpy (new, s, len);
|
H A D | strndup.c | 29 char *new = malloc (len + 1); local 31 if (new == NULL) 34 new[len] = '\0'; 35 return memcpy (new, s, len);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_placement_new.h | 13 // The file provides 'placement new'. 21 inline void *operator new(__sanitizer::operator_new_size_type sz, void *p) {
|
/external/chromium_org/sync/syncable/ |
H A D | syncable_read_transaction.h | 25 void* operator new(size_t size) { return (::operator new)(size); }
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
H A D | BidiCharacterRun.cpp | 36 void* BidiCharacterRun::operator new(size_t sz)
|
/external/chromium_org/third_party/libjingle/overrides/allocator_shim/ |
H A D | 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/chromium_org/third_party/tlslite/tlslite/utils/ |
H A D | openssl_aes.py | 11 def new(key, mode, IV): function
|
H A D | openssl_rc4.py | 11 def new(key): function
|
H A D | openssl_tripledes.py | 11 def new(key, mode, IV): function
|
H A D | python_aes.py | 11 def new(key, mode, IV): function
|
H A D | python_rc4.py | 9 def new(key): function
|
/external/chromium_org/third_party/webrtc/voice_engine/test/win_test/ |
H A D | WinTest.cc | 16 #define new DEBUG_NEW macro
|
/external/clang/test/CodeGenCXX/ |
H A D | DynArrayInit.cpp | 7 inline void* operator new[](unsigned long, void* __p) { return __p; } 9 new (a) char[4]();
|
/external/tcpdump/ |
H A D | 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)
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
H A D | 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/windows/ |
H A D | 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/clang/test/CXX/expr/expr.unary/expr.new/ |
H A D | p19.cpp | 4 // Operator delete template for placement new with global lookup 9 static void* operator new(size_t) { 19 // Using the global operator new suppresses the search for a 21 ::new X0<2>; 23 new X0<3>; // expected-note 2{{instantiation}} 26 // Operator delete template for placement new[] with global lookup 31 static void* operator new[](size_t) { 41 // Using the global operator new suppresses the search for a 43 ::new X1<2> [17]; 45 new X [all...] |
/external/clang/test/SemaCXX/ |
H A D | new-null.cpp | 8 void *operator new(size_t n) { 9 return nullptr; // expected-warning {{'operator new' should not return a null pointer unless it is declared 'throw()' or 'noexcept'}} 11 void *operator new[](size_t n) noexcept { 19 void *operator new(size_t n) throw() { 22 void *operator new[](size_t n) { 25 // expected-warning@-2 {{'operator new[]' should not return a null pointer unless it is declared 'throw()' or 'noexcept'}} 27 // expected-warning-re@-4 {{'operator new[]' should not return a null pointer unless it is declared 'throw()'{{$}}}} 33 void *operator new(size_t n) { 39 // expected-warning@-5 {{'operator new' should not return a null pointer unless it is declared 'throw()'}} 42 void *operator new[](size_ [all...] |
H A D | warn-new-overaligned.cpp | 15 new Test; // expected-warning {{type 'test1::Test' requires 256 bytes of alignment and the default allocator only guarantees}} 16 new Test[10]; // expected-warning {{type 'test1::Test' requires 256 bytes of alignment and the default allocator only guarantees}} 28 new Test; // expected-warning {{type 'test2::Test' requires 256 bytes of alignment and the default allocator only guarantees}} 29 new Test[10]; // expected-warning {{type 'test2::Test' requires 256 bytes of alignment and the default allocator only guarantees}} 40 void* operator new(unsigned long) { 41 return 0; // expected-warning {{'operator new' should not return a null pointer unless it is declared 'throw()'}} 49 new Test; 50 new Test[10]; // expected-warning {{type 'test3::Test' requires 256 bytes of alignment and the default allocator only guarantees}} 61 void* operator new[](unsigned long) { 62 return 0; // expected-warning {{'operator new[]' shoul [all...] |