Home
last modified time | relevance | path

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

/third_party/gn/src/base/containers/
Dcircular_deque.h138 circular_deque_const_iterator() : parent_deque_(nullptr), index_(0) { in circular_deque_const_iterator()
147 parent_deque_->CheckValidIndex(index_);
148 return parent_deque_->buffer_[index_];
152 parent_deque_->CheckValidIndex(index_);
153 return &parent_deque_->buffer_[index_];
240 : parent_deque_(parent), index_(index) { in circular_deque_const_iterator()
249 if (index_ >= parent_deque_->begin_) in OffsetFromBegin()
250 return index_ - parent_deque_->begin_; // On the same side as begin. in OffsetFromBegin()
251 return parent_deque_->buffer_.capacity() - parent_deque_->begin_ + index_; in OffsetFromBegin()
257 parent_deque_->CheckValidIndex(index_); in Increment()
[all …]