HomeSort by relevance Sort by last modified time
    Searched defs:new (Results 276 - 300 of 413) sorted by null

<<11121314151617

  /external/skia/include/core/
SkPostConfig.h 103 # define SkNEW(type_name) (new type_name)
104 # define SkNEW_ARGS(type_name, args) (new type_name args)
105 # define SkNEW_ARRAY(type_name, count) (new type_name[(count)])
106 # define SkNEW_PLACEMENT(buf, type_name) (new (buf) type_name)
107 # define SkNEW_PLACEMENT_ARGS(buf, type_name, args) (new (buf) type_name args)
253 void * operator new(
260 void * operator new[](
275 # define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__, 0)
277 # define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__)
279 # define new DEBUG_CLIENTBLOC macro
    [all...]
SkTArray.h 11 #include <new>
52 template <typename T, bool MEM_COPY> void* operator new(size_t, SkTArray<T, MEM_COPY>*, int);
81 * Copies one array to another. The new array will be heap allocated.
88 * Creates a SkTArray by copying contents of a standard C array. The new
176 * Adds 1 new default-initialized T value and returns it by reference. Note
187 * Version of above that uses a copy constructor to initialize the new item
197 * the start of that new range. Note: this address is only valid until the
423 // the new objects.
465 friend void* operator new<T>(size_t, SkTArray*, int);
487 void* operator new(size_t, SkTArray<T, MEM_COPY>* array, int SkDEBUGCODE(atIndex))
    [all...]
  /external/skia/src/gpu/
GrAllocator.h 38 // This force us to allocate a new block on push_back().
91 // This force us to allocate a new block on push_back().
228 template <typename T> void* operator new(size_t, GrTAllocator<T>*);
365 friend void* operator new<T>(size_t, GrTAllocator*);
384 template <typename T> void* operator new(size_t size, GrTAllocator<T>* allocator) {
389 // to match the op new silences warnings about missing op delete when a constructor throws an
396 new (allocator_ptr) type_name args
GrTRecorder.h 21 * This class preallocates its own chunks of memory for hosting objects, so new items can
24 * To create a new item and append it to the back of the list, use the following macros:
116 /** Allocates a new block and appends it to prev if not NULL. The length param is in units
162 friend void* operator new(size_t, GrTRecorder<UBase, UAlign>&,
200 // Find the header of the previous entry and get its length. We need to store that in the new
374 void* operator new(size_t size, GrTRecorder<TBase, TAlign>& recorder,
383 // up for an unmatched operator new when compiling with exceptions.
388 (new (recorder, GrTRecorderAllocWrapper<type_name>()) type_name args)
391 (new (recorder, GrTRecorderAllocWrapper<type_name>(recorder, size_of_data)) type_name args)
  /external/skia/tests/
GrMemoryPoolTest.cpp 17 // A is the top of an inheritance tree of classes that overload op new and
31 void* operator new(size_t size) {
33 return ::operator new(size);
55 GrMemoryPool* pool = new GrMemoryPool(preallocSize, minAllocSize);
115 fB = new B();
165 return new A;
167 return new B;
169 return new C;
171 return new D;
173 return new E
    [all...]
  /external/toybox/lib/
args.c 231 struct opts *new = 0; local
259 // Allocate a new list entry when necessary
260 if (!new) {
261 new = xzalloc(sizeof(struct opts));
262 new->next = gof->opts;
263 gof->opts = new;
264 new->val[0].l = LONG_MIN;
265 new->val[1].l = LONG_MAX;
269 if (*options == '(' && new->c != -1) {
277 // init a new struct longopt
    [all...]
  /external/toybox/scripts/
config2help.c 68 // Moves *help to new start of text (in case dash lines were at beginning).
127 struct symbol *new = 0; local
144 new = xzalloc(sizeof(struct symbol));
145 new->next = sym;
146 new->name = s;
147 sym = new;
152 if (!new) continue;
155 dlist_add(&(new->help), line);
162 new->depends = s;
267 char **new = xmalloc(sizeof(char *)*(clen+tlen)) local
    [all...]
  /external/toybox/toys/other/
vmstat.c 45 uint64_t *new = (uint64_t *)vmstat_proc; local
64 if (1 != sscanf(p, "%"PRIu64"%n", new++, &j)) goto error;
  /external/toybox/toys/pending/
bootchartd.c 46 struct pid_list *new = xzalloc(sizeof(struct pid_list)); local
48 new->pid = pid;
49 dlist_add_nomalloc((void *)&TT.head, (void *)new);
mke2fs.c 86 struct dirtree *dt; // Tree of files to copy into the new filesystem.
202 dev_t new = current->st.st_dev; local
204 if (!new) continue;
401 // If we just jumped into a new group, skip group overhead blocks.
  /external/toybox/toys/posix/
find.c 71 static int flush_exec(struct dirtree *new, struct exec_range *aa)
79 if (aa->dir && new->parent) dl = (void *)&new->parent->extra;
85 if (aa->dir && new->parent) rc = fchdir(new->parent->data);
88 perror_msg("%s", new->name);
135 static void do_print(struct dirtree *new, char c)
137 char *s=dirtree_path(new, 0);
145 char *try, *new; local
148 try = new = xstrdup(s)
    [all...]
  /external/v8/src/
cpu-profiler.cc 136 void* ProfilerEventsProcessor::operator new(size_t size) {
374 profiles_(new CpuProfilesCollection(isolate->heap())),
409 profiles_ = new CpuProfilesCollection(isolate()->heap());
431 // Disable logging when using the new implementation.
434 generator_ = new ProfileGenerator(profiles_);
436 processor_ = new ProfilerEventsProcessor(
  /frameworks/base/libs/hwui/
DeferredDisplayList.h 50 /** static void* operator new(size_t size); PURPOSELY OMITTED **/
51 static void* operator new(size_t size, LinearAllocator& allocator) {
126 return new (mAllocator) DeferredDisplayState();
Snapshot.h 47 /** static void* operator new(size_t size); PURPOSELY OMITTED, allocator only **/
48 static void* operator new(size_t size, LinearAllocator& allocator) {
68 /** static void* operator new(size_t size); PURPOSELY OMITTED, allocator only **/
69 static void* operator new(size_t size, LinearAllocator& allocator) {
103 * a new layer.
111 * Viewport has been modified to fit the new Fbo, and must be
123 * Modifies the current clip with the new clip rectangle and
131 * Modifies the current clip with the new clip rectangle and
  /frameworks/base/libs/hwui/utils/
LinearAllocator.cpp 84 void* operator new(std::size_t size, android::uirenderer::LinearAllocator& la) {
100 void* operator new(size_t /*size*/, void* buf) { return buf; }
198 auto node = new (*this) DestructorNode();
244 return new (buf) Page();
  /ndk/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); }
  /ndk/sources/host-tools/make-3.81/
implicit.c 867 /* enter_file uses dep->name _if_ we created a new file. */
916 /* Always allocate new storage, since STEM might be
952 struct dep *new = alloc_dep ();
955 new->name = p = (char *) xmalloc (rule->lens[i] + fullstemlen + 1);
963 new->file = enter_file (new->name);
964 new->next = file->also_make;
969 new->file->precious = 1;
974 new->file->is_target = 1;
976 file->also_make = new;
950 struct dep *new = alloc_dep (); local
    [all...]
vpath.c 61 register struct vpath *new = 0;
69 old->next = new;
70 new = old;
73 vpaths = new;
94 /* Empty `vpaths' so the new one will have no next, and `vpaths'
126 /* Empty `vpaths' so the new one will have no next, and `vpaths'
157 the structure as well. The new entry will be at the head of the
477 capability that already exists for files: that is, have a new struct
60 register struct vpath *new = 0; local
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
comip.h 18 #pragma push_macro("new")
19 #undef new macro
21 #include <new.h>
54 template<typename _X> _com_ptr_t(LPSTR str) { new(this) _com_ptr_t(static_cast<LPCSTR> (str),NULL); }
55 template<typename _X> _com_ptr_t(LPWSTR str) { new(this) _com_ptr_t(static_cast<LPCWSTR> (str),NULL); }
374 #pragma pop_macro("new")
  /prebuilts/ndk/5/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/6/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/7/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/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

Completed in 1776 milliseconds

<<11121314151617