Lines Matching refs:stack_top

50 static scope_stack_t *stack_top = NULL;
123 while (stack_top != NULL) {
141 if (stack_top->type != 1 || stack_top->in_else) {
158 avrule_decl_t *decl = stack_top->decl;
201 avrule_decl_t *decl = stack_top->decl;
330 assert(stack_top->type == 1);
332 if (stack_top->parent == NULL) {
336 roles_tab = stack_top->decl->p_roles.table;
564 assert(stack_top->type == 1);
566 if (stack_top->parent == NULL) {
570 users_tab = stack_top->decl->p_users.table;
625 assert(stack_top->type == 1);
626 if (stack_top->parent == NULL) {
630 types_tab = stack_top->decl->p_types.table;
672 assert(stack_top->type == 1);
674 if (stack_top->parent == NULL) {
678 roles_tab = stack_top->decl->p_roles.table;
720 avrule_decl_t *decl = stack_top->decl;
732 stack_top->require_given = 1;
738 avrule_decl_t *decl = stack_top->decl;
1146 return is_scope_in_stack(scope, stack_top);
1200 stack_top);
1207 avrule_decl_t *decl = stack_top->decl;
1240 avrule_decl_t *decl = stack_top->decl;
1247 assert(stack_top->type == 1);
1249 if (stack_top->last_avrule == NULL) {
1252 stack_top->last_avrule->next = avrule;
1254 stack_top->last_avrule = avrule;
1260 avrule_decl_t *decl = stack_top->decl;
1263 assert(stack_top->type == 1);
1272 avrule_decl_t *decl = stack_top->decl;
1275 assert(stack_top->type == 1);
1284 avrule_decl_t *decl = stack_top->decl;
1287 assert(stack_top->type == 1);
1296 avrule_decl_t *decl = stack_top->decl;
1299 assert(stack_top->type == 1);
1329 stack_top->last_avrule = NULL;
1349 assert(stack_top->type == 1 && stack_top->in_else == 0);
1357 stack_top->decl->next = decl;
1361 decl = stack_top->decl->next;
1365 stack_top->in_else = 1;
1366 stack_top->decl = decl;
1367 stack_top->last_avrule = NULL;
1368 stack_top->require_given = 0;
1427 avrule_decl_t *decl = stack_top->decl;
1428 assert(stack_top->type == 1);
1432 if (copy_requirements(decl, stack_top->parent) == -1) {
1437 if (!stack_top->in_else && !stack_top->require_given) {
1439 && stack_top->parent != NULL) {
1476 s->parent = stack_top;
1478 stack_top = s;
1487 assert(stack_top != NULL);
1488 parent = stack_top->parent;
1492 free(stack_top);
1493 stack_top = parent;