• Home
  • Raw
  • Download

Lines Matching refs:sentinel_

110       NodeType* first_node = list->sentinel_.next_node_;  in MoveBefore()
111 NodeType* last_node = list->sentinel_.previous_node_; in MoveBefore()
119 list->sentinel_.next_node_ = &list->sentinel_; in MoveBefore()
120 list->sentinel_.previous_node_ = &list->sentinel_; in MoveBefore()
203 NodeType sentinel_; variable
209 inline IntrusiveList<NodeType>::IntrusiveList() : sentinel_() { in IntrusiveList()
210 sentinel_.next_node_ = &sentinel_; in IntrusiveList()
211 sentinel_.previous_node_ = &sentinel_; in IntrusiveList()
212 sentinel_.is_sentinel_ = true; in IntrusiveList()
216 IntrusiveList<NodeType>::IntrusiveList(IntrusiveList&& list) : sentinel_() { in IntrusiveList()
217 sentinel_.next_node_ = &sentinel_; in IntrusiveList()
218 sentinel_.previous_node_ = &sentinel_; in IntrusiveList()
219 sentinel_.is_sentinel_ = true; in IntrusiveList()
220 list.sentinel_.ReplaceWith(&sentinel_); in IntrusiveList()
231 list.sentinel_.ReplaceWith(&sentinel_);
238 return iterator(sentinel_.next_node_); in begin()
244 return iterator(&sentinel_); in end()
250 return const_iterator(sentinel_.next_node_); in begin()
256 return const_iterator(&sentinel_); in end()
262 return const_iterator(sentinel_.next_node_); in cbegin()
268 return const_iterator(&sentinel_); in cend()
273 node->InsertBefore(&sentinel_); in push_back()
278 return sentinel_.NextNode() == nullptr; in empty()
290 NodeType* node = sentinel_.NextNode(); in front()
297 NodeType* node = sentinel_.PreviousNode(); in back()
304 NodeType* node = sentinel_.NextNode(); in front()
311 NodeType* node = sentinel_.PreviousNode(); in back()