/external/valgrind/main/drd/tests/ |
H A D | annotate_sem.c | 40 unsigned old, new; local 46 new = old - 1; 49 } while (!old || !__sync_bool_compare_and_swap(&p->value, old, new));
|
/external/clang/test/CodeGenCXX/ |
H A D | dllexport-members.cpp | 426 __declspec(dllexport) void* operator new(__SIZE_TYPE__); 427 __declspec(dllexport) void* operator new[](__SIZE_TYPE__); 436 void* ExportAlloc::operator new(__SIZE_TYPE__ n) { return malloc(n); } 442 void* ExportAlloc::operator new[](__SIZE_TYPE__ n) { return malloc(n); }
|
/external/pdfium/core/src/fxcrt/ |
H A D | fx_basic_memmgr.cpp | 162 void* CFX_Object::operator new(size_t size)
166 void* CFX_Object::operator new[](size_t size)
170 void* CFX_Object::operator new[](size_t size, FX_LPCSTR file, int line)
174 void* CFX_Object::operator new(size_t size, FX_LPCSTR file, int line)
194 void* CFX_AllocObject::operator new(size_t size, IFX_Allocator* pAllocator, FX_LPCSTR filename, int line)
209 void* CFX_AllocObject::operator new(size_t size, IFX_Allocator* pAllocator)
|
/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); 165 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new + newpos, ctrl[0]); 173 new[newpos+i]+=old[oldpos+i]; 184 lenread = BZ2_bzRead(&ebz2err, epfbz2, new + newpos, ctrl[1]); 201 /* Write the new file */ 203 (write(fd,new,newsize)!=newsize) || (close(fd)==-1)) 206 free(new);
|
/external/chromium_org/courgette/ |
H A D | memory_monitor.cc | 116 void* operator new(size_t s) {
|
/external/chromium_org/ppapi/native_client/src/untrusted/nacl_ppapi_util/ |
H A D | nacl_ppapi_util.h | 176 void *operator new(size_t size) { return g_void_result; }
|
/external/chromium_org/third_party/WebKit/Source/ |
H A D | config.h | 134 // Helps us catch if anyone uses new or delete by accident in code and doesn't include "config.h". 135 #undef new macro
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | ElementData.h | 137 // Add support for placement new as ShareableElementData is not allocated 140 // with the computed size and subsequently call placement new with the 142 void* operator new(std::size_t, void* location)
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
H A D | glsl_symbol_table.cpp | 29 /* Callers of this ralloc-based new need not call delete. It's 31 static void* operator new(size_t size, void *ctx) 97 /* If not declared at this scope, add a new entry. But if an existing 99 * the new variable declaration would shadow the function. 101 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(v); 113 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(v); 119 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(t); 133 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(f); 139 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(u); 145 symbol_table_entry *entry = new(mem_ct [all...] |
H A D | loop_analysis.h | 144 static void* operator new(size_t size, void *ctx)
|
/external/chromium_org/third_party/skia/bench/ |
H A D | GrMemoryPoolBench.cpp | 17 // change this to 0 to compare GrMemoryPool to default new / delete 23 void* operator new (size_t size) { return gBenchPool.allocate(size); } 69 objects[count] = new A; 85 void* operator new (size_t size) { return gBenchPool.allocate(size); } 116 objects[idx].reset(new B); 130 void* operator new (size_t size) { return gBenchPool.allocate(size); } 160 objects[i] = new C; 174 DEF_BENCH( return new GrMemoryPoolBenchStack(); ) 175 DEF_BENCH( return new GrMemoryPoolBenchRandom(); ) 176 DEF_BENCH( return new GrMemoryPoolBenchQueu [all...] |
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkTLazy.h | 15 #include <new> 18 template <typename T> void* operator new(size_t, SkTLazy<T>* lazy); 30 fPtr = new (fStorage) T(*src); 36 fPtr = new (fStorage) T(*src->get()); 58 fPtr = new (SkTCast<T*>(fStorage)) T; 72 fPtr = new (SkTCast<T*>(fStorage)) T(src); 106 friend void* operator new<T>(size_t, SkTLazy* lazy); 113 template <typename T> void* operator new(size_t, SkTLazy<T>* lazy) { 120 // to match the op new silences warnings about missing op delete when a constructor throws an 125 #define SkNEW_IN_TLAZY(tlazy_ptr, type_name, args) (new (tlazy_pt [all...] |
/external/chromium_org/third_party/skia/include/gpu/ |
H A D | GrProcessor.h | 109 void* operator new(size_t size); 112 void* operator new(size_t size, void* placement) { 113 return ::operator new(size, placement);
|
/external/chromium_org/third_party/skia/tools/lua/ |
H A D | skia.lua | 23 function Sk.Rect.new(l, t, r, b)
|
/external/chromium_org/tools/emacs/ |
H A D | trybot.el | 96 (defun trybot-get-new-buffer () 97 "Get a new clean buffer for trybot output." 126 (buffer (trybot-get-new-buffer))
|
/external/chromium_org/v8/src/ |
H A D | typing.h | 27 void* operator new(size_t size, Zone* zone) {
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyUtil.h | 67 inline void *operator new(size_t Sz, 226 Data = new VectorData(); 244 Data = new VectorData(); 250 Data = new VectorData(*Data); 283 // Push a new element onto the end. The vector must be writable.
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | rbtree.c | 304 * both the new entry and any damage done by rebalance 430 void ext2fs_rb_replace_node(struct rb_node *victim, struct rb_node *new, argument 438 parent->rb_left = new; 440 parent->rb_right = new; 442 root->rb_node = new; 445 ext2fs_rb_set_parent(victim->rb_left, new); 447 ext2fs_rb_set_parent(victim->rb_right, new); 450 *new = *victim;
|
/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/libnl/lib/ |
H A D | object.c | 38 * Allocate a new object of kind specified by the operations handle 40 * @return The new object or NULL 44 struct nl_object *new; local 46 if (ops->oo_size < sizeof(*new)) 49 new = calloc(1, ops->oo_size); 50 if (!new) 53 new->ce_refcnt = 1; 54 nl_init_list_head(&new->ce_list); 56 new->ce_ops = ops; 58 ops->oo_constructor(new); 96 struct nl_object *new; local [all...] |