Lines Matching refs:ZoneChunkListIterator
19 class ZoneChunkListIterator; variable
38 using iterator = ZoneChunkListIterator<T, false, true>;
39 using const_iterator = ZoneChunkListIterator<T, false, false>;
40 using reverse_iterator = ZoneChunkListIterator<T, true, true>;
41 using const_reverse_iterator = ZoneChunkListIterator<T, true, false>;
106 friend class ZoneChunkListIterator;
147 class ZoneChunkListIterator
160 bool operator==(const ZoneChunkListIterator& other) const {
163 bool operator!=(const ZoneChunkListIterator& other) const {
167 ZoneChunkListIterator& operator++() {
172 ZoneChunkListIterator operator++(int) {
173 ZoneChunkListIterator clone(*this);
178 ZoneChunkListIterator& operator--() {
183 ZoneChunkListIterator operator--(int) {
184 ZoneChunkListIterator clone(*this);
193 ZoneChunkListIterator clone(*this); in Advance()
216 static ZoneChunkListIterator Begin(ChunkList* list) { in Begin()
218 if (!backwards) return ZoneChunkListIterator(list->front_, 0); in Begin()
224 return ZoneChunkListIterator(list->back_->previous_, in Begin()
230 return ZoneChunkListIterator(list->back_, list->back_->position_ - 1); in Begin()
233 static ZoneChunkListIterator End(ChunkList* list) { in End()
235 if (backwards) return ZoneChunkListIterator(nullptr, 0); in End()
242 return ZoneChunkListIterator(list->back_->next_, 0); in End()
245 return ZoneChunkListIterator(list->back_, list->back_->position_); in End()
248 ZoneChunkListIterator(Chunk* current, size_t position) in ZoneChunkListIterator() function