Lines Matching defs:stack_idx
475 int stack_idx = 0;
483 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
485 while (stack_idx >= 0)
488 switch(stack[stack_idx])
500 stack[stack_idx++] = HEAP_NODE_TRAVERSE_RIGHT;
501 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
516 stack[stack_idx++] = HEAP_NODE_POP;
517 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
525 --stack_idx;
552 int stack_idx = 0;
560 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
562 while (stack_idx >= 0)
565 switch(stack[stack_idx])
576 stack[stack_idx++] = HEAP_NODE_TRAVERSE_RIGHT;
577 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
591 stack[stack_idx++] = HEAP_NODE_POP;
592 stack[stack_idx] = HEAP_NODE_TRAVERSE_LEFT;
600 --stack_idx;