HomeSort by relevance Sort by last modified time
    Searched defs:new (Results 201 - 225 of 437) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/qemu/
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/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/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);
96 friend void* operator new<T>(size_t, SkTLazy* lazy);
103 template <typename T> void* operator new(size_t, SkTLazy<T>* lazy) {
110 // to match the op new silences warnings about missing op delete when a constructor throws an
115 #define SkNEW_IN_TLAZY(tlazy_ptr, type_name, args) (new (tlazy_ptr) type_name args
    [all...]
  /external/skia/src/gpu/
GrEffect.cpp 71 void* GrEffectRef::operator new(size_t size) {
98 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
  /external/v8/src/
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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/
construct.pass.cpp 16 #include <new>
22 void* operator new(std::size_t s) throw(std::bad_alloc)
  /ndk/sources/cxx-stl/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
  /ndk/sources/host-tools/make-3.81/
ar.c 222 struct nameseq *new = (struct nameseq *) xmalloc (state->size);
223 new->name = concat (state->arname, mem, ")");
224 new->next = state->chain;
225 state->chain = new;
219 struct nameseq *new = (struct nameseq *) xmalloc (state->size); local
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/
sp_counted_impl.hpp 88 void * operator new( std::size_t )
102 void * operator new( std::size_t )
158 void * operator new( std::size_t )
172 void * operator new( std::size_t )
  /ndk/tests/device/test-stlport_shared-exception/jni/
delete2.cpp 12 void * operator new (size_t size)
49 f1 (::new D);
50 f2 (::new D);
51 f3 (::new D);
new1_3.cpp 6 // egcs 2.92 performs cleanup for temporaries inside new expressions
7 // after the new is complete, not at the end of the full expression.
10 // the result should be "ctor, new, func, dtor". If the new operator throws
11 // the exception, then the result should be "ctor, new, dtor". If the
15 // In Clang, the new operator is called first. If no exception is raised,
16 // then the result should be "new, ctor, func, dtor". If the new operator
17 // throws the exception, then the result should be "new". If the constructor
19 // "new, ctor, delete"
    [all...]
  /ndk/tests/device/test-stlport_static-exception/jni/
delete2.cpp 12 void * operator new (size_t size)
49 f1 (::new D);
50 f2 (::new D);
51 f3 (::new D);
new1_3.cpp 6 // egcs 2.92 performs cleanup for temporaries inside new expressions
7 // after the new is complete, not at the end of the full expression.
10 // the result should be "ctor, new, func, dtor". If the new operator throws
11 // the exception, then the result should be "ctor, new, dtor". If the
15 // In Clang, the new operator is called first. If no exception is raised,
16 // then the result should be "new, ctor, func, dtor". If the new operator
17 // throws the exception, then the result should be "new". If the constructor
19 // "new, ctor, delete"
    [all...]
  /prebuilts/ndk/5/sources/cxx-stl/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
  /prebuilts/ndk/6/sources/cxx-stl/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
  /prebuilts/ndk/7/sources/cxx-stl/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
  /prebuilts/ndk/8/sources/cxx-stl/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
  /prebuilts/ndk/9/sources/cxx-stl/EH/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
  /external/clang/test/Analysis/Inputs/
system-header-simulator-cxx.h 142 void* operator new(std::size_t, const std::nothrow_t&) throw();
143 void* operator new[](std::size_t, const std::nothrow_t&) throw();
147 void* operator new (std::size_t size, void* ptr) throw() { return ptr; };
148 void* operator new[] (std::size_t size, void* ptr) throw() { return ptr; };
  /external/stlport/test/eh/
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() {
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
interaction_based.hpp 60 new ( ::boost::itest::location( BOOST_TEST_L(__FILE__), __LINE__ ) ) type_name
193 // ************** operator new overload ************** //
209 operator new( std::size_t s, ::boost::itest::location const& l )
224 operator new[]( std::size_t s, ::boost::itest::location const& l )
  /bionic/libc/bionic/
semaphore.c 166 unsigned int old, new; local
175 new = SEMCOUNT_DECREMENT(old);
178 (int)(new|shared),
190 unsigned int old, new; local
199 new = SEMCOUNT_DECREMENT(old);
202 (int)(new|shared),
220 unsigned int old, new; local
234 new = SEMCOUNT_ONE;
236 new = SEMCOUNT_INCREMENT(old);
239 (int)(new|shared)
    [all...]
  /development/scripts/app_engine_server/gae_shell/
shell.py 40 import new namespace
68 # Unpicklable statements to seed new sessions with.
149 statement: string, the statement that created new unpicklable global(s).
170 """Creates a new session and renders the shell.html template.
179 # create a new session
226 statement_module = new.module('__main__')
274 # extract the new globals that this statement added
289 # new globals back into the datastore.

Completed in 1274 milliseconds

1 2 3 4 5 6 7 891011>>