Searched refs:op_stack_pos (Results 1 – 1 of 1) sorted by relevance
149 static inline void stack_push(struct tst_expr_tok *stack[], unsigned int *op_stack_pos, in stack_push() argument152 stack[(*op_stack_pos)++] = op; in stack_push()155 static inline int stack_empty(unsigned int op_stack_pos) in stack_empty() argument157 return op_stack_pos == 0; in stack_empty()161 unsigned int *op_stack_pos) in stack_pop() argument163 if (stack_empty(*op_stack_pos)) in stack_pop()166 return stack[--(*op_stack_pos)]; in stack_pop()172 unsigned int op_stack_pos) in stack_peek_op() argument174 if (stack_empty(op_stack_pos)) in stack_peek_op()177 return stack[op_stack_pos - 1]->op; in stack_peek_op()[all …]