Lines Matching defs:stack
82 static char **stack;
97 new_stack = reallocarray(stack, new_stack_len, sizeof(*stack));
99 ERR(NULL, "unable to allocate stack space");
103 stack = new_stack;
105 stack[next_stack_entry] = expr_ptr;
114 ERR(NULL, "pop called with no stack entries");
117 return stack[next_stack_entry];
367 * therefore there is a stack based RPN to infix converter to produce
442 /* Allocate a stack to hold expression buffer entries */
455 ERR(NULL, "failed to allocate expr buffer stack");
717 ERR(NULL, "failed to allocate answer stack");