Lines Matching defs:stack
100 } stackbuf[DB_SORT_STACKSIZE], *stack;
115 stack = stackbuf;
185 /* Grow the stack */
187 if (stack == stackbuf) {
189 sizeof(struct DB_SORT_quicksort_stack), &stack);
191 memcpy(stack, stackbuf, soff *
195 sizeof(struct DB_SORT_quicksort_stack), &stack);
201 stack[soff].kstart = kmiddle - size;
202 stack[soff].kend = kend;
203 stack[soff].dstart = dmiddle - size;
204 stack[soff].dend = dend;
215 kstart = stack[soff].kstart;
216 kend = stack[soff].kend;
217 dstart = stack[soff].dstart;
218 dend = stack[soff].dend;
223 if (stack != stackbuf)
224 __os_free(env, stack);