Home
last modified time | relevance | path

Searched refs:posn (Results 1 – 2 of 2) sorted by relevance

/system/core/libutils/include/utils/
DList.h213 iterator insert(iterator posn, const T& val) in insert() argument
216 newNode->setNext(posn.getNode()); in insert()
217 newNode->setPrev(posn.getNode()->getPrev()); in insert()
218 posn.getNode()->getPrev()->setNext(newNode); in insert()
219 posn.getNode()->setPrev(newNode); in insert()
224 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument
226 insert(posn, *first); in insert()
230 iterator erase(iterator posn) { in erase() argument
231 _Node* pNext = posn.getNode()->getNext(); in erase()
232 _Node* pPrev = posn.getNode()->getPrev(); in erase()
[all …]
/system/keymaster/include/keymaster/
DList.h190 iterator insert(iterator posn, const T& val) { in insert() argument
192 newNode->setNext(posn.getNode()); in insert()
193 newNode->setPrev(posn.getNode()->getPrev()); in insert()
194 posn.getNode()->getPrev()->setNext(newNode); in insert()
195 posn.getNode()->setPrev(newNode); in insert()
200 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument
202 insert(posn, *first); in insert()
206 iterator erase(iterator posn) { in erase() argument
207 _Node* pNext = posn.getNode()->getNext(); in erase()
208 _Node* pPrev = posn.getNode()->getPrev(); in erase()
[all …]