Lines Matching defs:stack_idx
492 int stack_idx = 0;
500 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
502 while (stack_idx >= 0)
505 switch(stack[stack_idx])
517 stack[stack_idx++] = HEAP_NODE_TRAVERSE_RIGHT;
518 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
533 stack[stack_idx++] = HEAP_NODE_POP;
534 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
542 --stack_idx;
569 int stack_idx = 0;
577 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
579 while (stack_idx >= 0)
582 switch(stack[stack_idx])
593 stack[stack_idx++] = HEAP_NODE_TRAVERSE_RIGHT;
594 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
608 stack[stack_idx++] = HEAP_NODE_POP;
609 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
617 --stack_idx;