Lines Matching refs:test_db

74 	struct cil_db *test_db;
75 cil_db_init(&test_db);
78 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
80 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
82 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head;
98 struct cil_db *test_db;
99 cil_db_init(&test_db);
102 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
104 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
106 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head;
115 struct cil_db *test_db;
116 cil_db_init(&test_db);
118 test_db->ast->root = NULL;
120 int rc = cil_resolve_ast(test_db, test_db->ast->root);
137 struct cil_db *test_db;
138 cil_db_init(&test_db);
141 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
143 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
145 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next->next, args);
156 struct cil_db *test_db;
157 cil_db_init(&test_db);
160 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
162 int rc1=cil_build_ast(test_db, test_tree->root, test_db->ast->root);
165 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next, args);
176 struct cil_db *test_db;
177 cil_db_init(&test_db);
180 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
182 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
184 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next, args);
196 struct cil_db *test_db;
197 cil_db_init(&test_db);
200 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
202 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
204 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next, args);
218 struct cil_db *test_db;
219 cil_db_init(&test_db);
222 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
224 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
228 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
232 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
235 args->callstack = test_db->ast->root->cl_head->next->next->next;
237 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next->next->cl_head, args);
253 struct cil_db *test_db;
254 cil_db_init(&test_db);
257 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
259 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
263 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
267 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
270 args->callstack = test_db->ast->root->cl_head->next->next->next;
272 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next->next->cl_head, args);
286 struct cil_db *test_db;
287 cil_db_init(&test_db);
290 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
292 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
294 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next, args);
306 struct cil_db *test_db;
307 cil_db_init(&test_db);
310 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
312 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
314 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next, args);
326 struct cil_db *test_db;
327 cil_db_init(&test_db);
330 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
332 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
334 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next, args);
346 struct cil_db *test_db;
347 cil_db_init(&test_db);
350 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
352 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
354 int rc = cil_resolve_classmapping(test_db->ast->root->cl_head->next->next, args);
366 struct cil_db *test_db;
367 cil_db_init(&test_db);
370 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
372 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
374 int rc = cil_resolve_rolebounds(test_db->ast->root->cl_head->next->next, args);
386 struct cil_db *test_db;
387 cil_db_init(&test_db);
390 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
392 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
394 cil_resolve_rolebounds(test_db->ast->root->cl_head->next->next, args);
395 int rc = cil_resolve_rolebounds(test_db->ast->root->cl_head->next->next, args);
407 struct cil_db *test_db;
408 cil_db_init(&test_db);
411 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
413 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
415 int rc = cil_resolve_rolebounds(test_db->ast->root->cl_head->next->next, args);
427 struct cil_db *test_db;
428 cil_db_init(&test_db);
431 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
433 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
435 int rc = cil_resolve_rolebounds(test_db->ast->root->cl_head->next->next, args);
446 struct cil_db *test_db;
447 cil_db_init(&test_db);
450 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
452 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
454 int rc = cil_resolve_sensalias(test_db->ast->root->cl_head->next, args);
464 struct cil_db *test_db;
465 cil_db_init(&test_db);
468 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
470 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
472 int rc = cil_resolve_sensalias(test_db->ast->root->cl_head, args);
483 struct cil_db *test_db;
484 cil_db_init(&test_db);
487 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
489 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
491 int rc = cil_resolve_catalias(test_db->ast->root->cl_head->next, args);
501 struct cil_db *test_db;
502 cil_db_init(&test_db);
505 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
507 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
509 int rc = cil_resolve_catalias(test_db->ast->root->cl_head, args);
521 struct cil_db *test_db;
522 cil_db_init(&test_db);
524 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
527 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
529 int rc = cil_resolve_catorder(test_db->ast->root->cl_head->next->next, args);
530 int rc2 = cil_resolve_catorder(test_db->ast->root->cl_head->next->next, args);
543 struct cil_db *test_db;
544 cil_db_init(&test_db);
547 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
549 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
551 int rc = cil_resolve_catorder(test_db->ast->root->cl_head->next->next, args);
564 struct cil_db *test_db;
565 cil_db_init(&test_db);
567 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
570 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
572 int rc = cil_resolve_dominance(test_db->ast->root->cl_head->next->next->next, args);
573 int rc2 = cil_resolve_dominance(test_db->ast->root->cl_head->next->next->next, args);
587 struct cil_db *test_db;
588 cil_db_init(&test_db);
591 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
593 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
595 int rc = cil_resolve_dominance(test_db->ast->root->cl_head->next->next->next, args);
608 struct cil_db *test_db;
609 cil_db_init(&test_db);
612 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
614 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
619 struct cil_catset *test_catset = (struct cil_catset*)test_db->ast->root->cl_head->next->next->next->data;
621 int rc = cil_resolve_cat_list(test_db->ast->root->cl_head->next->next->next, test_catset->cat_list_str, test_cat_list, args);
634 struct cil_db *test_db;
635 cil_db_init(&test_db);
638 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
640 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
645 struct cil_catset *test_catset = (struct cil_catset*)test_db->ast->root->cl_head->next->next->next->data;
648 int rc = cil_resolve_cat_list(test_db->ast->root->cl_head->next->next->next, test_catset->cat_list_str, test_cat_list, args);
661 struct cil_db *test_db;
662 cil_db_init(&test_db);
665 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
667 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
671 struct cil_catset *test_catset = (struct cil_catset*)test_db->ast->root->cl_head->next->next->next->data;
673 int rc = cil_resolve_cat_list(test_db->ast->root->cl_head->next->next->next, test_catset->cat_list_str, test_cat_list, args);
687 struct cil_db *test_db;
688 cil_db_init(&test_db);
690 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
693 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
695 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
696 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
701 struct cil_catset *test_catset = (struct cil_catset*)test_db->ast->root->cl_head->next->next->next->next->data;
703 int rc = cil_resolve_cat_list(test_db->ast->root->cl_head->next->next->next->next, test_catset->cat_list_str, test_cat_list, args);
717 struct cil_db *test_db;
718 cil_db_init(&test_db);
721 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
723 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
728 cil_resolve_catorder(test_db->ast->root->cl_head->next->next->next, args);
732 struct cil_catset *test_catset = (struct cil_catset*)test_db->ast->root->cl_head->next->next->next->next->data;
734 int rc = cil_resolve_cat_list(test_db->ast->root->cl_head->next->next->next->next, test_catset->cat_list_str, test_cat_list, args);
748 struct cil_db *test_db;
749 cil_db_init(&test_db);
752 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
754 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
756 cil_resolve_catorder(test_db->ast->root->cl_head->next->next->next, args);
762 struct cil_catset *test_catset = (struct cil_catset*)test_db->ast->root->cl_head->next->next->next->next->data;
764 int rc = cil_resolve_cat_list(test_db->ast->root->cl_head->next->next->next->next, test_catset->cat_list_str, test_cat_list, args);
777 struct cil_db *test_db;
778 cil_db_init(&test_db);
781 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
783 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
785 struct cil_catset *test_catset = (struct cil_catset *)test_db->ast->root->cl_head->next->next->next->data;
787 int rc = cil_resolve_catset(test_db->ast->root->cl_head->next->next->next, test_catset, args);
800 struct cil_db *test_db;
801 cil_db_init(&test_db);
804 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
806 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
808 struct cil_catset *test_catset = (struct cil_catset *)test_db->ast->root->cl_head->next->next->next->data;
810 int rc = cil_resolve_catset(test_db->ast->root->cl_head->next->next->next, test_catset, args);
823 struct cil_db *test_db;
824 cil_db_init(&test_db);
827 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
829 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
830 cil_resolve_catorder(test_db->ast->root->cl_head->next->next, args);
831 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
835 int rc = cil_resolve_catrange(test_db->ast->root->cl_head->next->next->next, (struct cil_catrange*)test_db->ast->root->cl_head->next->next->next->data, args);
848 struct cil_db *test_db;
849 cil_db_init(&test_db);
852 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
854 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
855 cil_resolve_catorder(test_db->ast->root->cl_head->next->next, args);
856 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
858 test_db->catorder->head = test_db->catorder->head->next;
859 test_db->catorder->head->next = NULL;
863 int rc = cil_resolve_catrange(test_db->ast->root->cl_head->next->next->next, (struct cil_catrange*)test_db->ast->root->cl_head->next->next->next->data, args);
876 struct cil_db *test_db;
877 cil_db_init(&test_db);
880 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
882 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
883 cil_resolve_catorder(test_db->ast->root->cl_head->next->next, args);
884 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
888 int rc = cil_resolve_catrange(test_db->ast->root->cl_head->next->next->next, (struct cil_catrange*)test_db->ast->root->cl_head->next->next->next->data, args);
901 struct cil_db *test_db;
902 cil_db_init(&test_db);
905 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
907 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
908 cil_resolve_catorder(test_db->ast->root->cl_head->next->next, args);
909 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
913 int rc = cil_resolve_catrange(test_db->ast->root->cl_head->next->next->next, (struct cil_catrange*)test_db->ast->root->cl_head->next->next->next->data, args);
926 struct cil_db *test_db;
927 cil_db_init(&test_db);
930 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
932 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
933 cil_resolve_catorder(test_db->ast->root->cl_head->next->next, args);
934 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
938 int rc = cil_resolve_catrange(test_db->ast->root->cl_head->next->next->next, (struct cil_catrange*)test_db->ast->root->cl_head->next->next->next->data, args);
954 struct cil_db *test_db;
955 cil_db_init(&test_db);
958 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
960 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
962 int rc = cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
979 struct cil_db *test_db;
980 cil_db_init(&test_db);
983 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
985 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
987 cil_resolve_catorder(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
991 int rc = cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
1008 struct cil_db *test_db;
1009 cil_db_init(&test_db);
1012 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
1014 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1016 struct cil_catset *test_catset = (struct cil_catset *)test_db->ast->root->cl_head->next->next->next->next->next->data;
1017 cil_resolve_catset(test_db->ast->root->cl_head->next->next->next->next->next, test_catset, args);
1021 int rc = cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
1036 struct cil_db *test_db;
1037 cil_db_init(&test_db);
1040 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1042 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1044 int rc = cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
1061 struct cil_db *test_db;
1062 cil_db_init(&test_db);
1064 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1067 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
1069 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
1070 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
1072 int rc = cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
1087 struct cil_db *test_db;
1088 cil_db_init(&test_db);
1091 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
1093 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1095 int rc = cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
1111 struct cil_db *test_db;
1112 cil_db_init(&test_db);
1115 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
1117 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1119 int rc = cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
1136 struct cil_db *test_db;
1137 cil_db_init(&test_db);
1139 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1142 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
1144 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
1145 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
1146 __cil_verify_order(test_db->dominance, test_db->ast->root, CIL_SENS);
1150 int rc = cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
1169 struct cil_db *test_db;
1170 cil_db_init(&test_db);
1173 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1175 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1177 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
1181 struct cil_tree_node *level = test_db->ast->root->cl_head->next->next->next->next->next->next->next;
1204 struct cil_db *test_db;
1205 cil_db_init(&test_db);
1207 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1210 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1212 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next, args);
1216 struct cil_tree_node *level = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next;
1241 struct cil_db *test_db;
1242 cil_db_init(&test_db);
1244 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1247 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
1249 struct cil_catset *cs = (struct cil_catset *)test_db->ast->root->cl_head->next->next->next->data;
1251 cil_resolve_catorder(test_db->ast->root->cl_head->next->next->next->next, args);
1255 cil_resolve_catset(test_db->ast->root->cl_head->next->next->next, cs, args);
1259 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
1263 struct cil_tree_node *level = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next;
1286 struct cil_db *test_db;
1287 cil_db_init(&test_db);
1289 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1292 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1294 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
1298 struct cil_tree_node *level = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next;
1318 struct cil_db *test_db;
1319 cil_db_init(&test_db);
1321 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1324 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1326 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
1327 struct cil_tree_node *level = test_db->ast->root->cl_head->next->next->next->next->next->next->next;
1352 struct cil_db *test_db;
1353 cil_db_init(&test_db);
1356 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1358 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1360 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
1361 struct cil_tree_node *level = test_db->ast->root->cl_head->next->next->next->next->next->next->next;
1385 struct cil_db *test_db;
1386 cil_db_init(&test_db);
1388 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1391 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1393 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
1394 struct cil_tree_node *level = test_db->ast->root->cl_head->next->next->next->next->next->next->next;
1414 struct cil_db *test_db;
1415 cil_db_init(&test_db);
1417 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1420 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1422 cil_resolve_senscat(test_db->ast->root->cl_head->next->next, args);
1426 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->next->next->data;
1428 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next->next->next, lvlrange, args);
1443 struct cil_db *test_db;
1444 cil_db_init(&test_db);
1446 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1449 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1451 cil_resolve_senscat(test_db->ast->root->cl_head->next->next, args);
1455 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->next->next->data;
1457 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next->next->next, lvlrange, args);
1472 struct cil_db *test_db;
1473 cil_db_init(&test_db);
1475 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1478 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1480 cil_resolve_senscat(test_db->ast->root->cl_head->next->next, args);
1484 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->next->next->data;
1486 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next->next->next, lvlrange, args);
1499 struct cil_db *test_db;
1500 cil_db_init(&test_db);
1502 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1505 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1507 cil_resolve_senscat(test_db->ast->root->cl_head->next->next, args);
1511 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->data;
1513 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next, lvlrange, args);
1526 struct cil_db *test_db;
1527 cil_db_init(&test_db);
1529 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1532 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1534 cil_resolve_senscat(test_db->ast->root->cl_head->next->next, args);
1536 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->data;
1540 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next, lvlrange, args);
1553 struct cil_db *test_db;
1554 cil_db_init(&test_db);
1556 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1559 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1561 cil_resolve_senscat(test_db->ast->root->cl_head->next->next, args);
1563 struct cil_levelrange *lvlrange = (struct cil_levelrange *)test_db->ast->root->cl_head->next->next->next->data;
1567 int rc = cil_resolve_levelrange(test_db->ast->root->cl_head->next->next->next, lvlrange, args);
1583 struct cil_db *test_db;
1584 cil_db_init(&test_db);
1586 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1589 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1591 int rc = cil_resolve_constrain(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
1606 struct cil_db *test_db;
1607 cil_db_init(&test_db);
1610 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1612 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1614 int rc = cil_resolve_constrain(test_db->ast->root->cl_head->next->next->next->next->next, args);
1630 struct cil_db *test_db;
1631 cil_db_init(&test_db);
1634 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1636 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1638 int rc = cil_resolve_constrain(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
1652 struct cil_db *test_db;
1653 cil_db_init(&test_db);
1656 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1658 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1660 int rc = cil_resolve_constrain(test_db->ast->root->cl_head->next->next->next->next, args);
1679 struct cil_db *test_db;
1680 cil_db_init(&test_db);
1683 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1685 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1687 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->data;
1689 int rc = cil_resolve_context(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, test_context, args);
1709 struct cil_db *test_db;
1710 cil_db_init(&test_db);
1712 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1715 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
1717 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->cl_head->data;
1719 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
1723 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
1727 cil_resolve_senscat(test_db->ast->root->cl_head->next->next, args);
1730 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next;
1732 int rc = cil_resolve_context(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->cl_head, test_context, args);
1754 struct cil_db *test_db;
1755 cil_db_init(&test_db);
1758 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
1760 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1762 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->cl_head->data;
1764 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
1768 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
1772 cil_resolve_senscat(test_db->ast->root->cl_head->next->next, args);
1775 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next;
1777 int rc = cil_resolve_context(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->cl_head, test_context, args);
1799 struct cil_db *test_db;
1800 cil_db_init(&test_db);
1803 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1805 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1807 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->data;
1809 int rc = cil_resolve_context(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, test_context, args);
1829 struct cil_db *test_db;
1830 cil_db_init(&test_db);
1832 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1835 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1837 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->data;
1839 int rc = cil_resolve_context(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, test_context, args);
1857 struct cil_db *test_db;
1858 cil_db_init(&test_db);
1861 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1863 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1865 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->data;
1867 int rc = cil_resolve_context(test_db->ast->root->cl_head->next->next->next->next->next->next->next, test_context, args);
1885 struct cil_db *test_db;
1886 cil_db_init(&test_db);
1889 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1891 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1893 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->data;
1895 int rc = cil_resolve_context(test_db->ast->root->cl_head->next->next->next->next->next->next->next, test_context, args);
1913 struct cil_db *test_db;
1914 cil_db_init(&test_db);
1917 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1919 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1921 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->data;
1923 int rc = cil_resolve_context(test_db->ast->root->cl_head->next->next->next->next->next->next->next, test_context, args);
1942 struct cil_db *test_db;
1943 cil_db_init(&test_db);
1946 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
1948 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1950 cil_resolve_senscat(test_db->ast->root->cl_head->next->next, args);
1954 struct cil_context *test_context = (struct cil_context*)test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->data;
1956 int rc = cil_resolve_context(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, test_context, args);
1970 struct cil_db *test_db;
1971 cil_db_init(&test_db);
1974 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1976 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1978 int rc = cil_resolve_roletransition(test_db->ast->root->cl_head->next->next->next->next, args);
1991 struct cil_db *test_db;
1992 cil_db_init(&test_db);
1995 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
1997 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
1999 int rc = cil_resolve_roletransition(test_db->ast->root->cl_head->next->next->next, args);
2012 struct cil_db *test_db;
2013 cil_db_init(&test_db);
2016 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2018 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2020 int rc = cil_resolve_roletransition(test_db->ast->root->cl_head->next->next->next, args);
2033 struct cil_db *test_db;
2034 cil_db_init(&test_db);
2037 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2039 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2041 int rc = cil_resolve_roletransition(test_db->ast->root->cl_head->next->next->next, args);
2055 struct cil_db *test_db;
2056 cil_db_init(&test_db);
2058 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2061 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2063 int rc = cil_resolve_typeattributeset(test_db->ast->root->cl_head->next->next->next->next, args);
2064 int rc2 = cil_resolve_typeattributeset(test_db->ast->root->cl_head->next->next->next, args);
2081 struct cil_db *test_db;
2082 cil_db_init(&test_db);
2085 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2087 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2089 int rc = cil_resolve_typeattributeset(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
2102 struct cil_db *test_db;
2103 cil_db_init(&test_db);
2106 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2108 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2110 int rc = cil_resolve_typeattributeset(test_db->ast->root->cl_head->next->next->next, args);
2122 struct cil_db *test_db;
2123 cil_db_init(&test_db);
2126 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2128 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2130 int rc = cil_resolve_typeattributeset(test_db->ast->root->cl_head->next->next, args);
2141 struct cil_db *test_db;
2142 cil_db_init(&test_db);
2145 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2147 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2149 int rc = cil_resolve_typeattributeset(test_db->ast->root->cl_head->next, args);
2160 struct cil_db *test_db;
2161 cil_db_init(&test_db);
2164 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2166 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2168 int rc = cil_resolve_typeattributeset(test_db->ast->root->cl_head->next, args);
2181 struct cil_db *test_db;
2182 cil_db_init(&test_db);
2184 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2187 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2189 int rc = cil_resolve_typeattributeset(test_db->ast->root->cl_head->next->next->next, args);
2201 struct cil_db *test_db;
2202 cil_db_init(&test_db);
2204 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2207 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2209 int rc = cil_resolve_typeattributeset(test_db->ast->root->cl_head->next->next, args);
2221 struct cil_db *test_db;
2222 cil_db_init(&test_db);
2225 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
2227 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2229 int rc = cil_resolve_typealias(test_db->ast->root->cl_head->cl_head, args);
2240 struct cil_db *test_db;
2241 cil_db_init(&test_db);
2244 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
2246 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2248 int rc = cil_resolve_typealias(test_db->ast->root->cl_head->cl_head, args);
2260 struct cil_db *test_db;
2261 cil_db_init(&test_db);
2264 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2266 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2268 int rc = cil_resolve_typebounds(test_db->ast->root->cl_head->next->next, args);
2281 struct cil_db *test_db;
2282 cil_db_init(&test_db);
2285 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2287 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2289 int rc = cil_resolve_typebounds(test_db->ast->root->cl_head->next->next, args);
2290 int rc2 = cil_resolve_typebounds(test_db->ast->root->cl_head->next->next->next, args);
2302 struct cil_db *test_db;
2303 cil_db_init(&test_db);
2306 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2308 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2310 int rc = cil_resolve_typebounds(test_db->ast->root->cl_head->next, args);
2321 struct cil_db *test_db;
2322 cil_db_init(&test_db);
2325 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2327 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2329 int rc = cil_resolve_typebounds(test_db->ast->root->cl_head->next, args);
2340 struct cil_db *test_db;
2341 cil_db_init(&test_db);
2344 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
2346 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2348 int rc = cil_resolve_typepermissive(test_db->ast->root->cl_head->next, args);
2359 struct cil_db *test_db;
2360 cil_db_init(&test_db);
2363 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2365 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2367 int rc = cil_resolve_typepermissive(test_db->ast->root->cl_head->next, args);
2381 struct cil_db *test_db;
2382 cil_db_init(&test_db);
2385 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2387 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2389 int rc = cil_resolve_nametypetransition(test_db->ast->root->cl_head->next->next->next->next, args);
2403 struct cil_db *test_db;
2404 cil_db_init(&test_db);
2407 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2409 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2411 int rc = cil_resolve_nametypetransition(test_db->ast->root->cl_head->next->next->next->next, args);
2425 struct cil_db *test_db;
2426 cil_db_init(&test_db);
2429 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2431 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2433 int rc = cil_resolve_nametypetransition(test_db->ast->root->cl_head->next->next->next->next, args);
2447 struct cil_db *test_db;
2448 cil_db_init(&test_db);
2451 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2453 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2455 int rc = cil_resolve_nametypetransition(test_db->ast->root->cl_head->next->next->next->next, args);
2469 struct cil_db *test_db;
2470 cil_db_init(&test_db);
2473 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2475 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2477 int rc = cil_resolve_nametypetransition(test_db->ast->root->cl_head->next->next->next->next, args);
2494 struct cil_db *test_db;
2495 cil_db_init(&test_db);
2498 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2500 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2502 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
2522 struct cil_db *test_db;
2523 cil_db_init(&test_db);
2526 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
2528 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2530 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
2534 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
2538 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
2541 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next;
2543 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->cl_head, args);
2565 struct cil_db *test_db;
2566 cil_db_init(&test_db);
2569 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
2571 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2573 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
2577 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
2581 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
2584 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next;
2586 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->cl_head, args);
2606 struct cil_db *test_db;
2607 cil_db_init(&test_db);
2610 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2612 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2614 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2632 struct cil_db *test_db;
2633 cil_db_init(&test_db);
2636 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2638 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2640 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2657 struct cil_db *test_db;
2658 cil_db_init(&test_db);
2661 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2663 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2665 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
2682 struct cil_db *test_db;
2683 cil_db_init(&test_db);
2686 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2688 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2690 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
2707 struct cil_db *test_db;
2708 cil_db_init(&test_db);
2711 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2713 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2715 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
2734 struct cil_db *test_db;
2735 cil_db_init(&test_db);
2738 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
2740 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2742 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2746 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2750 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
2753 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next;
2755 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->cl_head, args);
2776 struct cil_db *test_db;
2777 cil_db_init(&test_db);
2780 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
2782 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2784 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2788 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2792 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
2795 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next;
2797 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->cl_head, args);
2818 struct cil_db *test_db;
2819 cil_db_init(&test_db);
2822 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
2824 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2826 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2830 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2834 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
2837 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next;
2839 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->cl_head, args);
2860 struct cil_db *test_db;
2861 cil_db_init(&test_db);
2864 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
2866 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2868 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2872 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
2876 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
2879 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next->next;
2881 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->cl_head, args);
2900 struct cil_db *test_db;
2901 cil_db_init(&test_db);
2904 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2906 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2908 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
2925 struct cil_db *test_db;
2926 cil_db_init(&test_db);
2929 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
2931 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2933 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
2950 struct cil_db *test_db;
2951 cil_db_init(&test_db);
2954 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
2956 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2958 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
2962 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
2979 struct cil_db *test_db;
2980 cil_db_init(&test_db);
2983 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
2985 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
2987 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
2991 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
3008 struct cil_db *test_db;
3009 cil_db_init(&test_db);
3012 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
3014 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3016 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
3020 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
3037 struct cil_db *test_db;
3038 cil_db_init(&test_db);
3041 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
3043 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3045 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
3049 int rc = cil_resolve_rangetransition(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
3061 struct cil_db *test_db;
3062 cil_db_init(&test_db);
3065 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
3067 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3069 int rc = cil_resolve_classcommon(test_db->ast->root->cl_head->next->next, args);
3080 struct cil_db *test_db;
3081 cil_db_init(&test_db);
3084 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
3086 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3088 int rc = cil_resolve_classcommon(test_db->ast->root->cl_head->next, args);
3099 struct cil_db *test_db;
3100 cil_db_init(&test_db);
3103 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
3105 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3107 int rc = cil_resolve_classcommon(test_db->ast->root->cl_head->next, args);
3120 struct cil_db *test_db;
3121 cil_db_init(&test_db);
3124 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3126 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3128 struct cil_classpermset *cps = test_db->ast->root->cl_head->next->next->data;
3130 int rc = cil_resolve_classpermset(test_db->ast->root->cl_head->next->next->next, cps, args);
3144 struct cil_db *test_db;
3145 cil_db_init(&test_db);
3148 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3150 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3152 struct cil_classpermset *cps = test_db->ast->root->cl_head->next->next->data;
3154 int rc = cil_resolve_classpermset(test_db->ast->root->cl_head->next->next->next, cps, args);
3167 struct cil_db *test_db;
3168 cil_db_init(&test_db);
3171 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3173 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3175 struct cil_classpermset *cps = test_db->ast->root->cl_head->next->next->data;
3177 int rc = cil_resolve_classpermset(test_db->ast->root->cl_head->next->next->next, cps, args);
3190 struct cil_db *test_db;
3191 cil_db_init(&test_db);
3194 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3196 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3201 int rc = cil_resolve_classpermset(test_db->ast->root->cl_head->next->next->next, cps, args);
3213 struct cil_db *test_db;
3214 cil_db_init(&test_db);
3217 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3219 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3221 struct cil_classpermset *cps = ((struct cil_classmapping*)test_db->ast->root->cl_head->next->data)->classpermsets_str->head->data;
3223 int rc = cil_resolve_classpermset(test_db->ast->root->cl_head->next, cps, args);
3236 struct cil_db *test_db;
3237 cil_db_init(&test_db);
3240 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3242 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3244 struct cil_classpermset *cps = ((struct cil_classmapping*)test_db->ast->root->cl_head->next->data)->classpermsets_str->head->data;
3246 int rc = cil_resolve_classpermset(test_db->ast->root->cl_head->next, cps, args);
3258 struct cil_db *test_db;
3259 cil_db_init(&test_db);
3262 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3264 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3266 struct cil_classpermset *cps = ((struct cil_classmapping*)test_db->ast->root->cl_head->next->data)->classpermsets_str->head->data;
3268 int rc = cil_resolve_classpermset(test_db->ast->root->cl_head->next, cps, args);
3281 struct cil_db *test_db;
3282 cil_db_init(&test_db);
3285 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3287 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3289 int rc = cil_resolve_avrule(test_db->ast->root->cl_head->next->next->next, args);
3303 struct cil_db *test_db;
3304 cil_db_init(&test_db);
3307 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3309 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3311 int rc = cil_resolve_avrule(test_db->ast->root->cl_head->next->next->next->next, args);
3325 struct cil_db *test_db;
3326 cil_db_init(&test_db);
3329 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3331 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3333 int rc = cil_resolve_avrule(test_db->ast->root->cl_head->next->next->next->next, args);
3347 struct cil_db *test_db;
3348 cil_db_init(&test_db);
3351 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3353 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3355 int rc = cil_resolve_avrule(test_db->ast->root->cl_head->next->next->next->next, args);
3368 struct cil_db *test_db;
3369 cil_db_init(&test_db);
3372 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3374 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3376 int rc = cil_resolve_avrule(test_db->ast->root->cl_head->next->next->next, args);
3389 struct cil_db *test_db;
3390 cil_db_init(&test_db);
3393 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3395 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3397 int rc = cil_resolve_avrule(test_db->ast->root->cl_head->next->next->next, args);
3410 struct cil_db *test_db;
3411 cil_db_init(&test_db);
3414 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3416 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3418 int rc = cil_resolve_avrule(test_db->ast->root->cl_head->next->next->next, args);
3431 struct cil_db *test_db;
3432 cil_db_init(&test_db);
3435 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3437 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3439 int rc = cil_resolve_avrule(test_db->ast->root->cl_head->next->next->next, args);
3453 struct cil_db *test_db;
3454 cil_db_init(&test_db);
3457 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3459 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3461 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next->next, args);
3474 struct cil_db *test_db;
3475 cil_db_init(&test_db);
3478 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3480 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3482 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3495 struct cil_db *test_db;
3496 cil_db_init(&test_db);
3499 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3501 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3503 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3516 struct cil_db *test_db;
3517 cil_db_init(&test_db);
3520 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3522 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3524 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3537 struct cil_db *test_db;
3538 cil_db_init(&test_db);
3541 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3543 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3545 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3559 struct cil_db *test_db;
3560 cil_db_init(&test_db);
3563 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3565 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3567 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next->next, args);
3580 struct cil_db *test_db;
3581 cil_db_init(&test_db);
3584 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3586 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3588 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3601 struct cil_db *test_db;
3602 cil_db_init(&test_db);
3605 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3607 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3609 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3622 struct cil_db *test_db;
3623 cil_db_init(&test_db);
3626 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3628 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3630 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3643 struct cil_db *test_db;
3644 cil_db_init(&test_db);
3647 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3649 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3651 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3665 struct cil_db *test_db;
3666 cil_db_init(&test_db);
3669 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3671 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3673 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next->next, args);
3686 struct cil_db *test_db;
3687 cil_db_init(&test_db);
3690 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3692 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3694 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3707 struct cil_db *test_db;
3708 cil_db_init(&test_db);
3711 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3713 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3715 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3728 struct cil_db *test_db;
3729 cil_db_init(&test_db);
3732 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3734 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3736 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3749 struct cil_db *test_db;
3750 cil_db_init(&test_db);
3753 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3755 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3757 int rc = cil_resolve_type_rule(test_db->ast->root->cl_head->next->next->next, args);
3775 struct cil_db *test_db;
3776 cil_db_init(&test_db);
3779 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3781 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3783 int rc = cil_resolve_filecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
3801 struct cil_db *test_db;
3802 cil_db_init(&test_db);
3805 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3807 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3809 int rc = cil_resolve_filecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
3826 struct cil_db *test_db;
3827 cil_db_init(&test_db);
3830 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3832 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3834 int rc = cil_resolve_filecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
3850 struct cil_db *test_db;
3851 cil_db_init(&test_db);
3853 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3856 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3858 int rc = cil_resolve_filecon(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
3876 struct cil_db *test_db;
3877 cil_db_init(&test_db);
3880 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3882 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3884 int rc = cil_resolve_portcon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
3902 struct cil_db *test_db;
3903 cil_db_init(&test_db);
3906 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3908 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3910 int rc = cil_resolve_portcon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
3927 struct cil_db *test_db;
3928 cil_db_init(&test_db);
3931 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3933 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3935 int rc = cil_resolve_portcon(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
3951 struct cil_db *test_db;
3952 cil_db_init(&test_db);
3955 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3957 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3959 int rc = cil_resolve_portcon(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
3977 struct cil_db *test_db;
3978 cil_db_init(&test_db);
3981 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
3983 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
3985 int rc = cil_resolve_genfscon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
4003 struct cil_db *test_db;
4004 cil_db_init(&test_db);
4007 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4009 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4011 int rc = cil_resolve_genfscon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
4028 struct cil_db *test_db;
4029 cil_db_init(&test_db);
4032 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4034 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4036 int rc = cil_resolve_genfscon(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
4052 struct cil_db *test_db;
4053 cil_db_init(&test_db);
4056 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4058 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4060 int rc = cil_resolve_genfscon(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
4080 struct cil_db *test_db;
4081 cil_db_init(&test_db);
4084 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4086 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4088 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, args);
4108 struct cil_db *test_db;
4109 cil_db_init(&test_db);
4112 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4114 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4116 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, args);
4135 struct cil_db *test_db;
4136 cil_db_init(&test_db);
4139 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4141 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4143 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
4162 struct cil_db *test_db;
4163 cil_db_init(&test_db);
4166 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4168 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4170 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
4189 struct cil_db *test_db;
4190 cil_db_init(&test_db);
4193 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4195 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4197 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
4216 struct cil_db *test_db;
4217 cil_db_init(&test_db);
4220 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4222 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4224 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
4243 struct cil_db *test_db;
4244 cil_db_init(&test_db);
4247 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4249 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4251 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
4271 struct cil_db *test_db;
4272 cil_db_init(&test_db);
4275 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4277 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4279 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, args);
4299 struct cil_db *test_db;
4300 cil_db_init(&test_db);
4303 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4305 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4307 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, args);
4326 struct cil_db *test_db;
4327 cil_db_init(&test_db);
4330 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4332 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4334 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
4352 struct cil_db *test_db;
4353 cil_db_init(&test_db);
4356 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4358 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4360 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
4377 struct cil_db *test_db;
4378 cil_db_init(&test_db);
4381 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4383 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4385 int rc = cil_resolve_nodecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
4397 struct cil_db *test_db;
4398 cil_db_init(&test_db);
4401 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4403 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4405 int rc = cil_resolve_netifcon(test_db->ast->root->cl_head->next->next, args);
4416 struct cil_db *test_db;
4417 cil_db_init(&test_db);
4420 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4422 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4424 int rc = cil_resolve_netifcon(test_db->ast->root->cl_head->next, args);
4435 struct cil_db *test_db;
4436 cil_db_init(&test_db);
4439 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4441 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4443 int rc = cil_resolve_netifcon(test_db->ast->root->cl_head->next, args);
4462 struct cil_db *test_db;
4463 cil_db_init(&test_db);
4466 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4468 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4470 int rc = cil_resolve_netifcon(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
4488 struct cil_db *test_db;
4489 cil_db_init(&test_db);
4492 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4494 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4496 int rc = cil_resolve_netifcon(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
4515 struct cil_db *test_db;
4516 cil_db_init(&test_db);
4519 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4521 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4523 int rc = cil_resolve_netifcon(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
4534 struct cil_db *test_db;
4535 cil_db_init(&test_db);
4538 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4540 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4542 int rc = cil_resolve_netifcon(test_db->ast->root->cl_head, args);
4553 struct cil_db *test_db;
4554 cil_db_init(&test_db);
4557 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4559 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4561 int rc = cil_resolve_pirqcon(test_db->ast->root->cl_head->next, args);
4572 struct cil_db *test_db;
4573 cil_db_init(&test_db);
4576 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4578 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4580 int rc = cil_resolve_pirqcon(test_db->ast->root->cl_head->next, args);
4598 struct cil_db *test_db;
4599 cil_db_init(&test_db);
4601 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4604 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
4606 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
4610 int rc = cil_resolve_pirqcon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
4620 struct cil_db *test_db;
4621 cil_db_init(&test_db);
4624 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4626 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4628 int rc = cil_resolve_pirqcon(test_db->ast->root->cl_head, args);
4639 struct cil_db *test_db;
4640 cil_db_init(&test_db);
4643 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4645 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4647 int rc = cil_resolve_iomemcon(test_db->ast->root->cl_head->next, args);
4658 struct cil_db *test_db;
4659 cil_db_init(&test_db);
4662 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4664 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4666 int rc = cil_resolve_iomemcon(test_db->ast->root->cl_head->next, args);
4684 struct cil_db *test_db;
4685 cil_db_init(&test_db);
4688 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
4690 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4692 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
4696 int rc = cil_resolve_iomemcon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
4706 struct cil_db *test_db;
4707 cil_db_init(&test_db);
4710 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4712 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4714 int rc = cil_resolve_iomemcon(test_db->ast->root->cl_head, args);
4725 struct cil_db *test_db;
4726 cil_db_init(&test_db);
4729 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4731 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4733 int rc = cil_resolve_ioportcon(test_db->ast->root->cl_head->next, args);
4744 struct cil_db *test_db;
4745 cil_db_init(&test_db);
4748 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4750 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4752 int rc = cil_resolve_ioportcon(test_db->ast->root->cl_head->next, args);
4770 struct cil_db *test_db;
4771 cil_db_init(&test_db);
4774 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
4776 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4778 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
4782 int rc = cil_resolve_ioportcon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
4792 struct cil_db *test_db;
4793 cil_db_init(&test_db);
4796 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4798 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4800 int rc = cil_resolve_ioportcon(test_db->ast->root->cl_head, args);
4811 struct cil_db *test_db;
4812 cil_db_init(&test_db);
4815 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4817 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4819 int rc = cil_resolve_pcidevicecon(test_db->ast->root->cl_head->next, args);
4830 struct cil_db *test_db;
4831 cil_db_init(&test_db);
4834 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4836 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4838 int rc = cil_resolve_pcidevicecon(test_db->ast->root->cl_head->next, args);
4856 struct cil_db *test_db;
4857 cil_db_init(&test_db);
4860 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
4862 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4864 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next->next->next, args);
4868 int rc = cil_resolve_pcidevicecon(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
4878 struct cil_db *test_db;
4879 cil_db_init(&test_db);
4882 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4884 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4886 int rc = cil_resolve_pcidevicecon(test_db->ast->root->cl_head, args);
4905 struct cil_db *test_db;
4906 cil_db_init(&test_db);
4909 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4911 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4913 int rc = cil_resolve_fsuse(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
4932 struct cil_db *test_db;
4933 cil_db_init(&test_db);
4936 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4938 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4940 int rc = cil_resolve_fsuse(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
4959 struct cil_db *test_db;
4960 cil_db_init(&test_db);
4963 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4965 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4967 int rc = cil_resolve_fsuse(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
4985 struct cil_db *test_db;
4986 cil_db_init(&test_db);
4989 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
4991 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
4993 int rc = cil_resolve_fsuse(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
5011 struct cil_db *test_db;
5012 cil_db_init(&test_db);
5015 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
5017 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5019 int rc = cil_resolve_fsuse(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
5037 struct cil_db *test_db;
5038 cil_db_init(&test_db);
5041 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
5043 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5045 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
5049 int rc = cil_resolve_sidcontext(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
5069 struct cil_db *test_db;
5070 cil_db_init(&test_db);
5073 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
5075 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5077 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
5081 struct cil_tree_node *level = test_db->ast->root->cl_head->next->next->next->next->next->next->next;
5084 int rc = cil_resolve_sidcontext(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, args);
5103 struct cil_db *test_db;
5104 cil_db_init(&test_db);
5107 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
5109 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5111 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
5115 struct cil_tree_node *context = test_db->ast->root->cl_head->next->next->next->next->next->next->next;
5118 int rc = cil_resolve_sidcontext(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
5137 struct cil_db *test_db;
5138 cil_db_init(&test_db);
5141 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
5143 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5145 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
5149 struct cil_tree_node *context = test_db->ast->root->cl_head->next->next->next->next->next->next->next;
5152 int rc = cil_resolve_sidcontext(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, args);
5170 struct cil_db *test_db;
5171 cil_db_init(&test_db);
5174 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
5176 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5178 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
5180 int rc = cil_resolve_sidcontext(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
5192 struct cil_db *test_db;
5193 cil_db_init(&test_db);
5196 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5198 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5200 int rc = cil_resolve_blockinherit(test_db->ast->root->cl_head->next->cl_head->next, args);
5212 struct cil_db *test_db;
5213 cil_db_init(&test_db);
5216 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5218 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5220 int rc = cil_resolve_blockinherit(test_db->ast->root->cl_head->next->cl_head->next, args);
5232 struct cil_db *test_db;
5233 cil_db_init(&test_db);
5236 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5238 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5240 int rc = cil_resolve_in(test_db->ast->root->cl_head->next->next, args);
5251 struct cil_db *test_db;
5252 cil_db_init(&test_db);
5255 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5257 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5259 int rc = cil_resolve_in(test_db->ast->root->cl_head->next, args);
5272 struct cil_db *test_db;
5273 cil_db_init(&test_db);
5276 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5278 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5280 int rc = cil_resolve_in(test_db->ast->root->cl_head->next->next, args);
5292 struct cil_db *test_db;
5293 cil_db_init(&test_db);
5296 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5298 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5300 int rc = cil_resolve_in(test_db->ast->root->cl_head->next->next, args);
5315 struct cil_db *test_db;
5316 cil_db_init(&test_db);
5319 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5321 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5323 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5338 struct cil_db *test_db;
5339 cil_db_init(&test_db);
5342 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5344 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5346 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5361 struct cil_db *test_db;
5362 cil_db_init(&test_db);
5365 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5367 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5369 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5384 struct cil_db *test_db;
5385 cil_db_init(&test_db);
5388 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5390 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5392 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5407 struct cil_db *test_db;
5408 cil_db_init(&test_db);
5411 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5413 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5415 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5430 struct cil_db *test_db;
5431 cil_db_init(&test_db);
5434 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5436 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5438 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5454 struct cil_db *test_db;
5455 cil_db_init(&test_db);
5458 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5460 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5462 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next, args);
5477 struct cil_db *test_db;
5478 cil_db_init(&test_db);
5481 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5483 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5485 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next, args);
5500 struct cil_db *test_db;
5501 cil_db_init(&test_db);
5504 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5506 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5508 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next, args);
5527 struct cil_db *test_db;
5528 cil_db_init(&test_db);
5531 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5533 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5535 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
5554 struct cil_db *test_db;
5555 cil_db_init(&test_db);
5558 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5560 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5562 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
5581 struct cil_db *test_db;
5582 cil_db_init(&test_db);
5585 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5587 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5589 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
5611 struct cil_db *test_db;
5612 cil_db_init(&test_db);
5615 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5617 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5619 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next->next, args);
5640 struct cil_db *test_db;
5641 cil_db_init(&test_db);
5644 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5646 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5648 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, args);
5669 struct cil_db *test_db;
5670 cil_db_init(&test_db);
5673 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5675 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5677 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, args);
5692 struct cil_db *test_db;
5693 cil_db_init(&test_db);
5696 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5698 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5700 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5713 struct cil_db *test_db;
5714 cil_db_init(&test_db);
5717 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5719 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5721 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next, args);
5737 struct cil_db *test_db;
5738 cil_db_init(&test_db);
5741 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5743 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5745 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next, args);
5760 struct cil_db *test_db;
5761 cil_db_init(&test_db);
5764 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5766 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5768 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next, args);
5783 struct cil_db *test_db;
5784 cil_db_init(&test_db);
5787 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5789 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5791 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next, args);
5805 struct cil_db *test_db;
5806 cil_db_init(&test_db);
5809 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5811 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5813 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5827 struct cil_db *test_db;
5828 cil_db_init(&test_db);
5831 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5833 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5835 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5850 struct cil_db *test_db;
5851 cil_db_init(&test_db);
5854 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5856 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5859 cil_resolve_name(test_db->ast->root->cl_head->next->next->next, ((struct cil_call*)test_db->ast->root->cl_head->next->next->next->data)->macro_str, CIL_SYM_BLOCKS, args, &macro_node);
5860 ((struct cil_call*)test_db->ast->root->cl_head->next->next->next->data)->macro = (struct cil_macro*)macro_node->data;
5861 free(((struct cil_call*)test_db->ast->root->cl_head->next->next->next->data)->macro_str);
5862 ((struct cil_call*)test_db->ast->root->cl_head->next->next->next->data)->macro_str = NULL;
5864 ((struct cil_call*)test_db->ast->root->cl_head->next->next->next->data)->macro->params->head->flavor = CIL_NETIFCON;
5866 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5881 struct cil_db *test_db;
5882 cil_db_init(&test_db);
5885 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5887 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5889 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5904 struct cil_db *test_db;
5905 cil_db_init(&test_db);
5908 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5910 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5912 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5927 struct cil_db *test_db;
5928 cil_db_init(&test_db);
5931 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5933 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5935 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
5954 struct cil_db *test_db;
5955 cil_db_init(&test_db);
5958 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5960 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5962 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
5977 struct cil_db *test_db;
5978 cil_db_init(&test_db);
5981 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
5983 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
5987 struct cil_call *new_call = ((struct cil_call*)test_db->ast->root->cl_head->next->next->next->data);
5988 cil_resolve_name(test_db->ast->root->cl_head->next->next->next, new_call->macro_str, CIL_SYM_BLOCKS, args, &macro_node);
5993 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6008 struct cil_db *test_db;
6009 cil_db_init(&test_db);
6012 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6014 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6018 struct cil_call *new_call = ((struct cil_call*)test_db->ast->root->cl_head->next->next->next->data);
6019 cil_resolve_name(test_db->ast->root->cl_head->next->next->next, new_call->macro_str, CIL_SYM_BLOCKS, args, &macro_node);
6024 int rc = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6039 struct cil_db *test_db;
6040 cil_db_init(&test_db);
6043 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6045 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6047 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6051 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6066 struct cil_db *test_db;
6067 cil_db_init(&test_db);
6070 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6072 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6074 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6078 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6093 struct cil_db *test_db;
6094 cil_db_init(&test_db);
6097 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6099 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6101 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6105 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6120 struct cil_db *test_db;
6121 cil_db_init(&test_db);
6124 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6126 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6128 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6132 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6147 struct cil_db *test_db;
6148 cil_db_init(&test_db);
6151 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6153 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6155 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6159 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6175 struct cil_db *test_db;
6176 cil_db_init(&test_db);
6179 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6181 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6183 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next, args);
6187 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next, args);
6202 struct cil_db *test_db;
6203 cil_db_init(&test_db);
6206 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6208 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6210 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next, args);
6214 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next, args);
6230 struct cil_db *test_db;
6231 cil_db_init(&test_db);
6234 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6236 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6238 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next, args);
6242 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next, args);
6257 struct cil_db *test_db;
6258 cil_db_init(&test_db);
6261 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6263 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6265 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next, args);
6269 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next, args);
6284 struct cil_db *test_db;
6285 cil_db_init(&test_db);
6288 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6290 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6292 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next, args);
6296 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next, args);
6310 struct cil_db *test_db;
6311 cil_db_init(&test_db);
6314 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6316 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6318 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6322 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6337 struct cil_db *test_db;
6338 cil_db_init(&test_db);
6341 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6343 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6345 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6349 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6363 struct cil_db *test_db;
6364 cil_db_init(&test_db);
6367 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6369 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6371 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6375 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6395 struct cil_db *test_db;
6396 cil_db_init(&test_db);
6399 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6401 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6403 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
6407 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
6426 struct cil_db *test_db;
6427 cil_db_init(&test_db);
6430 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6432 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6434 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
6438 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
6460 struct cil_db *test_db;
6461 cil_db_init(&test_db);
6464 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6466 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6468 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next->next, args);
6472 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next->next, args);
6493 struct cil_db *test_db;
6494 cil_db_init(&test_db);
6497 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6499 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6501 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, args);
6505 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, args);
6524 struct cil_db *test_db;
6525 cil_db_init(&test_db);
6528 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6530 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6532 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
6533 ((struct cil_args*)((struct cil_list_item *)((struct cil_call *)test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->data)->args->head)->data)->flavor = CIL_SYM_UNKNOWN;
6537 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
6552 struct cil_db *test_db;
6553 cil_db_init(&test_db);
6556 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6558 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6560 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6564 int rc = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6579 struct cil_db *test_db;
6580 cil_db_init(&test_db);
6583 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6585 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6590 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6594 cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6595 int rc = cil_resolve_name_call_args((struct cil_call *)test_db->ast->root->cl_head->next->next->next->data, "a", CIL_SYM_TYPES, &test_node);
6614 struct cil_db *test_db;
6615 cil_db_init(&test_db);
6618 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6620 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6625 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
6629 cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, args);
6630 int rc = cil_resolve_name_call_args((struct cil_call *)test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->data, "lvl_h", CIL_SYM_LEVELS, &test_node);
6645 struct cil_db *test_db;
6646 cil_db_init(&test_db);
6649 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6650 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6655 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6659 cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6660 int rc = cil_resolve_name_call_args((struct cil_call *)test_db->ast->root->cl_head->next->next->next->data, "qaz", CIL_LEVEL, &test_node);
6675 struct cil_db *test_db;
6676 cil_db_init(&test_db);
6678 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6681 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6686 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6690 cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6706 struct cil_db *test_db;
6707 cil_db_init(&test_db);
6710 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6712 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6717 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6721 cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6722 int rc = cil_resolve_name_call_args((struct cil_call *)test_db->ast->root->cl_head->next->next->next->data, NULL, CIL_LEVEL, &test_node);
6737 struct cil_db *test_db;
6738 cil_db_init(&test_db);
6741 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6743 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6748 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6752 cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6753 int rc = cil_resolve_name_call_args((struct cil_call *)test_db->ast->root->cl_head->next->next->next->data, "qas", CIL_LEVEL, &test_node);
6768 struct cil_db *test_db;
6769 cil_db_init(&test_db);
6772 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
6774 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6779 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
6783 cil_resolve_call2(test_db->ast->root->cl_head->next->next->next, args);
6784 int rc = cil_resolve_name_call_args((struct cil_call *)test_db->ast->root->cl_head->next->next->next->data, "qas", CIL_TYPE, &test_node);
6798 struct cil_db *test_db;
6799 cil_db_init(&test_db);
6802 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
6804 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6806 struct cil_booleanif *bif = (struct cil_booleanif*)test_db->ast->root->cl_head->next->next->next->data;
6808 int rc = cil_resolve_expr_stack(bif->expr_stack, test_db->ast->root->cl_head->next->next->next, args);
6823 struct cil_db *test_db;
6824 cil_db_init(&test_db);
6827 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
6829 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6831 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data;
6833 int rc = cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args);
6847 struct cil_db *test_db;
6848 cil_db_init(&test_db);
6851 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
6853 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6855 struct cil_constrain *cons = (struct cil_constrain*)test_db->ast->root->cl_head->next->next->next->next->data;
6857 int rc = cil_resolve_expr_stack(cons->expr, test_db->ast->root->cl_head->next->next->next->next, args);
6871 struct cil_db *test_db;
6872 cil_db_init(&test_db);
6875 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
6877 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6879 struct cil_constrain *cons = (struct cil_constrain*)test_db->ast->root->cl_head->next->next->next->next->data;
6881 int rc = cil_resolve_expr_stack(cons->expr, test_db->ast->root->cl_head->next->next->next->next, args);
6895 struct cil_db *test_db;
6896 cil_db_init(&test_db);
6899 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
6901 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6903 struct cil_constrain *cons = (struct cil_constrain*)test_db->ast->root->cl_head->next->next->next->next->data;
6905 int rc = cil_resolve_expr_stack(cons->expr, test_db->ast->root->cl_head->next->next->next->next, args);
6920 struct cil_db *test_db;
6921 cil_db_init(&test_db);
6924 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
6926 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6928 struct cil_booleanif *bif = (struct cil_booleanif*)test_db->ast->root->cl_head->next->next->next->data;
6930 int rc = cil_resolve_expr_stack(bif->expr_stack,test_db->ast->root->cl_head->next->next->next, args);
6945 struct cil_db *test_db;
6946 cil_db_init(&test_db);
6949 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
6951 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6953 struct cil_booleanif *bif = (struct cil_booleanif*)test_db->ast->root->cl_head->next->next->next->data;
6956 int rc = cil_resolve_expr_stack(bif->expr_stack,test_db->ast->root->cl_head->next->next->next, args);
6971 struct cil_db *test_db;
6972 cil_db_init(&test_db);
6975 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
6977 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
6979 int rc = cil_resolve_boolif(test_db->ast->root->cl_head->next->next->next, args);
6994 struct cil_db *test_db;
6995 cil_db_init(&test_db);
6998 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
7000 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7002 int rc = cil_resolve_boolif(test_db->ast->root->cl_head->next->next->next, args);
7017 struct cil_db *test_db;
7018 cil_db_init(&test_db);
7022 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7024 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7026 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data;
7028 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args);
7044 struct cil_db *test_db;
7045 cil_db_init(&test_db);
7049 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7051 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7053 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data;
7055 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args);
7071 struct cil_db *test_db;
7072 cil_db_init(&test_db);
7076 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7078 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7080 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data;
7082 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args);
7098 struct cil_db *test_db;
7099 cil_db_init(&test_db);
7103 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7105 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7107 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data;
7109 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args);
7125 struct cil_db *test_db;
7126 cil_db_init(&test_db);
7130 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7132 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7134 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data;
7136 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args);
7152 struct cil_db *test_db;
7153 cil_db_init(&test_db);
7157 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7159 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7161 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data;
7163 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args);
7180 struct cil_db *test_db;
7181 cil_db_init(&test_db);
7185 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7187 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7189 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->next->data;
7191 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next->next, args);
7208 struct cil_db *test_db;
7209 cil_db_init(&test_db);
7213 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7215 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7217 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->next->data;
7219 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next->next, args);
7234 struct cil_db *test_db;
7235 cil_db_init(&test_db);
7239 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7251 struct cil_tunableif *tif = test_db->ast->root->cl_head->next->next->next->next->data;
7257 cil_resolve_expr_stack(test_db, tif->expr_stack, test_db->ast->root->cl_head->next->next->next, NULL);
7273 struct cil_db *test_db;
7274 cil_db_init(&test_db);
7277 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7279 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7281 int rc = cil_resolve_tunif(test_db->ast->root->cl_head->next->next->next, args);
7296 struct cil_db *test_db;
7297 cil_db_init(&test_db);
7300 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7302 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7304 int rc = cil_resolve_tunif(test_db->ast->root->cl_head->next->next->next, args);
7319 struct cil_db *test_db;
7320 cil_db_init(&test_db);
7323 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
7325 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7327 int rc = cil_resolve_tunif(test_db->ast->root->cl_head->next->next->next, args);
7341 struct cil_db *test_db;
7342 cil_db_init(&test_db);
7344 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7356 struct tunableif *tif = test_db->ast->root->cl_head->next->next->next->data;
7362 int rc = cil_resolve_tunif(test_db, test_db->ast->root->cl_head->next->next->next, NULL);
7374 struct cil_db *test_db;
7375 cil_db_init(&test_db);
7378 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7380 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7382 int rc = cil_resolve_userbounds(test_db->ast->root->cl_head->next->next, args);
7394 struct cil_db *test_db;
7395 cil_db_init(&test_db);
7398 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7400 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7402 cil_resolve_userbounds(test_db->ast->root->cl_head->next->next, args);
7403 int rc = cil_resolve_userbounds(test_db->ast->root->cl_head->next->next, args);
7415 struct cil_db *test_db;
7416 cil_db_init(&test_db);
7419 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7421 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7423 int rc = cil_resolve_userbounds(test_db->ast->root->cl_head->next->next, args);
7435 struct cil_db *test_db;
7436 cil_db_init(&test_db);
7439 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7441 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7443 int rc = cil_resolve_userbounds(test_db->ast->root->cl_head->next->next, args);
7455 struct cil_db *test_db;
7456 cil_db_init(&test_db);
7459 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7461 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7463 int rc = cil_resolve_roletype(test_db->ast->root->cl_head->next->next, args);
7474 struct cil_db *test_db;
7475 cil_db_init(&test_db);
7478 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7480 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7482 int rc = cil_resolve_roletype(test_db->ast->root->cl_head->next, args);
7493 struct cil_db *test_db;
7494 cil_db_init(&test_db);
7497 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7499 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7501 int rc = cil_resolve_roletype(test_db->ast->root->cl_head->next, args);
7513 struct cil_db *test_db;
7514 cil_db_init(&test_db);
7516 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7519 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7521 int rc = cil_resolve_userrole(test_db->ast->root->cl_head->next->next, args);
7532 struct cil_db *test_db;
7533 cil_db_init(&test_db);
7536 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7538 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7540 int rc = cil_resolve_userrole(test_db->ast->root->cl_head->next, args);
7551 struct cil_db *test_db;
7552 cil_db_init(&test_db);
7555 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
7557 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7559 int rc = cil_resolve_userrole(test_db->ast->root->cl_head->next, args);
7574 struct cil_db *test_db;
7575 cil_db_init(&test_db);
7578 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7580 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7582 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7586 int rc = cil_resolve_userlevel(test_db->ast->root->cl_head->next->next->next->next->next, args);
7602 struct cil_db *test_db;
7603 cil_db_init(&test_db);
7606 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
7608 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7613 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next, args);
7617 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next, args);
7621 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7624 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next;
7626 int rc = cil_resolve_userlevel(test_db->ast->root->cl_head->next->next->next->next->next->cl_head, args);
7644 struct cil_db *test_db;
7645 cil_db_init(&test_db);
7648 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
7650 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7652 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next, args);
7656 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next, args);
7660 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7663 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next;
7665 int rc = cil_resolve_userlevel(test_db->ast->root->cl_head->next->next->next->next->next->cl_head, args);
7681 struct cil_db *test_db;
7682 cil_db_init(&test_db);
7685 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7687 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7689 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7693 int rc = cil_resolve_userlevel(test_db->ast->root->cl_head->next->next->next->next, args);
7707 struct cil_db *test_db;
7708 cil_db_init(&test_db);
7711 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7713 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7715 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7719 int rc = cil_resolve_userlevel(test_db->ast->root->cl_head->next->next->next->next, args);
7734 struct cil_db *test_db;
7735 cil_db_init(&test_db);
7738 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7740 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7742 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7746 int rc = cil_resolve_userlevel(test_db->ast->root->cl_head->next->next->next->next->next, args);
7761 struct cil_db *test_db;
7762 cil_db_init(&test_db);
7765 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7767 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7769 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7773 int rc = cil_resolve_userlevel(test_db->ast->root->cl_head->next->next->next->next->next, args);
7788 struct cil_db *test_db;
7789 cil_db_init(&test_db);
7792 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7794 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7796 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7797 int rc = cil_resolve_userrange(test_db->ast->root->cl_head->next->next->next->next->next, args);
7815 struct cil_db *test_db;
7816 cil_db_init(&test_db);
7819 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
7821 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7823 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
7827 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
7831 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7834 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next;
7836 int rc = cil_resolve_userrange(test_db->ast->root->cl_head->next->next->next->next->next->next->next->cl_head, args);
7856 struct cil_db *test_db;
7857 cil_db_init(&test_db);
7860 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
7862 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7864 int rc2 = cil_resolve_call1(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
7868 int rc3 = cil_resolve_call2(test_db->ast->root->cl_head->next->next->next->next->next->next->next, args);
7872 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7875 args->callstack = test_db->ast->root->cl_head->next->next->next->next->next->next->next;
7877 int rc = cil_resolve_userrange(test_db->ast->root->cl_head->next->next->next->next->next->next->next->cl_head, args);
7895 struct cil_db *test_db;
7896 cil_db_init(&test_db);
7899 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7901 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7903 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7907 int rc = cil_resolve_userrange(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
7923 struct cil_db *test_db;
7924 cil_db_init(&test_db);
7927 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7929 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7931 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7935 int rc = cil_resolve_userrange(test_db->ast->root->cl_head->next->next->next->next->next->next, args);
7950 struct cil_db *test_db;
7951 cil_db_init(&test_db);
7954 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7956 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7958 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7962 int rc = cil_resolve_userrange(test_db->ast->root->cl_head->next->next->next->next->next, args);
7977 struct cil_db *test_db;
7978 cil_db_init(&test_db);
7981 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
7983 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
7985 cil_resolve_senscat(test_db->ast->root->cl_head->next->next->next, args);
7989 int rc = cil_resolve_userrange(test_db->ast->root->cl_head->next->next->next->next->next, args);
7999 struct cil_db *test_db;
8000 cil_db_init(&test_db);
8002 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8006 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8016 struct cil_db *test_db;
8017 cil_db_init(&test_db);
8019 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8023 ((struct cil_optional *)test_db->ast->root->cl_head->data)->datum.state = CIL_STATE_DISABLED;
8025 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8035 struct cil_db *test_db;
8036 cil_db_init(&test_db);
8038 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8042 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8052 struct cil_db *test_db;
8053 cil_db_init(&test_db);
8055 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8059 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8069 struct cil_db *test_db;
8070 cil_db_init(&test_db);
8072 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8076 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8086 struct cil_db *test_db;
8087 cil_db_init(&test_db);
8089 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8093 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8103 struct cil_db *test_db;
8104 cil_db_init(&test_db);
8106 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8110 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8120 struct cil_db *test_db;
8121 cil_db_init(&test_db);
8123 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8127 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8137 struct cil_db *test_db;
8138 cil_db_init(&test_db);
8140 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8144 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8154 struct cil_db *test_db;
8155 cil_db_init(&test_db);
8157 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8161 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8171 struct cil_db *test_db;
8172 cil_db_init(&test_db);
8174 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8178 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8188 struct cil_db *test_db;
8189 cil_db_init(&test_db);
8191 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8195 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8205 struct cil_db *test_db;
8206 cil_db_init(&test_db);
8208 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8212 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8222 struct cil_db *test_db;
8223 cil_db_init(&test_db);
8225 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8229 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8241 struct cil_db *test_db;
8242 cil_db_init(&test_db);
8244 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8248 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8259 struct cil_db *test_db;
8260 cil_db_init(&test_db);
8262 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8266 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8276 struct cil_db *test_db;
8277 cil_db_init(&test_db);
8279 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8283 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8293 struct cil_db *test_db;
8294 cil_db_init(&test_db);
8296 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8300 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8310 struct cil_db *test_db;
8311 cil_db_init(&test_db);
8313 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8317 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head->cl_head, &finished, NULL);
8327 struct cil_db *test_db;
8328 cil_db_init(&test_db);
8330 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8334 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8344 struct cil_db *test_db;
8345 cil_db_init(&test_db);
8347 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8351 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8361 struct cil_db *test_db;
8362 cil_db_init(&test_db);
8364 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8368 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8378 struct cil_db *test_db;
8379 cil_db_init(&test_db);
8381 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8385 int rc = __cil_disable_children_helper(test_db->ast->root->cl_head, &finished, NULL);
8405 struct cil_db *test_db;
8406 cil_db_init(&test_db);
8409 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
8413 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8415 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8431 struct cil_db *test_db;
8432 cil_db_init(&test_db);
8435 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
8439 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8441 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8457 struct cil_db *test_db;
8458 cil_db_init(&test_db);
8461 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
8465 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8467 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
8471 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8487 struct cil_db *test_db;
8488 cil_db_init(&test_db);
8491 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, NULL, NULL);
8494 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8496 cil_resolve_call1(test_db->ast->root->cl_head->next->next->next, args);
8500 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8515 struct cil_db *test_db;
8516 cil_db_init(&test_db);
8519 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
8522 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8524 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8540 struct cil_db *test_db;
8541 cil_db_init(&test_db);
8544 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
8547 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8549 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8565 struct cil_db *test_db;
8566 cil_db_init(&test_db);
8569 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
8572 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8574 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8590 struct cil_db *test_db;
8591 cil_db_init(&test_db);
8594 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
8598 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8600 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8614 struct cil_db *test_db;
8615 cil_db_init(&test_db);
8618 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
8621 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8623 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8637 struct cil_db *test_db;
8638 cil_db_init(&test_db);
8641 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
8644 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8646 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8660 struct cil_db *test_db;
8661 cil_db_init(&test_db);
8664 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
8667 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8669 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8683 struct cil_db *test_db;
8684 cil_db_init(&test_db);
8687 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
8690 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8692 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8705 struct cil_db *test_db;
8706 cil_db_init(&test_db);
8709 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
8713 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8715 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
8727 struct cil_db *test_db;
8728 cil_db_init(&test_db);
8731 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
8735 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8737 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
8749 struct cil_db *test_db;
8750 cil_db_init(&test_db);
8753 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
8757 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8759 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
8770 struct cil_db *test_db;
8771 cil_db_init(&test_db);
8774 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
8778 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8780 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head, &finished, args);
8792 struct cil_db *test_db;
8793 cil_db_init(&test_db);
8796 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
8800 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8802 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
8813 struct cil_db *test_db;
8814 cil_db_init(&test_db);
8817 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
8820 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8822 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head, &finished, args);
8836 struct cil_db *test_db;
8837 cil_db_init(&test_db);
8840 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
8844 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8846 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8859 struct cil_db *test_db;
8860 cil_db_init(&test_db);
8863 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
8867 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8869 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
8884 struct cil_db *test_db;
8885 cil_db_init(&test_db);
8888 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
8892 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8893 cil_resolve_catorder(test_db->ast->root->cl_head->next->next, args);
8894 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
8898 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8912 struct cil_db *test_db;
8913 cil_db_init(&test_db);
8916 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MLS, &changed, NULL, NULL, NULL);
8920 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8922 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8936 struct cil_db *test_db;
8937 cil_db_init(&test_db);
8940 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
8944 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8946 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
8947 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
8949 __cil_verify_order(test_db->dominance, test_db->ast->root, CIL_SENS);
8952 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
8955 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
8958 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
8972 struct cil_db *test_db;
8973 cil_db_init(&test_db);
8976 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
8980 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
8982 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
8983 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
8985 __cil_verify_order(test_db->dominance, test_db->ast->root, CIL_SENS);
8988 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
8992 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9008 struct cil_db *test_db;
9009 cil_db_init(&test_db);
9012 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
9016 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9018 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
9020 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
9022 __cil_verify_order(test_db->dominance, test_db->ast->root, CIL_SENS);
9025 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
9028 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
9031 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next, &finished, args);
9047 struct cil_db *test_db;
9048 cil_db_init(&test_db);
9051 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
9055 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9057 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
9058 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
9060 __cil_verify_order(test_db->dominance, test_db->ast->root, CIL_SENS);
9063 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
9067 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next, &finished, args);
9084 struct cil_db *test_db;
9085 cil_db_init(&test_db);
9088 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9092 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9094 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next, &finished, args);
9111 struct cil_db *test_db;
9112 cil_db_init(&test_db);
9115 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9119 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9121 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next, &finished, args);
9138 struct cil_db *test_db;
9139 cil_db_init(&test_db);
9142 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9146 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9148 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next, &finished, args);
9165 struct cil_db *test_db;
9166 cil_db_init(&test_db);
9169 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9173 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9175 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next, &finished, args);
9195 struct cil_db *test_db;
9196 cil_db_init(&test_db);
9199 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
9203 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9205 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
9206 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
9208 __cil_verify_order(test_db->dominance, test_db->ast->root, CIL_SENS);
9211 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
9215 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, &finished, args);
9235 struct cil_db *test_db;
9236 cil_db_init(&test_db);
9239 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC1, &changed, NULL, NULL, NULL);
9243 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9245 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
9246 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
9248 __cil_verify_order(test_db->dominance, test_db->ast->root, CIL_SENS);
9251 cil_tree_walk(test_db->ast->root, __cil_resolve_ast_node_helper, NULL, NULL, args);
9255 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, &finished, args);
9272 struct cil_db *test_db;
9273 cil_db_init(&test_db);
9276 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
9280 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9282 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next, &finished, args);
9299 struct cil_db *test_db;
9300 cil_db_init(&test_db);
9303 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
9307 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9309 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next, &finished, args);
9324 struct cil_db *test_db;
9325 cil_db_init(&test_db);
9328 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9332 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9334 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next, &finished, args);
9348 struct cil_db *test_db;
9349 cil_db_init(&test_db);
9352 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9356 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9358 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9372 struct cil_db *test_db;
9373 cil_db_init(&test_db);
9376 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9380 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9382 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9396 struct cil_db *test_db;
9397 cil_db_init(&test_db);
9400 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9404 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9406 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9420 struct cil_db *test_db;
9421 cil_db_init(&test_db);
9424 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9428 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9430 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9443 struct cil_db *test_db;
9444 cil_db_init(&test_db);
9447 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9451 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9453 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
9466 struct cil_db *test_db;
9467 cil_db_init(&test_db);
9470 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
9474 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9476 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->cl_head, &finished, args);
9488 struct cil_db *test_db;
9489 cil_db_init(&test_db);
9492 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
9496 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9498 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->cl_head, &finished, args);
9511 struct cil_db *test_db;
9512 cil_db_init(&test_db);
9515 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9519 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9521 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
9533 struct cil_db *test_db;
9534 cil_db_init(&test_db);
9537 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9541 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9543 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
9555 struct cil_db *test_db;
9556 cil_db_init(&test_db);
9559 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9562 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9564 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
9576 struct cil_db *test_db;
9577 cil_db_init(&test_db);
9580 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9584 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9586 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
9604 struct cil_db *test_db;
9605 cil_db_init(&test_db);
9608 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9612 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9614 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next, &finished, args);
9632 struct cil_db *test_db;
9633 cil_db_init(&test_db);
9636 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9640 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9642 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next, &finished, args);
9657 struct cil_db *test_db;
9658 cil_db_init(&test_db);
9661 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9665 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9667 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next, &finished, args);
9682 struct cil_db *test_db;
9683 cil_db_init(&test_db);
9686 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9690 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9692 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next, &finished, args);
9706 struct cil_db *test_db;
9707 cil_db_init(&test_db);
9710 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9714 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9716 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9727 struct cil_db *test_db;
9728 cil_db_init(&test_db);
9731 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9735 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9737 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head, &finished, args);
9749 struct cil_db *test_db;
9750 cil_db_init(&test_db);
9753 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9757 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9759 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
9772 struct cil_db *test_db;
9773 cil_db_init(&test_db);
9776 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9780 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9782 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
9795 struct cil_db *test_db;
9796 cil_db_init(&test_db);
9799 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9803 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9805 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9820 struct cil_db *test_db;
9821 cil_db_init(&test_db);
9824 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9828 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9830 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next, &finished, args);
9844 struct cil_db *test_db;
9845 cil_db_init(&test_db);
9848 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9852 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9854 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9869 struct cil_db *test_db;
9870 cil_db_init(&test_db);
9873 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9877 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9879 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next, &finished, args);
9893 struct cil_db *test_db;
9894 cil_db_init(&test_db);
9897 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9901 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9903 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9918 struct cil_db *test_db;
9919 cil_db_init(&test_db);
9922 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9926 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9928 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next, &finished, args);
9942 struct cil_db *test_db;
9943 cil_db_init(&test_db);
9946 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9950 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9952 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
9965 struct cil_db *test_db;
9966 cil_db_init(&test_db);
9974 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
9976 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
9978 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
9990 struct cil_db *test_db;
9991 cil_db_init(&test_db);
9999 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10001 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10003 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10016 struct cil_db *test_db;
10017 cil_db_init(&test_db);
10025 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10027 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10029 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
10041 struct cil_db *test_db;
10042 cil_db_init(&test_db);
10050 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10052 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10054 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10066 struct cil_db *test_db;
10067 cil_db_init(&test_db);
10075 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10077 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10079 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10092 struct cil_db *test_db;
10093 cil_db_init(&test_db);
10101 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10103 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10105 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
10117 struct cil_db *test_db;
10118 cil_db_init(&test_db);
10126 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10128 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10130 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10142 struct cil_db *test_db;
10143 cil_db_init(&test_db);
10151 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10153 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10155 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10171 struct cil_db *test_db;
10172 cil_db_init(&test_db);
10180 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10182 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10184 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next, &finished, args);
10200 struct cil_db *test_db;
10201 cil_db_init(&test_db);
10209 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10211 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10213 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next, &finished, args);
10229 struct cil_db *test_db;
10230 cil_db_init(&test_db);
10238 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10240 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10242 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next, &finished, args);
10258 struct cil_db *test_db;
10259 cil_db_init(&test_db);
10267 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10269 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10271 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next, &finished, args);
10290 struct cil_db *test_db;
10291 cil_db_init(&test_db);
10294 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10298 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10300 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, &finished, args);
10319 struct cil_db *test_db;
10320 cil_db_init(&test_db);
10323 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10327 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10329 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, &finished, args);
10348 struct cil_db *test_db;
10349 cil_db_init(&test_db);
10352 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10356 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10358 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, &finished, args);
10377 struct cil_db *test_db;
10378 cil_db_init(&test_db);
10381 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10385 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10387 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, &finished, args);
10406 struct cil_db *test_db;
10407 cil_db_init(&test_db);
10410 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10414 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10416 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, &finished, args);
10435 struct cil_db *test_db;
10436 cil_db_init(&test_db);
10439 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10443 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10445 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next, &finished, args);
10465 struct cil_db *test_db;
10466 cil_db_init(&test_db);
10469 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10473 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10475 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, &finished, args);
10496 struct cil_db *test_db;
10497 cil_db_init(&test_db);
10500 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10504 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10506 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, &finished, args);
10527 struct cil_db *test_db;
10528 cil_db_init(&test_db);
10531 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10535 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10537 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next->next, &finished, args);
10550 struct cil_db *test_db;
10551 cil_db_init(&test_db);
10554 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10558 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10560 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
10572 struct cil_db *test_db;
10573 cil_db_init(&test_db);
10576 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10580 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10582 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10594 struct cil_db *test_db;
10595 cil_db_init(&test_db);
10598 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10602 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10604 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10616 struct cil_db *test_db;
10617 cil_db_init(&test_db);
10620 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10624 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10626 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10638 struct cil_db *test_db;
10639 cil_db_init(&test_db);
10642 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10646 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10648 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10660 struct cil_db *test_db;
10661 cil_db_init(&test_db);
10664 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10668 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10670 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10682 struct cil_db *test_db;
10683 cil_db_init(&test_db);
10686 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10690 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10692 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10704 struct cil_db *test_db;
10705 cil_db_init(&test_db);
10708 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10712 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10714 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10726 struct cil_db *test_db;
10727 cil_db_init(&test_db);
10730 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10734 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10736 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10748 struct cil_db *test_db;
10749 cil_db_init(&test_db);
10752 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10756 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10758 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10778 struct cil_db *test_db;
10779 cil_db_init(&test_db);
10782 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10786 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10788 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, &finished, args);
10800 struct cil_db *test_db;
10801 cil_db_init(&test_db);
10804 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10808 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10810 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10830 struct cil_db *test_db;
10831 cil_db_init(&test_db);
10834 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10838 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10840 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next->next->next, &finished, args);
10858 struct cil_db *test_db;
10859 cil_db_init(&test_db);
10862 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10866 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10868 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next->next->next->next->next, &finished, args);
10881 struct cil_db *test_db;
10882 cil_db_init(&test_db);
10885 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_BLKIN, &changed, NULL, NULL, NULL);
10889 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10891 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->cl_head->next, &finished, args);
10904 struct cil_db *test_db;
10905 cil_db_init(&test_db);
10908 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
10912 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10914 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
10926 struct cil_db *test_db;
10927 cil_db_init(&test_db);
10930 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, NULL, NULL);
10934 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10936 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10949 struct cil_db *test_db;
10950 cil_db_init(&test_db);
10958 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10960 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10962 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
10974 struct cil_db *test_db;
10975 cil_db_init(&test_db);
10983 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
10985 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
10987 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);
10999 struct cil_db *test_db;
11000 cil_db_init(&test_db);
11012 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
11014 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11016 __cil_resolve_ast_node_helper(test_db->ast->root->cl_head, &finished, args);
11017 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head, &finished, args);
11027 struct cil_db *test_db;
11028 cil_db_init(&test_db);
11040 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
11042 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11044 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head, &finished, args);
11054 struct cil_db *test_db;
11055 cil_db_init(&test_db);
11067 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
11069 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11072 ((struct cil_symtab_datum *)test_db->ast->root->cl_head->data)->state = CIL_STATE_DISABLED;
11074 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head, &finished, args);
11086 struct cil_db *test_db;
11087 cil_db_init(&test_db);
11095 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
11097 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11099 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head, &finished, args);
11112 struct cil_db *test_db;
11113 cil_db_init(&test_db);
11125 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
11127 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11129 __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
11130 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next->next, &finished, args);
11140 struct cil_db *test_db;
11141 cil_db_init(&test_db);
11148 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, test_ast_node_opt, NULL);
11152 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11154 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head, &finished, args);
11169 struct cil_db *test_db;
11170 cil_db_init(&test_db);
11177 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_CALL1, &changed, NULL, test_ast_node_opt, NULL);
11181 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11183 cil_resolve_call1(test_db->ast->root->cl_head->next->next, args);
11187 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
11200 struct cil_db *test_db;
11201 cil_db_init(&test_db);
11207 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_TIF, &changed, NULL, NULL, NULL);
11211 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11225 struct cil_db *test_db;
11226 cil_db_init(&test_db);
11233 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11235 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, NULL);
11248 struct cil_db *test_db;
11249 cil_db_init(&test_db);
11257 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
11259 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11261 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
11273 struct cil_db *test_db;
11274 cil_db_init(&test_db);
11282 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC3, &changed, NULL, NULL, NULL);
11284 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11286 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next->next, &finished, args);
11297 struct cil_db *test_db;
11298 cil_db_init(&test_db);
11309 struct cil_args_resolve *args = gen_resolve_args(test_db, CIL_PASS_MISC2, &changed, NULL, test_ast_node_opt, NULL);
11313 cil_build_ast(test_db, test_tree->root, test_db->ast->root);
11315 int rc = __cil_resolve_ast_node_helper(test_db->ast->root->cl_head->next, &finished, args);