/external/v8/src/ |
allocation.cc | 38 void* Malloced::New(size_t size) { 41 v8::internal::FatalProcessOutOfMemory("Malloced operator new"); 61 void* Embedded::operator new(size_t size) { 72 void* AllStatic::operator new(size_t size) {
|
allocation.h | 41 // Superclass for classes managed with new & delete. 44 void* operator new(size_t size) { return New(size); } 48 static void* New(size_t size); 55 // superclass. The macro prevents the use of new & delete in debug mode. 63 void* operator new(size_t size); 76 void* operator new(size_t size); 84 T* result = new T[size]; 97 // and StrNDup uses new and calls the FatalProcessOutOfMemory handler 107 INLINE(static void* New(size_t size)) { return Malloced::New(size); [all...] |
/external/webkit/Source/JavaScriptCore/ |
config.h | 97 #undef new macro
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.threads/thread.thread.class/thread.thread.constr/ |
F.pass.cpp | 17 #include <new> 23 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/ |
swap.pass.cpp | 18 #include <new> 24 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/ |
swap.pass.cpp | 17 #include <new> 23 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
make_shared.pass.cpp | 17 #include <new> 23 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/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...] |
/external/bsdiff/ |
bspatch.c | 67 u_char *old, *new; local 142 if((new=malloc(newsize+1))==NULL) err(1,NULL); 160 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new + newpos, ctrl[0]); 168 new[newpos+i]+=old[oldpos+i]; 179 lenread = BZ2_bzRead(&ebz2err, epfbz2, new + newpos, ctrl[1]); 196 /* Write the new file */ 198 (write(fd,new,newsize)!=newsize) || (close(fd)==-1)) 201 free(new);
|
/external/clang/include/clang/AST/ |
Attr.h | 57 void* operator new(size_t bytes) throw() { 58 llvm_unreachable("Attrs cannot be allocated with regular 'new'."); 65 // Forward so that the regular new and delete do not hide global ones. 66 void* operator new(size_t Bytes, ASTContext &C, 68 return ::operator new(Bytes, C, Alignment);
|
/external/clang/test/CXX/expr/expr.unary/expr.new/ |
p20.cpp | 8 static void* operator new(size_t); 15 new X0<1>; // expected-note{{instantiation}} 23 static void* operator new(size_t); 30 new X1<1>; // expected-note{{instantiation}} 33 // Overloaded operator delete for placement new 38 static void* operator new(size_t, double, double); 39 static void* operator new(size_t, int, int); 49 new (0, 0) X2<1>; // expected-note{{instantiation}} 52 // Operator delete template for placement new 56 static void* operator new(size_t, double, double) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
alloc.c | 2 * alloc.c --- allocate new inodes, blocks for ext2fs 203 blk64_t new; local 205 retval = (fs->get_alloc_block)(fs, (blk64_t) goal, &new); 208 block = (blk_t) new;
|
/external/ipsec-tools/src/racoon/ |
isakmp_unity.c | 268 struct isakmp_data *new; local 282 new = (struct isakmp_data *)buffer->v; 283 new->type = attr->type; 284 new->lorv = htons(len); 286 network = (struct unity_network *)(new + 1); 311 * allocate new netentry and copy 312 * new splitnet network data
|
vendorid.c | 188 vchar_t vid, *new; local
|
/external/llvm/include/llvm/IR/ |
GlobalVariable.h | 37 void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION; 54 void *operator new(size_t s) { 55 return User::operator new(s, 1);
|
/external/openssh/ |
monitor_mm.c | 291 struct mm_share *mms, *new; local 299 new = mm_xmalloc(mmalloc, sizeof(struct mm_share)); 300 memcpy(new, mms, sizeof(struct mm_share)); 301 RB_INSERT(mmtree, newtree, new);
|
/external/qemu/ |
async.c | 39 * To achieve the desired semantics we switch into a new AsyncContext. 62 * Enter a new AsyncContext. Already scheduled Bottom Halves and AIO callbacks 67 struct AsyncContext *new = qemu_mallocz(sizeof(*new)); local 68 new->parent = async_context; 69 new->id = async_context->id + 1; 70 async_context = new;
|
path.c | 51 struct pathelem *new = malloc(sizeof(*new)); local 52 new->name = strdup(name); 53 if (asprintf(&new->pathname, "%s/%s", root, name) == -1) { 57 new->num_entries = 0; 58 return new;
|
/external/quake/quake/src/QW/client/ |
d_surf.c | 131 surfcache_t *new;
local 162 new = sc_rover;
166 while (new->size < size)
175 new->size += sc_rover->size;
176 new->next = sc_rover->next;
180 if (new->size - size > 256)
182 sc_rover = (surfcache_t *)( (byte *)new + size);
183 sc_rover->size = new->size - size;
184 sc_rover->next = new->next;
187 new->next = sc_rover; [all...] |
/external/skia/bench/ |
GrMemoryPoolBench.cpp | 17 // change this to 0 to compare GrMemoryPool to default new / delete 24 void* operator new (size_t size) { return gPool.allocate(size); } 76 objects[count] = new A; 115 objects[idx].reset(new A); 149 objects[i] = new A; 163 static SkBenchmark* Fact1(void* p) { return new GrMemoryPoolBenchStack(p); } 164 static SkBenchmark* Fact2(void* p) { return new GrMemoryPoolBenchRandom(p); } 165 static SkBenchmark* Fact3(void* p) { return new GrMemoryPoolBenchQueue(p); }
|
/external/skia/legacy/include/core/ |
SkPostConfig.h | 88 #define SkNEW(type_name) new type_name 89 #define SkNEW_ARGS(type_name, args) new type_name args 90 #define SkNEW_ARRAY(type_name, count) new type_name[count] 243 void * operator new( 250 void * operator new[]( 265 #define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__, 0) 267 #define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__) 269 #define new DEBUG_CLIENTBLOCK macro
|
/external/skia/src/gpu/ |
GrEffect.cpp | 71 void* GrEffectRef::operator new(size_t size) { 93 void* GrEffect::operator new(size_t size) {
|
/external/srtp/crypto/kernel/ |
crypto_kernel.c | 334 /* set head of list to new cipher type */ 379 /* set head of list to new auth type */ 470 kernel_debug_module_t *kdm, *new; local 486 new = (kernel_debug_module_t *)crypto_alloc(sizeof(kernel_debug_module_t)); 487 if (new == NULL) 491 new->mod = new_dm; 492 new->next = crypto_kernel.debug_module_list; 494 /* set head of list to new cipher type */ 495 crypto_kernel.debug_module_list = new;
|
/external/stlport/stlport/stl/ |
_construct.h | 84 #if defined (new) 85 # define _STLP_NEW_REDEFINE new 86 # undef new macro 91 new(__p) _T1(); 119 new(__p) _Tp(__val); 139 new(__p) _T1(__val); 160 new(__p) _T1(_STLP_PRIV _AsMoveSource(__val)); 183 # define new DEBUG_NEW macro
|