Searched refs:catorder (Results 1 - 10 of 10) sorted by relevance

/external/selinux/libsepol/cil/src/
H A Dcil_internal.h276 struct cil_list *catorder; member in struct:cil_db
1007 void cil_catorder_init(struct cil_catorder **catorder);
H A Dcil.c249 (*db)->catorder = NULL;
298 cil_list_destroy(&(*db)->catorder, CIL_FALSE);
2456 void cil_catorder_init(struct cil_catorder **catorder) argument
2458 *catorder = cil_malloc(sizeof(**catorder));
2460 (*catorder)->cat_list_str = NULL;
H A Dcil_tree.c1181 struct cil_catorder *catorder = node->data; local
1184 if (catorder->cat_list_str == NULL) {
1190 cil_list_for_each(cat, catorder->cat_list_str) {
H A Dcil_build_ast.h156 void cil_destroy_catorder(struct cil_catorder *catorder);
H A Dcil_build_ast.c3583 struct cil_catorder *catorder = NULL; local
3596 cil_catorder_init(&catorder);
3598 rc = cil_fill_list(parse_current->next->cl_head, CIL_CATORDER, &catorder->cat_list_str);
3603 cil_list_for_each(curr, catorder->cat_list_str) {
3611 ast_node->data = catorder;
3619 cil_destroy_catorder(catorder);
3623 void cil_destroy_catorder(struct cil_catorder *catorder) argument
3625 if (catorder == NULL) {
3629 if (catorder->cat_list_str != NULL) {
3630 cil_list_destroy(&catorder
[all...]
H A Dcil_resolve_ast.c1504 struct cil_catorder *catorder = current->data; local
1514 cil_list_for_each(curr, catorder->cat_list_str) {
3835 db->catorder = __cil_ordered_lists_merge_all(&extra_args.catorder_lists, NULL);
3836 if (db->catorder == NULL) {
3840 cil_set_cat_values(db->catorder, db);
3886 cil_list_destroy(&db->catorder, CIL_FALSE);
H A Dcil_policy.c1294 if (db->catorder->head != NULL) {
1295 cil_list_for_each(item, db->catorder) {
H A Dcil_post.c856 cil_list_for_each(curr, db->catorder) {
H A Dcil_binary.c799 cil_list_for_each(curr_cat, db->catorder) {
/external/selinux/libsepol/cil/test/unit/
H A Dtest_cil_resolve_ast.c696 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
831 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
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;
884 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
909 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
934 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT);
1070 __cil_verify_order(test_db->catorder, test_d
[all...]

Completed in 1109 milliseconds