Home
last modified time | relevance | path

Searched refs:CIL_CLASS (Results 1 – 16 of 16) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_list.c69 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item()
97 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append()
104 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append()
133 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append_extra()
139 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append_extra()
145 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_append_extra()
174 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item_listnull_neg()
226 test_new_item->flavor = CIL_CLASS; in test_cil_list_prepend_item()
254 test_new_item->flavor = CIL_CLASS; in test_cil_list_prepend_item_prepend()
283 test_new_item->flavor = CIL_CLASS; in test_cil_list_prepend_item_prepend_neg()
[all …]
Dtest_cil.c88 test_ast_node->parent->flavor = CIL_CLASS; in test_cil_get_symtab_class()
Dtest_cil_copy_ast.c189 new_tree_node->flavor = CIL_CLASS; in test_cil_copy_perm()
288 test_ast_node->flavor = CIL_CLASS; in test_cil_copy_classcommon()
1451 parent_node->flavor = CIL_CLASS; in test_cil_copy_node_helper_perm()
Dtest_cil_build_ast.c500 new_tree_node->flavor = CIL_CLASS; in test_cil_gen_perm()
581 new_tree_node->flavor = CIL_CLASS; in test_cil_gen_perm_astnull_neg()
796 test_ast_node->flavor = CIL_CLASS; in test_cil_gen_perm_nodes()
826 test_ast_node->flavor = CIL_CLASS; in test_cil_gen_perm_nodes_failgen_neg()
854 test_ast_node->flavor = CIL_CLASS; in test_cil_gen_perm_nodes_inval_perm_neg()
1048 CuAssertIntEquals(tc, test_ast_node->flavor, CIL_CLASS); in test_cil_gen_class()
10600 test_ast_node->flavor = CIL_CLASS; in test_cil_gen_classcommon()
10690 test_ast_node->flavor = CIL_CLASS; in test_cil_gen_classcommon_noperms_neg()
10718 test_ast_node->flavor = CIL_CLASS; in test_cil_gen_classcommon_extraperms_neg()
/external/selinux/libsepol/cil/src/
Dcil_find.c167 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_classperms_list_match_any()
196 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_classperms_list_match_any()
224 if (FLAVOR(cp->class) == CIL_CLASS) { in __add_classes_from_classperms_list()
225 cil_list_append(class_list, CIL_CLASS, cp->class); in __add_classes_from_classperms_list()
255 cil_list_init(&class_list, CIL_CLASS); in cil_expand_class()
257 if (FLAVOR(class) == CIL_CLASS) { in cil_expand_class()
258 cil_list_append(class_list, CIL_CLASS, class); in cil_expand_class()
Dcil_flavor.h164 CIL_CLASS, enumerator
Dcil.c534 case CIL_CLASS: in cil_destroy_data()
799 case CIL_CLASS: in cil_flavor_to_symtab_index()
923 case CIL_CLASS: in cil_node_to_string()
1679 case CIL_CLASS: in cil_destroy_ast_symtabs()
1709 if (node->flavor == CIL_CLASS || node->flavor == CIL_MAP_CLASS || in cil_get_symtab()
Dcil_resolve_ast.c1174 } else if (item->flavor == CIL_CLASS) { in __cil_ordered_item_insert()
1333 if (item->flavor == CIL_CLASS) { in insert_unordered()
1435 cil_list_append(new, CIL_CLASS, datum); in cil_resolve_classorder()
2563 cil_list_append(def->class_datums, CIL_CLASS, datum); in cil_resolve_default()
2586 cil_list_append(def->class_datums, CIL_CLASS, datum); in cil_resolve_defaultrange()
2850 case CIL_CLASS: in cil_resolve_call1()
3006 case CIL_CLASS: in cil_resolve_call2()
3852 rc = __cil_verify_ordered(current, CIL_CLASS); in cil_resolve_ast()
Dcil_verify.c383 } else if (node->flavor == CIL_CLASS) { in __cil_verify_ordered_node_helper()
1427 case CIL_CLASS: in __cil_verify_helper()
1508 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_verify_classperms()
Dcil_reset_ast.c401 case CIL_CLASS: in __cil_reset_node()
Dcil_tree.c811 case CIL_CLASS: { in cil_tree_print_node()
1570 case CIL_CLASS: cil_log(CIL_INFO, "class:"); break; in cil_tree_print_node()
Dcil_policy.c512 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_constrain_to_policy_helper()
553 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_avrule_to_policy_helper()
Dcil_build_ast.c374 …ode(db, ast_node, (struct cil_symtab_datum*)class, (hashtab_key_t)key, CIL_SYM_CLASSES, CIL_CLASS); in cil_gen_class()
5078 param->flavor = CIL_CLASS; in cil_gen_macro()
5650 cil_list_init(&def->class_strs, CIL_CLASS); in cil_gen_default()
5654 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASS, &def->class_strs); in cil_gen_default()
5716 cil_list_init(&def->class_strs, CIL_CLASS); in cil_gen_defaultrange()
5720 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASS, &def->class_strs); in cil_gen_defaultrange()
Dcil_post.c342 case CIL_CLASS: { in __cil_post_db_count_helper()
1771 if (FLAVOR(cp->class) == CIL_CLASS) { in __evaluate_classperms_list()
Dcil_binary.c1367 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_avrule_expand()
2630 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_constrain_expand()
4102 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_rule_to_sepol_class_perms()
Dcil_copy_ast.c1713 case CIL_CLASS: in __cil_copy_node_helper()