/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/config/ |
_evc.h | 114 // when using MFC, disable another placement new declaration, since there is one in wcealt.h 223 /* Workaround when using MFCCE and using <new> together: MFCCE's wcealt.h doesn't 224 * check for __PLACEMENT_NEW_INLINE before defining operator new, so when <new> 226 * "function 'void *__cdecl operator new(unsigned int,void *)' already has a body". 245 // evc3 has new, but no explicit header 295 // define placement new and delete operator 296 // note: when MFCCE headers are included first, don't define the new operator, 301 inline void *__cdecl operator new(size_t, void *_P) { return (_P); }
|
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/config/ |
_evc.h | 114 // when using MFC, disable another placement new declaration, since there is one in wcealt.h 223 /* Workaround when using MFCCE and using <new> together: MFCCE's wcealt.h doesn't 224 * check for __PLACEMENT_NEW_INLINE before defining operator new, so when <new> 226 * "function 'void *__cdecl operator new(unsigned int,void *)' already has a body". 245 // evc3 has new, but no explicit header 295 // define placement new and delete operator 296 // note: when MFCCE headers are included first, don't define the new operator, 301 inline void *__cdecl operator new(size_t, void *_P) { return (_P); }
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
symtable.py | 23 def new(self, table, filename): member in class:SymbolTableFactory 34 obj = self.__memo[key] = self.new(table, filename) 211 """Returns true if name binding introduces new namespace. 218 objects, like an int or list, that does not introduce a new
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
symtable.py | 23 def new(self, table, filename): member in class:SymbolTableFactory 34 obj = self.__memo[key] = self.new(table, filename) 211 """Returns true if name binding introduces new namespace. 218 objects, like an int or list, that does not introduce a new
|
/system/core/liblinenoise/ |
linenoise.c | 301 /* Show the new entry */ 432 char **new; local 438 new = malloc(sizeof(char*)*len); 439 if (new == NULL) return 0; 441 memcpy(new,history+(history_max_len-tocopy), sizeof(char*)*tocopy); 443 history = new;
|
/system/core/libutils/ |
LinearAllocator.cpp | 95 void* operator new(size_t size, void* buf) { return buf; } 200 return new (buf) Page();
|
/system/core/toolbox/ |
mount.c | 75 char *new; local 77 new = realloc(extra->str, newlen + 1); /* +1 for NUL */ 78 if (!new) 81 extra->str = new;
|
/external/bison/lib/ |
hash.c | 559 /* Allocate and return a new hash table, or NULL upon failure. The initial 747 /* Get a new hash entry for a bucket overflow, possibly by recycling a 748 previously freed one. If this is not possible, allocate a new one. */ 753 struct hash_entry *new; local 757 new = table->free_entry_list; 758 table->free_entry_list = new->next; 763 new = obstack_alloc (&table->entry_stack, sizeof *new); 765 new = malloc (sizeof *new); [all...] |
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
goobsdiff.c | 157 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize) 162 if(old[i]!=new[i]) break; 168 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos) 173 x=matchlen(old+I[st],oldsize-I[st],new,newsize); 174 y=matchlen(old+I[en],oldsize-I[en],new,newsize); 186 if(memcmp(old+I[x],new,MIN(oldsize-I[x],newsize))<0) { 187 return search(I,old,oldsize,new,newsize,x,en,pos); 189 return search(I,old,oldsize,new,newsize,st,x,pos); 335 u_char *old,*new; local 371 ((new=malloc(newsize+1))==NULL) | [all...] |
/external/chromium_org/sandbox/win/src/ |
policy_engine_opcodes.h | 209 // Better define placement new in the class instead of relying on the 211 void* operator new(size_t, void* location) {
|
sandbox_nt_util.cc | 159 // Create a new heap using default values for everything. 243 *out_name = new(NT_ALLOC) wchar_t[size/sizeof(wchar_t)]; 349 new(NT_ALLOC) char[name_bytes]); 405 new(NT_ALLOC) char[buffer_bytes]); 461 char* str_buffer = new(NT_ALLOC) char[size_bytes + sizeof(UNICODE_STRING)]; 548 void* operator new(size_t size, sandbox::AllocationType type, 587 void* __cdecl operator new(size_t size, void* buffer,
|
/external/chromium_org/third_party/skia/src/core/ |
SkTLList.h | 16 inline void* operator new(size_t, SkTLList<T>* list, 87 /** Adds a new element to the list before the location indicated by the iterator. If the 88 iterator refers to a NULL location then the new element is added at the tail */ 93 /** Adds a new element to the list after the location indicated by the iterator. If the 94 iterator refers to a NULL location then the new element is added at the head */ 212 // For use with operator new 318 // Support in-place initializing of objects inserted into the list via operator new. 319 friend void* operator new<T>(size_t, 325 // Helpers that insert the node and returns a pointer to where the new object should be init'ed. 351 void *operator new(size_t, SkTLList<T>* list [all...] |
/external/chromium_org/tools/memory_watcher/ |
call_stack.cc | 167 symbol_cache_ = new SymbolCache(); 379 void* AllocationStack::operator new(size_t size) {
|
/external/chromium_org/v8/src/ |
object-observe.js | 35 observationState.pendingObservers = new InternalArray; 60 new ObservationWeakMap(observationState.callbackInfoMap); 61 var objectInfoMap = new ObservationWeakMap(observationState.objectInfoMap); 63 new ObservationWeakMap(observationState.notifierTargetMap); 67 changeObservers: new InternalArray, 69 inactiveObservers: new InternalArray, 79 'new': true, 210 callbackInfo = new InternalArray; 261 return ObjectObserve(object, callback, ['new', 440 observationState.pendingObservers = new InternalArray [all...] |
/external/clang/test/Analysis/ |
inline.cpp | 9 // This is the standard placement new. 10 inline void* operator new(size_t, void* __p) throw() 311 // use the proper region for operator new. 318 IntWrapper *obj = new IntWrapper(42); 326 IntWrapper *alias = new (obj) IntWrapper(42); 383 Grandchild *g = new (b) Grandchild();
|
/external/dnsmasq/src/ |
dhcp.c | 146 /* Very new Linux kernels return the actual size needed, 668 int count, new; local 709 (new = memcmp_masked(conf_addr->hwaddr, hwaddr, hw_len, conf_addr->wildcard_mask)) > count) 711 count = new;
|
network.c | 394 * to create just a single new listener dynamically when our interface 397 * iface - input of the new interface details to listen on 398 * listeners - output. Creates a new struct listener and inserts at head of the list 409 struct listener *new = safe_malloc(sizeof(struct listener)); local 410 new->family = iface->addr.sa.sa_family; 411 new->iface = iface; 412 new->next = *listeners; 413 new->tftpfd = -1; 414 new->tcpfd = -1; 415 new->fd = -1 817 struct server *new, *tmp, *ret = NULL; local [all...] |
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 709 struct myaddrs *new; local 711 new = dupmyaddr(p); 712 new->udp_encap = 1; 763 struct myaddrs *new; local 765 new = racoon_calloc(1, sizeof(*new)); 766 if (new == NULL) { 772 new->next = NULL; 773 new->addr = NULL; 775 return new; 781 struct myaddrs *new; local [all...] |
handler.c | 255 * create new isakmp Phase 1 status record to handle isakmp in Phase1 262 /* create new iph1 */ 281 * delete new isakmp Phase 1 status record to handle isakmp in Phase1 382 * create new isakmp Phase 1 status record to handle isakmp in Phase1 572 * create new isakmp Phase 2 status record to handle isakmp in Phase2 579 /* create new iph2 */ 648 * delete new isakmp Phase 2 status record to handle isakmp in Phase2 682 * create new isakmp Phase 2 status record to handle isakmp in Phase2 811 * create new isakmp Phase 2 status record to handle isakmp in Phase2 817 struct contacted *new; local 936 struct recvdpkt *new = NULL; local [all...] |
sockmisc.c | 840 struct sockaddr *new; local 842 if ((new = racoon_calloc(1, len)) == NULL) { 850 new->sa_family = AF_INET6; 852 new->sa_family = AF_INET; 855 new->sa_len = len; 858 return new;
|
/external/iptables/iptables/ |
iptables-xml.c | 78 /* global new argv and argc */ 535 unsigned int new = 0; local 539 while (new < newargc && old < oldargc) { 540 if (isTarget(oldargv[old]) && isTarget(newargv[new])) { 556 // break when old!=new 557 if (strcmp(oldargv[old], newargv[new]) != 0) { 563 new++; 689 /* New table */ 704 /* New chain. */ 718 DEBUGP("Creating new chain '%s'\n", chain) [all...] |
/external/linux-tools-perf/ |
builtin-help.c | 142 char *new = strdup(path); local 143 char *dest = strrchr(new, '/'); 147 path = new; 197 struct man_viewer_info_list *new = zalloc(sizeof(*new) + len + 1); local 199 strncpy(new->name, name, len); 200 new->info = strdup(value); 201 new->next = man_viewer_info_list; 202 man_viewer_info_list = new;
|
/external/linux-tools-perf/util/ |
map.c | 409 * Now check if we need to create new maps for areas not 410 * overlapped by the new map: 464 struct map *new = map__clone(map); local 465 if (new == NULL) 467 map_groups__insert(self, new);
|
/external/llvm/include/llvm/IR/ |
Constants.h | 53 void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION; 59 void *operator new(size_t s) { 60 return User::operator new(s, 0); 235 void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION; 242 void *operator new(size_t s) { 243 return User::operator new(s, 0); 298 void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION; 305 void *operator new(size_t s) { 306 return User::operator new(s, 0); 484 void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION [all...] |
InstrTypes.h | 90 void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION; 104 void *operator new(size_t s) { 105 return User::operator new(s, 1); 139 void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION; 149 void *operator new(size_t s) { 150 return User::operator new(s, 2); 407 /// insert the new CastInst before InsertBefore (if it is non-null). 419 /// to automatically insert the new CastInst at the end of InsertAtEnd (if 634 void *operator new(size_t, unsigned) LLVM_DELETED_FUNCTION; 688 void *operator new(size_t s) [all...] |