Lines Matching defs:Stack
411 struct Stack struct
413 void init () in init()
423 void fini () in fini()
428 ELEM& operator [] (unsigned int i) in operator []()
434 void push (const ELEM &v) in push()
442 ELEM &push () in push()
453 ELEM& pop () in pop()
464 void pop (unsigned int n) in pop()
472 const ELEM& peek () in peek()
483 void unpop () in unpop()
491 void clear () { count = 0; } in clear()
493 bool in_error () const { return (error || elements.in_error ()); } in in_error()
494 void set_error () { error = true; } in set_error()
496 unsigned int get_count () const { return count; } in get_count()
497 bool is_empty () const { return count == 0; } in is_empty()
499 static const unsigned int kSizeLimit = LIMIT;
502 bool error;
503 unsigned int count;
504 hb_vector_t<ELEM, kSizeLimit> elements;