Lines Matching refs:stack

742   xtensa_ld_iter_stack *next;		/* Next in the stack.  */
743 xtensa_ld_iter_stack *prev; /* Back pointer for stack. */
809 xtensa_ld_iter_stack *stack;
832 stack = xmalloc (sizeof (xtensa_ld_iter_stack));
833 memset (stack, 0, sizeof (xtensa_ld_iter_stack));
834 stack->iterloc.parent = parent;
835 stack->iterloc.l = l;
836 stack->iterloc.loc = &l->head;
838 stack->next = *stack_p;
839 stack->prev = NULL;
841 (*stack_p)->prev = stack;
842 *stack_p = stack;
850 xtensa_ld_iter_stack *stack;
852 stack = *stack_p;
854 if (stack == NULL)
856 ASSERT (stack != NULL);
860 if (stack->next != NULL)
861 stack->next->prev = NULL;
863 *stack_p = stack->next;
864 free (stack);
894 xtensa_ld_iter_stack *stack;
896 stack = *stack_p;
898 current = *stack->iterloc.loc;
908 if (iter_stack_push (stack_p, *stack->iterloc.loc))
934 /* The iter stack is a preorder. */
955 /* Keep a stack of pointers to control iteration through the contours. */
956 xtensa_ld_iter_stack *stack = NULL;
957 xtensa_ld_iter_stack **stack_p = &stack;
1216 xtensa_ld_iter_stack *stack = NULL;
1223 for (iter_stack_create (&stack, s);
1224 !iter_stack_empty (&stack);
1225 iter_stack_next (&stack))
1227 lang_statement_union_type *l = iter_stack_current (&stack);
1250 xtensa_ld_iter_stack *stack = NULL;
1251 for (iter_stack_create (&stack, s);
1252 !iter_stack_empty (&stack);
1253 iter_stack_next (&stack))
1255 lang_statement_union_type *l = iter_stack_current (&stack);
1706 xtensa_ld_iter_stack *stack = NULL;
1707 xtensa_ld_iter_stack **stack_p = &stack;
1776 xtensa_ld_iter_stack *stack = NULL;
1777 xtensa_ld_iter_stack **stack_p = &stack;
1843 xtensa_ld_iter_stack *stack = NULL;
1844 xtensa_ld_iter_stack **stack_p = &stack;