Lines Matching defs:stack
54 * The whole thing uses a stack, much like an HP 35.
92 * The stack structure used here is based on an idea by Joseph Yao.
102 long *stack;
115 return (st->stack[st->top]);
123 if ((st->stack = (void *)realloc(st->stack,
128 st->stack[++st->top] = (i);
137 return (st->stack[st->top--]);
150 return ((char *)(st->stack[st->top--]));
158 if ((st->stack = (void *)malloc(MAX * sizeof (long))) == NULL) {
166 free(st->stack);
543 /* %Pi: pop from stack into variable i (a-z) */