HomeSort by relevance Sort by last modified time
    Searched defs:new (Results 101 - 125 of 307) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/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) {
99 Water* water = new Water;
106 Water* water = new Water;
139 // We don't need to worry about deleting the new listener later, as
141 listeners.Append(new LeakChecker);
  /external/chromium_org/third_party/WebKit/Source/wtf/
StdLibExtras.h 37 static type& name = *new type arguments
141 // This version of placement new omits a 0 check.
143 inline void* operator new(size_t, NotNullTag, void* location)
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_fs_cfg.h 42 static void* operator new(size_t size, void *ctx)
71 static void* operator new(size_t size, void *ctx)
  /external/chromium_org/third_party/re2/util/
arena.h 6 // objects. Doing this the usual way (malloc, new) is slow,
14 // The global operator new that can be used as follows:
19 // Foo* foo = new (AllocateInArena, &arena) Foo;
38 // default alignment of 8, but ::operator new() uses alignment of 4,
90 // Syntax: new (AllocateInArena, arena) MyClass;
96 inline void* operator new(size_t size,
  /external/chromium_org/third_party/skia/src/gpu/
GrProcessor.cpp 72 void* GrProcessor::operator new(size_t size) {
  /external/chromium_org/v8/src/
allocation.cc 20 void* Malloced::New(size_t size) {
23 v8::internal::FatalProcessOutOfMemory("Malloced operator new");
43 void* Embedded::operator new(size_t size) {
54 void* AllStatic::operator new(size_t size) {
typing.h 27 void* operator new(size_t size, Zone* zone) {
28 return zone->New(static_cast<int>(size));
  /external/libcxx/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)
  /external/libcxx/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)
  /external/libcxx/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)
  /external/libcxx/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)
  /external/llvm/include/llvm/IR/
GlobalVariable.h 
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_fs_cfg.h 42 static void* operator new(size_t size, void *ctx)
71 static void* operator new(size_t size, void *ctx)
  /external/chromium_org/v8/test/webkit/fast/js/
Object-getOwnPropertyNames.js 38 "new Function()": "['arguments', 'caller', 'length', 'name', 'prototype']",
39 "(function(){var x=new Function();x.__proto__=[1,2,3];return x;})()": "['arguments', 'caller', 'length', 'name', 'prototype']",
41 "new String('')": "['length']",
42 "new String('a')": "['0', 'length']",
43 "new String('abc')": "['0', '1', '2', 'length']",
44 "(function(){var x=new String('');x.__proto__=[1,2,3];return x;})()": "['length']",
52 "new Date()": "[]",
53 "(function(){var x=new Date();x.__proto__=[1,2,3];return x;})()": "[]",
55 "new RegExp('foo')": "['global', 'ignoreCase', 'lastIndex', 'multiline', 'source']",
56 "(function(){var x=new RegExp();x.__proto__=[1,2,3];return x;})()": "['global', 'ignoreCase', 'lastIndex', 'multiline', ' (…)
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/net/
inet_pton.c 86 u_int new = *tp * 10 + (pch - digits); local
88 if (new > 255)
95 *tp = new;
  /external/bsdiff/
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/ppapi/native_client/src/untrusted/nacl_ppapi_util/
nacl_ppapi_util.h 176 void *operator new(size_t size) { return g_void_result; }
  /external/chromium_org/third_party/WebKit/Source/core/dom/
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/
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_ctx) symbol_table_entry(f)
    [all...]
  /external/chromium_org/third_party/skia/bench/
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 GrMemoryPoolBenchQueue();
    [all...]
  /external/chromium_org/third_party/skia/include/core/
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_ptr) type_name args
    [all...]
  /external/chromium_org/third_party/skia/include/gpu/
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/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/include/clang/Analysis/Analyses/
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/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...]

Completed in 1174 milliseconds

1 2 3 45 6 7 8 91011>>