Lines Matching refs:newEntry
117 void addBefore(T* newEntry, T* existingEntry) {
118 SkASSERT(NULL != newEntry);
121 this->addToTail(newEntry);
126 newEntry->fNext = existingEntry;
128 existingEntry->fPrev = newEntry;
129 newEntry->fPrev = prev;
132 fHead = newEntry;
134 prev->fNext = newEntry;
137 newEntry->fList = this;
146 void addAfter(T* newEntry, T* existingEntry) {
147 SkASSERT(NULL != newEntry);
150 this->addToHead(newEntry);
155 newEntry->fPrev = existingEntry;
157 existingEntry->fNext = newEntry;
158 newEntry->fNext = next;
161 fTail = newEntry;
163 next->fPrev = newEntry;
166 newEntry->fList = this;