Home
last modified time | relevance | path

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

/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcord_rep_ring_reader.h34 explicit operator bool() const { return ring_ != nullptr; }
37 CordRepRing* ring() const { return ring_; } in ring()
45 CordRep* node() const { return ring_->entry_child(index_); } in node()
50 assert(ring_); in length()
51 return ring_->length; in length()
60 assert(ring_); in consumed()
61 return ring_->entry_end_offset(index_); in consumed()
67 assert(ring_); in remaining()
72 void Reset() { ring_ = nullptr; } in Reset()
78 ring_ = ring; in Reset()
[all …]
/external/libchrome/base/task/sequence_manager/
Dlazily_deallocated_deque.h310 const T& operator->() const { return ring_->data_[index_]; }
311 const T& operator*() const { return ring_->data_[index_]; }
314 if (index_ == ring_->back_index_) {
315 ring_ = ring_->next_.get();
318 index_ = ring_->CircularIncrement(index_);
323 operator bool() const { return !!ring_; }
328 ring_ = nullptr; in Iterator()
333 ring_ = ring; in Iterator()
334 index_ = ring_->CircularIncrement(ring->front_index_); in Iterator()
337 const Ring* ring_; variable