Searched defs:new (Results 1 - 25 of 315) sorted by relevance

1234567891011>>

/external/clang/test/CXX/special/class.free/
H A Dp1.cpp5 void *operator new(size_t) {
8 void *operator new[](size_t) {
/external/clang/test/SemaCXX/Inputs/
H A Dwarn-new-overaligned-3.h3 // 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 Darm-darwin-aapcs.cpp9 void* operator new(size_t size)
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dlibc_override_redefine.h34 // 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 Dlibc_override_redefine.h34 // 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 DClass.pm14 sub new { subroutine
16 my $self = $class->SUPER::new(@args);
/external/bison/lib/
H A Dstrdup.c42 void *new = malloc (len); local
44 if (new == NULL)
47 return (char *) memcpy (new, s, len);
H A Dstrndup.c29 char *new = malloc (len + 1); local
31 if (new == NULL)
34 new[len] = '\0';
35 return memcpy (new, s, len);
/external/chromium_org/sync/syncable/
H A Dsyncable_read_transaction.h25 void* operator new(size_t size) { return (::operator new)(size); }
/external/chromium_org/third_party/WebKit/Source/
H A Dconfig.h40 // Helps us catch if anyone uses new or delete by accident in code and doesn't include "config.h".
41 #undef new macro
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DBidiRun.cpp36 void* BidiRun::operator new(size_t sz)
/external/chromium_org/third_party/WebKit/Source/core/scripts/
H A DInFilesParser.pm62 sub new subroutine
/external/chromium_org/third_party/libjingle/overrides/allocator_shim/
H A Dallocator_proxy.cc18 // 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 DCryptlib_AES.py8 def new(key, mode, IV): function
H A DCryptlib_RC4.py8 def new(key): function
H A DCryptlib_TripleDES.py9 def new(key, mode, IV): function
H A DOpenSSL_AES.py8 def new(key, mode, IV): function
H A DOpenSSL_RC4.py8 def new(key): function
H A DOpenSSL_TripleDES.py8 def new(key, mode, IV): function
H A DPython_AES.py8 def new(key, mode, IV): function
H A DPython_RC4.py6 def new(key): function
/external/clang/test/CodeGenCXX/
H A DDynArrayInit.cpp7 inline void* operator new[](unsigned long, void* __p) { return __p; }
9 new (a) char[4]();
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_placement_new.h13 // The file provides 'placement new'.
29 inline void *operator new(__sanitizer::operator_new_ptr_type sz, void *p) {
/external/tcpdump/
H A Dsetsignal.c77 struct sigaction old, new; local
79 memset(&new, 0, sizeof(new));
80 new.sa_handler = func;
81 if (sigaction(sig, &new, &old) < 0)
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dget_mangled_names.cc33 // 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; }

Completed in 1180 milliseconds

1234567891011>>