Home | History | Annotate | Download | only in base

Lines Matching defs:next

13 // list, as extending LinkNode (this gives it next/previous pointers).
19 // Next, to keep track of the list's head/tail, use a LinkedList instance:
38 // node = node->next()) {
72 // A. Doubly-linked lists are made up of nodes that contain "next" and
76 // space for the "next" and "previous" pointers (base::LinkNode<T>*).
78 // needs to glue on the "next" and "previous" pointers using
87 LinkNode(LinkNode<T>* previous, LinkNode<T>* next)
88 : previous_(previous), next_(next) {}
116 LinkNode<T>* next() const {
132 void set(LinkNode<T>* prev, LinkNode<T>* next) {
133 previous_ = prev; next_ = next;
145 // list (root_.next() will point back to the start of the list,
155 return root_.next();