Home | History | Annotate | Download | only in src

Lines Matching defs:top_

173       : array_(NULL), top_(0), bottom_(0), mask_(0), overflowed_(false) { }
180 top_ = bottom_ = 0;
184 inline bool IsFull() { return ((top_ + 1) & mask_) == bottom_; }
186 inline bool IsEmpty() { return top_ == bottom_; }
204 array_[top_] = object;
205 top_ = ((top_ + 1) & mask_);
214 array_[top_] = object;
215 top_ = ((top_ + 1) & mask_);
221 top_ = ((top_ - 1) & mask_);
222 HeapObject* object = array_[top_];
239 int top() { return top_; }
241 void set_top(int top) { top_ = top; }
246 // empty when top_ == bottom_. It is full when top_ + 1 == bottom
248 int top_;