| /external/chromium/base/allocator/ |
| 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/css/ |
| CSSImportRule.cpp | 174 void* CSSImportRule::operator new(size_t size) 176 return StyleBase::operator new(size); 179 void* CSSImportRule::operator new[](size_t size) 181 return StyleBase::operator new[](size);
|
| /external/icu4c/test/perf/perldriver/ |
| 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 one, maintaining th [all...] |
| /external/ipsec-tools/src/racoon/ |
| genlist.c | 44 struct genlist *new = calloc(sizeof(struct genlist), 1); local 45 TAILQ_INIT(new); 46 return new;
|
| 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/llvm/include/llvm/Support/ |
| RecyclingAllocator.h | 60 inline void *operator new(size_t,
|
| /external/llvm/lib/VMCore/ |
| User.cpp | 46 Use *Begin = static_cast<Use*>(::operator new(size)); 48 (void) new(End) Use::UserRef(const_cast<User*>(this), 1); 53 // User operator new Implementations 56 void *User::operator new(size_t s, unsigned Us) { 57 void *Storage = ::operator new(s + sizeof(Use) * Us);
|
| /external/qemu/ |
| qemu-malloc.c | 87 char *new; local 93 new = qemu_malloc(size + 1); 94 new[size] = 0; 96 return memcpy(new, str, size);
|
| /external/valgrind/main/memcheck/tests/ |
| new_override.cpp | 9 void *operator new[](size_t size) 22 toto = new Test[2];
|
| /external/webkit/Source/WebCore/ |
| WebCorePrefix.h | 24 * 3) the special trick to catch us using new or delete without including "config.h" 96 #include <new> 126 // We can remove this once the new ColorSync APIs are available in an internal Safari SDK. 147 #define new ("if you use new/delete make sure to include config.h at the top of the file"()) macro 148 #define delete ("if you use new/delete make sure to include config.h at the top of the file"())
|
| /external/webkit/Source/WebCore/bindings/scripts/ |
| IDLParser.pm | 47 sub new subroutine 217 my $newDataNode = new domAttribute(); 219 $newDataNode->signature(new domSignature()); 279 my $newDataNode = new domAttribute(); 281 $newDataNode->signature(new domSignature()); 310 my $newDataNode = new domFunction(); 312 $newDataNode->signature(new domSignature()); 337 my $paramDataNode = new domSignature(); 358 my $newDataNode = new domConstant(); 404 $document = new idlDocument() [all...] |
| /external/webkit/Source/WebCore/rendering/ |
| LayoutState.cpp | 83 // If we establish a new page height, then cache the offset to the top of the first page. 91 // If we don't establish a new page height, then propagate the old page height and offset down. 147 void* LayoutState::operator new(size_t sz, RenderArena* renderArena) throw()
|
| /external/webkit/Source/JavaScriptCore/wtf/wince/ |
| FastMallocWinCE.h | 25 #include <new.h> 28 #include <new> 70 static inline void* __cdecl operator new(size_t s) { return fastMalloc(s); } 72 static inline void* __cdecl operator new[](size_t s) { return fastMalloc(s); } 74 static inline void* operator new(size_t s, const std::nothrow_t&) throw() { return fastMalloc(s); } 76 static inline void* operator new[](size_t s, const std::nothrow_t&) throw() { return fastMalloc(s); } 88 AllocTypeClassNew, // Encompasses class operator new from FastAllocBase. 89 AllocTypeClassNewArray, // Encompasses class operator new[] from FastAllocBase. 92 AllocTypeNew, // Encompasses global operator new. 93 AllocTypeNewArray // Encompasses global operator new[] [all...] |
| /external/webkit/Source/WebCore/dom/ |
| ProcessingInstruction.cpp | 55 return adoptRef(new ProcessingInstruction(document, target, data)); 301 void* ProcessingInstruction::operator new(size_t size) 303 return Node::operator new(size); 306 void* ProcessingInstruction::operator new[](size_t size) 308 return Node::operator new[](size);
|
| /external/webkit/Source/WebCore/html/ |
| HTMLCanvasElement.h | 132 void* operator new(size_t size) { 133 return HTMLElement::operator new(size); 135 void* operator new[](size_t size) { 136 return HTMLElement::operator new[](size);
|
| /bionic/libc/netbsd/isc/ |
| ev_streams.c | 65 evStream *new; local 68 OKNEW(new); 69 new->func = func; 70 new->uap = uap; 71 new->fd = fd; 72 new->flags = 0; 73 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) 75 if (copyvec(new, iov, iocnt) < 0) 77 new->prevDone = NULL 99 evStream *new; local [all...] |
| /external/chromium/testing/gtest/samples/ |
| sample10_unittest.cc | 55 // operator new and operator delete help us control water allocation. 56 void* operator new(size_t allocation_size) { 100 Water* water = new Water; 107 Water* water = new Water; 140 // We don't need to worry about deleting the new listener later, as 142 listeners.Append(new LeakChecker);
|
| /external/llvm/include/llvm/ |
| GlobalVariable.h | 37 void *operator new(size_t, unsigned); // Do not implement 48 void *operator new(size_t s) { 49 return User::operator new(s, 1);
|
| /external/protobuf/gtest/samples/ |
| sample10_unittest.cc | 55 // operator new and operator delete help us control water allocation. 56 void* operator new(size_t allocation_size) { 100 Water* water = new Water; 107 Water* water = new Water; 140 // We don't need to worry about deleting the new listener later, as 142 listeners.Append(new LeakChecker);
|
| /external/qemu/elff/ |
| elf_alloc.h | 70 * will use overwritten operators new/delete for the DWARF objects that use
107 * protection from mistakenly using "traditional" operator 'new' for object
120 /* Main operator new.
129 void* operator new(size_t size, const ElfFile* elf);
134 * operator in order to compliment overwritten operator 'new'.
142 * operator in order to compliment overwritten operator 'new'.
148 /* Default operator new.
151 * of operator 'new'.
153 void* operator new(size_t size) throw() {
|
| /external/v8/src/ |
| allocation.cc | 37 void* Malloced::New(size_t size) { 40 v8::internal::FatalProcessOutOfMemory("Malloced operator new"); 60 void* Embedded::operator new(size_t size) { 71 void* AllStatic::operator new(size_t size) {
|
| zone-inl.h | 50 inline void* Zone::New(int size) { 69 return static_cast<T*>(New(length * sizeof(T))); 93 // TODO(isolates): for performance reasons, this should be replaced with a new 96 void* ZoneObject::operator new(size_t size) { 97 return ZONE->New(static_cast<int>(size)); 100 void* ZoneObject::operator new(size_t size, Zone* zone) { 101 return zone->New(static_cast<int>(size)); 105 inline void* ZoneListAllocationPolicy::New(int size) { 106 return ZONE->New(size);
|
| /external/webkit/Source/JavaScriptCore/ |
| config.h | 97 #undef new macro
|
| /ndk/sources/host-tools/ndk-stack/elff/ |
| elf_alloc.h | 70 * will use overwritten operators new/delete for the DWARF objects that use 107 * protection from mistakenly using "traditional" operator 'new' for object 120 /* Main operator new. 129 void* operator new(size_t size, const ElfFile* elf); 134 * operator in order to compliment overwritten operator 'new'. 142 * operator in order to compliment overwritten operator 'new'. 148 /* Default operator new. 151 * of operator 'new'. 153 void* operator new(size_t size) throw() {
|
| /system/core/sh/ |
| nodes.c | 213 union node *new; local 217 new = funcblock; 225 new->nbinary.ch2 = copynode(n->nbinary.ch2); 226 new->nbinary.ch1 = copynode(n->nbinary.ch1); 229 new->ncmd.redirect = copynode(n->ncmd.redirect); 230 new->ncmd.args = copynode(n->ncmd.args); 231 new->ncmd.backgnd = n->ncmd.backgnd; 234 new->npipe.cmdlist = copynodelist(n->npipe.cmdlist); 235 new->npipe.backgnd = n->npipe.backgnd; 240 new->nredir.redirect = copynode(n->nredir.redirect) [all...] |