Home | History | Annotate | Download | only in dvr

Lines Matching refs:size_

12 // A vector works but you either have to keep track of start_ and size_ yourself
33 Get(size_) = val;
34 size_++;
40 Get(size_) = std::move(val);
41 size_++;
44 bool IsEmpty() const { return size_ == 0; }
46 bool IsFull() const { return size_ == buffer_.size(); }
48 size_t GetSize() const { return size_; }
58 const T& Back() const { return Get(size_ - 1); }
60 T& Back() { return Get(size_ - 1); }
67 if (size_ != 0) {
68 Get(size_ - 1) = T();
69 size_--;
74 if (size_ != 0) {
77 size_--;
84 start_ = size_ = 0;
93 size_t start_, size_;