Lines Matching defs:location

18                           const typename SkTLList<T>::Iter& location);
25 SkNEW_INSERT_IN_LLIST_BEFORE(list, location, type_name, args)
26 SkNEW_INSERT_IN_LLIST_AFTER(list, location, type_name, args)
27 where list is a SkTLList<type_name>*, location is an iterator, and args is the paren-surrounded
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 */
107 T* addBefore(const T& t, const Iter& location) {
108 return SkNEW_PLACEMENT_ARGS(this->internalAddBefore(location), T, (t));
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 */
113 T* addAfter(const T& t, const Iter& location) {
114 return SkNEW_PLACEMENT_ARGS(this->internalAddAfter(location), T, (t));
340 const Iter& location);
344 void* internalAddBefore(Iter location) {
347 fList.addBefore(node, location.getNode());
352 void* internalAddAfter(Iter location) {
355 fList.addAfter(node, location.getNode());
371 const typename SkTLList<T>::Iter& location) {
374 return list->internalAddBefore(location);
376 return list->internalAddAfter(location);
391 #define SkNEW_INSERT_IN_LLIST_BEFORE(list, location, type_name, args) \
392 (new ((list), SkTLList< type_name >::kBefore_Placement, (location)) type_name args)
394 #define SkNEW_INSERT_IN_LLIST_AFTER(list, location, type_name, args) \
395 (new ((list), SkTLList< type_name >::kAfter_Placement, (location)) type_name args)