/external/webkit/Source/WebKit2/ |
H A D | WebKit2Prefix.h | 32 #define new ("if you use new/delete make sure to include config.h at the top of the file"()) macro 33 #define delete ("if you use new/delete make sure to include config.h at the top of the file"())
|
/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/bison/lib/ |
H A D | strdup.c | 44 void *new = malloc (len); local 46 if (new == NULL) 49 return (char *) memcpy (new, s, len);
|
H A D | strndup.c | 53 char *new = malloc (len + 1); local 55 if (new == NULL) 58 new[len] = '\0'; 59 return memcpy (new, s, len);
|
/external/webkit/Source/JavaScriptCore/ |
H A D | JavaScriptCorePrefix.h | 29 #define new ("if you use new/delete make sure to include config.h at the top of the file"()) macro 30 #define delete ("if you use new/delete make sure to include config.h at the top of the file"())
|
/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; 81 if (sigaction(sig, &new, &old) < 0)
|
/external/webkit/Source/WebCore/bindings/scripts/ |
H A D | InFilesParser.pm | 62 sub new subroutine
|
/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/webkit/Source/WebCore/bindings/js/ |
H A D | ScriptFunctionCall.h | 72 void* operator new(size_t) { ASSERT_NOT_REACHED(); return reinterpret_cast<void*>(0xbadbeef); } 73 void* operator new[](size_t) { ASSERT_NOT_REACHED(); return reinterpret_cast<void*>(0xbadbeef); }
|
/external/webkit/Source/WebCore/svg/ |
H A D | SVGFontFaceUriElement.h | 49 void* operator new(size_t size) { 50 return SVGElement::operator new(size); 52 void* operator new[](size_t size) { 53 return SVGElement::operator new[](size);
|
/external/ipsec-tools/src/racoon/ |
H A D | vmbuf.c | 124 vchar_t *new; local 131 if ((new = vmalloc(src->l)) == NULL) 134 memcpy(new->v, src->v, src->l); 136 return new;
|
H A D | genlist.c | 44 struct genlist *new = calloc(sizeof(struct genlist), 1); local 45 TAILQ_INIT(new); 46 return new;
|
H A D | str2val.c | 55 caddr_t new; local 59 if ((new = racoon_malloc(len)) == 0) return(0); 62 snprintf(&new[j], len - j, "%02x", (u_char)buf[i]); 65 new[j++] = ' '; 66 new[j] = '\0'; 69 new[j] = '\0'; 71 return(new);
|
/external/webkit/Source/WebCore/rendering/ |
H A D | BidiRun.cpp | 55 void* BidiRun::operator new(size_t sz, RenderArena* renderArena) throw()
|
/external/oprofile/libutil++/tests/ |
H A D | utility_tests.cpp | 13 #include <new> 24 void* operator new(size_t size) throw(bad_alloc) 30 void* operator new[](size_t size) throw(bad_alloc) 54 cerr << "new(size_t) leak\n"; 59 cerr << "new[](size_t) leak\n"; 70 scoped_ptr<A> a(new A); 72 scoped_ptr<A> a(new A); 83 scoped_array<A> b(new A[10]); 85 scoped_array<A> a(new A[10]);
|
/external/valgrind/main/massif/tests/ |
H A D | overloaded-new.cpp | 1 // operator new(unsigned) 2 // operator new[](unsigned) 3 // operator new(unsigned, std::nothrow_t const&) 4 // operator new[](unsigned, std::nothrow_t const&) 8 #include <new> 17 __attribute__((noinline)) void* operator new (std::size_t n) throw (std::bad_alloc) 22 __attribute__((noinline)) void* operator new (std::size_t n, std::nothrow_t const &) throw () 27 __attribute__((noinline)) void* operator new[] (std::size_t n) throw (std::bad_alloc) 32 __attribute__((noinline)) void* operator new[] (std::size_t n, std::nothrow_t const &) throw () 49 s* p1 = new [all...] |
/external/webkit/Source/WebCore/css/ |
H A D | StyleBase.cpp | 71 void* StyleBase::operator new(size_t size) 74 return ::operator new(size); 77 void* StyleBase::operator new[](size_t size) 80 return ::operator new[](size);
|
/external/chromium/base/allocator/ |
H A D | generic_allocators.cc | 6 // low-level functions malloc() and free(). This way, including a new 27 void* __cdecl operator new(size_t size) { 35 void* operator new[](size_t size) { 43 void* operator new(size_t size, const std::nothrow_t& nt) __THROW { 47 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW { 53 // If flag is 1, calls to malloc will behave like calls to new,
|
/external/webkit/Source/WebCore/xml/ |
H A D | XSLImportRule.h | 42 return adoptRef(new XSLImportRule(parentSheet, href)); 56 void* operator new(size_t size) { 57 return StyleBase::operator new(size); 59 void* operator new[](size_t size) { 60 return StyleBase::operator new[](size);
|
/external/icu4c/test/perf/perldriver/ |
H A D | Dataset.pm | 13 # Create a new Dataset with the given data. 14 sub new { subroutine 26 my $stats = Statistics::Descriptive::Full->new(); 69 # Divide two Datasets and return a new one, maintaining the 70 # mean+/-error. The new Dataset has no data points. 80 my $result = Dataset->new(); 87 # subtracts two Datasets and return a new one, maintaining the 88 # mean+/-error. The new Dataset has no data points. 93 my $result = Dataset->new(); 100 # adds two Datasets and return a new on [all...] |
/external/llvm/include/llvm/ |
H A D | GlobalAlias.h | 38 void *operator new(size_t s) { 39 return User::operator new(s, 1);
|
/external/llvm/include/llvm/Support/ |
H A D | RecyclingAllocator.h | 60 inline void *operator new(size_t,
|
/external/mesa3d/src/glsl/ |
H A D | glsl_symbol_table.h | 29 #include <new> 56 /* Callers of this hieralloc-based new need not call delete. It's 58 static void* operator new(size_t size, void *ctx)
|
/external/qemu/elff/ |
H A D | elf_alloc.cc | 39 /* Allocate new chunk. */
60 void* DwarfAllocBase::operator new(size_t size, const ElfFile* elf) {
|