Lines Matching defs:new
16 inline void* operator new(size_t, SkTLList<T>* list,
105 /** Adds a new element to the list before the location indicated by the iterator. If the
106 iterator refers to a NULL location then the new element is added at the tail */
111 /** Adds a new element to the list after the location indicated by the iterator. If the
112 iterator refers to a NULL location then the new element is added at the head */
230 // For use with operator new
336 // Support in-place initializing of objects inserted into the list via operator new.
337 friend void* operator new<T>(size_t,
343 // Helpers that insert the node and returns a pointer to where the new object should be init'ed.
369 void *operator new(size_t, SkTLList<T>* list,
381 // to match the op new silences warnings about missing op delete when a constructor throws an
392 (new ((list), SkTLList< type_name >::kBefore_Placement, (location)) type_name args)
395 (new ((list), SkTLList< type_name >::kAfter_Placement, (location)) type_name args)