Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/test/unit/
H A 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...]
H A Dtest_cil.c88 test_ast_node->parent->flavor = CIL_CLASS; in test_cil_get_symtab_class()
H A 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()
H A 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()
/third_party/selinux/libsepol/cil/src/
H A Dcil_find.c172 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_classperms_list_match_any()
201 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_classperms_list_match_any()
229 if (FLAVOR(cp->class) == CIL_CLASS) { in __add_classes_from_classperms_list()
230 cil_list_append(class_list, CIL_CLASS, cp->class); in __add_classes_from_classperms_list()
260 cil_list_init(&class_list, CIL_CLASS); in cil_expand_class()
262 if (FLAVOR(class) == CIL_CLASS) { in cil_expand_class()
263 cil_list_append(class_list, CIL_CLASS, class); in cil_expand_class()
H A Dcil_flavor.h168 CIL_CLASS, enumerator
H A Dcil_write_ast.c79 case CIL_CLASS: in write_expr()
415 case CIL_CLASS: in write_call_args()
521 case CIL_CLASS: in macro_param_flavor_to_string()
760 case CIL_CLASS: { in cil_write_ast_node()
1569 if (node->flavor == CIL_CLASS || node->flavor == CIL_COMMON || node->flavor == CIL_MAP_CLASS) { in __write_cil_ast_node_helper()
H A Dcil_resolve_ast.c767 if (NODE(class_datum)->flavor != CIL_CLASS) { in cil_resolve_classcommon()
1242 } else if (item->flavor == CIL_CLASS) { in __cil_ordered_item_insert()
1401 if (item->flavor == CIL_CLASS) { in insert_unordered()
1504 if (FLAVOR(datum) != CIL_CLASS) { in cil_resolve_classorder()
1509 cil_list_append(new, CIL_CLASS, datum); in cil_resolve_classorder()
2631 cil_list_append(def->class_datums, CIL_CLASS, datum); in cil_resolve_default()
2654 cil_list_append(def->class_datums, CIL_CLASS, datum); in cil_resolve_defaultrange()
2961 case CIL_CLASS: in cil_build_call_args()
3166 case CIL_CLASS: in cil_resolve_call_args()
4193 rc = __cil_verify_ordered(current, CIL_CLASS); in cil_resolve_ast()
[all...]
H A Dcil.c771 case CIL_CLASS: in cil_destroy_data()
1048 case CIL_CLASS: in cil_flavor_to_symtab_index()
1172 case CIL_CLASS: in cil_node_to_string()
1934 case CIL_CLASS: in cil_destroy_ast_symtabs()
1964 if (node->flavor == CIL_CLASS || node->flavor == CIL_MAP_CLASS || in cil_get_symtab()
H A Dcil_reset_ast.c481 case CIL_CLASS: in __cil_reset_node()
H A Dcil_verify.c537 } else if (node->flavor == CIL_CLASS) { in __cil_verify_ordered_node_helper()
1615 case CIL_CLASS: in __cil_verify_helper()
1741 if (FLAVOR(cp->class) != CIL_CLASS) { /* MAP */ in __cil_verify_classperms()
H A Dcil_build_ast.c472 rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)class, (hashtab_key_t)key, CIL_SYM_CLASSES, CIL_CLASS); in cil_gen_class()
5313 param->flavor = CIL_CLASS; in cil_gen_macro()
5867 cil_list_init(&def->class_strs, CIL_CLASS); in cil_gen_default()
5870 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASS, &def->class_strs); in cil_gen_default()
5934 cil_list_init(&def->class_strs, CIL_CLASS); in cil_gen_defaultrange()
5937 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASS, &def->class_strs); in cil_gen_defaultrange()
H A Dcil_post.c580 case CIL_CLASS: { in __cil_post_db_count_helper()
2125 if (FLAVOR(cp->class) == CIL_CLASS) { in __evaluate_classperms_list()
H A Dcil_binary.c1440 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_avrule_expand()
2944 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_constrain_expand()
4490 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_rule_to_sepol_class_perms()
H A Dcil_copy_ast.c1749 case CIL_CLASS: in __cil_copy_node_helper()
H A Dcil_policy.c692 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_classperms_to_strings()

Completed in 80 milliseconds