Lines Matching defs:IntrusiveList
28 struct IntrusiveList { struct
29 friend class Iterator;
31 void clear() { in clear()
36 bool empty() const { return size_ == 0; } in empty()
37 uptr size() const { return size_; } in size()
39 void push_back(Item *x) { in push_back()
52 void push_front(Item *x) { in push_front()
64 void pop_front() { in pop_front()
88 void append_front(IntrusiveList<Item> *l) { in append_front() argument
102 void append_back(IntrusiveList<Item> *l) { in append_back() argument
116 void CheckConsistency() { in CheckConsistency()
134 explicit IteratorBase(ItemTy *current) : current_(current) {} in IteratorBase()
149 typedef IteratorBase<Item> Iterator;
150 typedef IteratorBase<const Item> ConstIterator;
152 Iterator begin() { return Iterator(first_); } in begin()
153 Iterator end() { return Iterator(0); } in end()
155 ConstIterator begin() const { return ConstIterator(first_); } in begin()
156 ConstIterator end() const { return ConstIterator(0); } in end()
159 uptr size_;
160 Item *first_;
161 Item *last_;