Lines Matching defs:stack_idx
472 int stack_idx = 0;
481 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
483 while (stack_idx >= 0)
486 switch(stack[stack_idx])
503 stack[stack_idx++] = HEAP_NODE_TRAVERSE_RIGHT;
504 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
524 stack[stack_idx++] = HEAP_NODE_POP;
525 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
532 --stack_idx;
560 int stack_idx = 0;
568 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
570 while (stack_idx >= 0)
573 switch(stack[stack_idx])
584 stack[stack_idx++] = HEAP_NODE_TRAVERSE_RIGHT;
585 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
599 stack[stack_idx++] = HEAP_NODE_POP;
600 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
607 --stack_idx;