/external/skia/include/core/ |
H A D | 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/v8/src/ |
H A D | allocation.cc | 41 v8::internal::FatalProcessOutOfMemory("Malloced operator new"); 61 void* Embedded::operator new(size_t size) { 72 void* AllStatic::operator new(size_t size) {
|
H A D | allocation.h | 41 // Superclass for classes managed with new & delete. 44 void* operator new(size_t size) { return New(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
|
H A D | zone-inl.h | 97 // TODO(isolates): for performance reasons, this should be replaced with a new 100 void* ZoneObject::operator new(size_t size) { 104 void* ZoneObject::operator new(size_t size, Zone* zone) { 115 void* ZoneList<T>::operator new(size_t size) { 121 void* ZoneList<T>::operator new(size_t size, Zone* zone) {
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | BumpPointerAllocator.h | 39 // allocate a new pool (which will be added to this one in a chain). 90 // Placement operator new, returns the last 'size' bytes of allocation for use as this. 91 void* operator new(size_t size, const PageAllocation& allocation) 124 return new(allocation) BumpPointerPool(allocation); 154 // We've run to the end; allocate a new pool.
|
H A D | FastMalloc.h | 27 #include <new> 99 AllocTypeClassNew, // Encompasses class operator new from FastAllocBase. 100 AllocTypeClassNewArray, // Encompasses class operator new[] from FastAllocBase. 103 AllocTypeNew, // Encompasses global operator new. 104 AllocTypeNewArray // Encompasses global operator new[]. 113 // allocation operation. If memory is allocated with operator new[] 217 // new by accident. 225 WTF_PRIVATE_INLINE void* operator new(size_t size) throw (std::bad_alloc) { return fastMalloc(size); } 226 WTF_PRIVATE_INLINE void* operator new(size_t size, const std::nothrow_t&) throw() { return fastMalloc(size); } 229 WTF_PRIVATE_INLINE void* operator new[](size_ [all...] |
/external/webkit/Source/WebCore/bindings/scripts/ |
H A D | CodeGeneratorCPP.pm | 92 sub new subroutine 635 push(@implContent, " , m_impl(new ${className}Private(impl))\n"); 642 push(@implContent, " m_impl = copy.impl() ? new ${className}Private(copy.impl()) : 0;\n"); 648 push(@implContent, " m_impl = copy.impl() ? new ${className}Private(copy.impl()) : 0;\n"); 749 my $argName = "new" . ucfirst($attributeName); 797 # make a new parameter name if the original conflicts with a property name
|
H A D | CodeGeneratorObjC.pm | 193 sub new subroutine 270 # If this class was not found in PublicDOMInterfaces.h then it should be considered as an entirely new public class. 833 my $setter = "- (void)$setterName(" . $attributeType . ")new" . ucfirst($attributeName) . $declarationSuffix; 1370 my $argName = "new" . ucfirst($attributeInterfaceName); 1461 # make a new parameter name if the original conflicts with a property name 1554 # make a new parameter name if the original conflicts with a property name
|
/external/webkit/Source/WebCore/rendering/ |
H A D | 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/WebKit2/ |
H A D | config.h | 137 // Helps us catch if anyone uses new or delete by accident in code and doesn't include "config.h". 138 #undef new macro
|
/external/webkit/Tools/DumpRenderTree/ |
H A D | config.h | 57 #undef new macro
|
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/ |
H A D | CodeGeneratorTestRunner.pm | 30 sub new subroutine
|
/external/webkit/Tools/android/flex-2.5.4a/MISC/Macintosh/ |
H A D | alloca.c | 180 register pointer new = xmalloc (sizeof (header) + size); local 184 ((header *)new)->h.next = last_alloca_header; 185 ((header *)new)->h.deep = depth; 187 last_alloca_header = (header *)new; 191 return (pointer)((char *)new + sizeof(header));
|
/external/stlport/test/eh/ |
H A D | nc_alloc.cpp | 21 # include <new> 27 # include <new.h> 205 void* _STLP_CALL operator new(size_t s) 212 void* _STLP_CALL operator new(size_t size, const EH_STD::nothrow_t&) throw() { 223 void* _STLP_CALL operator new[](size_t size ) throw(EH_STD::bad_alloc) { 228 void* _STLP_CALL operator new[](size_t size, const EH_STD::nothrow_t&) throw() {
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
H A D | template.rb | 16 @template_library ||= ANTLR3::Template::Group.new 40 self.class.template_library or ANTLR3::Template::Group.new 49 @templates.new( source, values ) 69 when TokenSource then TokenRewriteStream.new( input, options ) 72 TokenRewriteStream.new( lexer_class.new( input, options ), options ) 96 lexer = Lexer.new( source, options ) 97 parser = Parser.new( lexer, options ) 109 input = ANTLR3::FileStream.new( group_file, options ) 110 lexer = Lexer.new( inpu 115 def self.new( &block ) singleton method in class:ANTLR3.Template.Group 122 def new( source, values = {} ) method in class:ANTLR3.Template.Group [all...] |
/external/blktrace/btt/ |
H A D | list.h | 50 * Insert a new entry between two known consecutive entries. 55 static inline void __list_add(struct list_head *new, argument 59 next->prev = new; 60 new->next = next; 61 new->prev = prev; 62 prev->next = new; 66 * list_add - add a new entry 67 * @new: new entry to be added 70 * Insert a new entr 73 list_add(struct list_head *new, struct list_head *head) argument 86 list_add_tail(struct list_head *new, struct list_head *head) argument 223 list_replace(struct list_head *old, struct list_head *new) argument 232 list_replace_init(struct list_head *old, struct list_head *new) argument [all...] |
/external/bsdiff/ |
H A D | 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/chromium/chrome/browser/sync/syncable/ |
H A D | directory_manager.h | 125 void* operator new(size_t size) { return (::operator new)(size); }
|
/external/clang/test/SemaTemplate/ |
H A D | example-dynarray.cpp | 6 // Placement new requires <new> to be included, but we don't support that yet. 7 void* operator new(size_t, void* ptr) throw() { 23 new (Start + I) T(other[I]); 37 new (NewStart + I) T(other[I]); 105 new (NewStart + I) T(Start[I]); 116 new (Last) T(value);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | 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/ |
H A D | policy.c | 292 struct secpolicy *new; local 294 new = racoon_calloc(1, sizeof(*new)); 295 if (new == NULL) 298 return new; 381 inssp(new) 382 struct secpolicy *new; 388 if (new->spidx.priority < p->spidx.priority) { 389 TAILQ_INSERT_BEFORE(p, new, chain); 395 TAILQ_INSERT_TAIL(&sptree, new, chai 428 struct ipsecrequest *new; local [all...] |
H A D | sainfo.c | 166 struct sainfo *new; local 168 new = racoon_calloc(1, sizeof(*new)); 169 if (new == NULL) 172 new->lifetime = IPSECDOI_ATTR_SA_LD_SEC_DEFAULT; 173 new->lifebyte = IPSECDOI_ATTR_SA_LD_KB_MAX; 175 return new; 201 inssainfo(new) 202 struct sainfo *new; 204 LIST_INSERT_HEAD(&sitree, new, chai 235 struct sainfoalg *new; local [all...] |
H A D | schedule.c | 124 * add new schedule to schedule table. 133 struct sched *new; local 135 new = (struct sched *)racoon_malloc(sizeof(*new)); 136 if (new == NULL) 139 memset(new, 0, sizeof(*new)); 140 new->func = func; 141 new->param = param; 143 new 232 caddr_t new; local [all...] |
/external/kernel-headers/original/asm-x86/ |
H A D | cmpxchg_32.h | 120 unsigned long new, int size) 127 : "q"(new), "m"(*__xg(ptr)), "0"(old) 133 : "r"(new), "m"(*__xg(ptr)), "0"(old) 139 : "r"(new), "m"(*__xg(ptr)), "0"(old) 153 unsigned long new, int size) 160 : "q"(new), "m"(*__xg(ptr)), "0"(old) 166 : "r"(new), "m"(*__xg(ptr)), "0"(old) 172 : "r"(new), "m"(*__xg(ptr)), "0"(old) 180 unsigned long old, unsigned long new, int size) 187 : "q"(new), " 119 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) argument 151 __sync_cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) argument 179 __cmpxchg_local(volatile void *ptr, unsigned long old, unsigned long new, int size) argument 217 cmpxchg_386(volatile void *ptr, unsigned long old, unsigned long new, int size) argument 255 __cmpxchg64(volatile void *ptr, unsigned long long old, unsigned long long new) argument 269 __cmpxchg64_local(volatile void *ptr, unsigned long long old, unsigned long long new) argument [all...] |
/external/libsepol/src/ |
H A D | users.c | 122 int new = 0; local 148 /* Otherwise, create a new one */ 154 new = 1; 226 /* If there are no errors, and this is a new user, add the user to policy */ 227 if (new) { 280 if (new && usrdatum) {
|