Lines Matching refs:position
58 stack->position.block = b;
59 stack->position.index = -1;
92 stack->position.block = stack->blocks;
93 stack->position.index = -1;
103 if (stack->position.index < 0) return(stack->error);
104 else return(stack->position.block->stack[stack->position.index]);
116 if (++stack->position.index >= stack->size)
118 b = stack->position.block;
127 b->prev = stack->position.block;
130 stack->position.block = b;
131 stack->position.index = 0;
133 stack->position.block->stack[stack->position.index] = value;
152 if (stack->position.index < 0) return(-1);
153 else if (--stack->position.index < 0)
155 if (!stack->position.block->prev) return(0);
156 stack->position.block = stack->position.block->prev;
157 stack->position.index = stack->size - 1;
164 * set|get stack position
168 stacktell(register STACK stack, int set, STACKPOS* position)
170 if (set) stack->position = *position;
171 else *position = stack->position;