Home
last modified time | relevance | path

Searched refs:CIL_CAT (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_flavor.h173 CIL_CAT, enumerator
Dcil_resolve_ast.c1113 } else if (item->flavor == CIL_CAT) { in __cil_ordered_item_insert()
1398 if (node->flavor != CIL_CAT) { in cil_resolve_catorder()
1404 cil_list_append(new, CIL_CAT, cat); in cil_resolve_catorder()
1508 cil_list_init(&sens->cats_list, CIL_CAT); in cil_resolve_senscat()
1511 cil_list_append(sens->cats_list, CIL_CAT, senscat->cats); in cil_resolve_senscat()
2470 case CIL_CAT: in cil_resolve_call1()
2717 case CIL_CAT: in cil_resolve_call2()
2801 case CIL_CAT: in cil_resolve_expr()
3041 rc = cil_resolve_aliasactual(node, args, CIL_CAT); in __cil_resolve_ast_node()
3056 rc = cil_resolve_alias_to_actual(node, CIL_CAT); in __cil_resolve_ast_node()
[all …]
Dcil_post.c66 if (flavor == CIL_CAT) { in cil_verify_is_list()
697 if (cil_verify_is_list(cats->datum_expr, CIL_CAT)) { in __evaluate_cat_expression()
709 cil_list_init(&new, CIL_CAT); in __evaluate_cat_expression()
836 case CIL_CAT: in __cil_expr_to_bitmap_helper()
881 if (flavor != CIL_CAT) { in __cil_expr_to_bitmap()
Dcil_reset_ast.c437 case CIL_CAT: in __cil_reset_node()
Dcil.c619 case CIL_CAT: in cil_destroy_data()
800 case CIL_CAT: in cil_flavor_to_symtab_index()
960 case CIL_CAT: in cil_node_to_string()
Dcil_verify.c182 if (expr_flavor != CIL_CAT) { in cil_verify_expr_syntax()
388 } else if (node->flavor == CIL_CAT) { in __cil_verify_ordered_node_helper()
Dcil_tree.c1138 case CIL_CAT: { in cil_tree_print_node()
1551 case CIL_CAT: cil_log(CIL_INFO, "category:"); break; in cil_tree_print_node()
Dcil_policy.c1166 cil_multimap_insert(cats, datum, node->data, CIL_CAT, CIL_CATALIAS); in __cil_gen_policy_node_helper()
1301 cil_multimap_insert(cats, item->data, NULL, CIL_CAT, 0); in cil_gen_policy()
Dcil_build_ast.c3178 …l_gen_node(db, ast_node, (struct cil_symtab_datum*)cat, (hashtab_key_t)key, CIL_SYM_CATS, CIL_CAT); in cil_gen_category()
4738 param->flavor = CIL_CAT; in cil_gen_macro()
5215 rc = cil_gen_expr(curr, CIL_CAT, &(*cats)->str_expr); in cil_fill_cats()
Dcil_copy_ast.c1747 case CIL_CAT: in __cil_copy_node_helper()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_resolve_ast.c696 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_cat_list_catrange()
831 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange()
856 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange_catloworder_neg()
884 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange_cathighorder_neg()
909 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange_cat1_neg()
934 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_catrange_cat2_neg()
1070 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_senscat_sublist()
1145 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_senscat_currrangecat()
8894 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_ast_node_helper_catrange()
8947 __cil_verify_order(test_db->catorder, test_db->ast->root, CIL_CAT); in test_cil_resolve_ast_node_helper_level()
[all …]