Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DList.h215 _Node* newNode = new _Node(val); // alloc & copy-construct in insert() local
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()
220 return iterator(newNode); in insert()
/system/keymaster/include/keymaster/
DList.h191 _Node* newNode = new (std::nothrow) _Node(val); // alloc & copy-construct in insert() local
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()
196 return iterator(newNode); in insert()