Searched refs:CIL_CLASS (Results 1 – 17 of 17) sorted by relevance
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_list.c | 69 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 …]
|
D | test_cil.c | 88 test_ast_node->parent->flavor = CIL_CLASS; in test_cil_get_symtab_class()
|
D | test_cil_copy_ast.c | 189 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()
|
D | test_cil_build_ast.c | 500 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/ |
D | cil_find.c | 171 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_classperms_list_match_any() 200 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_classperms_list_match_any() 228 if (FLAVOR(cp->class) == CIL_CLASS) { in __add_classes_from_classperms_list() 229 cil_list_append(class_list, CIL_CLASS, cp->class); in __add_classes_from_classperms_list() 259 cil_list_init(&class_list, CIL_CLASS); in cil_expand_class() 261 if (FLAVOR(class) == CIL_CLASS) { in cil_expand_class() 262 cil_list_append(class_list, CIL_CLASS, class); in cil_expand_class()
|
D | cil_flavor.h | 168 CIL_CLASS, enumerator
|
D | cil.c | 553 case CIL_CLASS: in cil_destroy_data() 830 case CIL_CLASS: in cil_flavor_to_symtab_index() 954 case CIL_CLASS: in cil_node_to_string() 1735 case CIL_CLASS: in cil_destroy_ast_symtabs() 1765 if (node->flavor == CIL_CLASS || node->flavor == CIL_MAP_CLASS || in cil_get_symtab()
|
D | cil_verify.c | 389 } else if (node->flavor == CIL_CLASS) { in __cil_verify_ordered_node_helper() 1466 case CIL_CLASS: in __cil_verify_helper() 1553 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_verify_classperms()
|
D | cil_resolve_ast.c | 1228 } else if (item->flavor == CIL_CLASS) { in __cil_ordered_item_insert() 1387 if (item->flavor == CIL_CLASS) { in insert_unordered() 1489 cil_list_append(new, CIL_CLASS, datum); in cil_resolve_classorder() 2657 cil_list_append(def->class_datums, CIL_CLASS, datum); in cil_resolve_default() 2680 cil_list_append(def->class_datums, CIL_CLASS, datum); in cil_resolve_defaultrange() 2942 case CIL_CLASS: in cil_resolve_call1() 3098 case CIL_CLASS: in cil_resolve_call2() 3963 rc = __cil_verify_ordered(current, CIL_CLASS); in cil_resolve_ast()
|
D | cil_reset_ast.c | 415 case CIL_CLASS: in __cil_reset_node()
|
D | cil_write_ast.c | 438 char *class_type = (node->flavor == CIL_CLASS) ? CIL_KEY_CLASS : CIL_KEY_COMMON; in cil_write_class() 1193 case CIL_CLASS: in __cil_write_node_helper()
|
D | cil_tree.c | 908 case CIL_CLASS: { in cil_tree_print_node() 1696 case CIL_CLASS: cil_log(CIL_INFO, "class:"); break; in cil_tree_print_node()
|
D | cil_build_ast.c | 403 …ode(db, ast_node, (struct cil_symtab_datum*)class, (hashtab_key_t)key, CIL_SYM_CLASSES, CIL_CLASS); in cil_gen_class() 5274 param->flavor = CIL_CLASS; in cil_gen_macro() 5841 cil_list_init(&def->class_strs, CIL_CLASS); in cil_gen_default() 5844 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASS, &def->class_strs); in cil_gen_default() 5908 cil_list_init(&def->class_strs, CIL_CLASS); in cil_gen_defaultrange() 5911 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASS, &def->class_strs); in cil_gen_defaultrange()
|
D | cil_post.c | 566 case CIL_CLASS: { in __cil_post_db_count_helper() 2127 if (FLAVOR(cp->class) == CIL_CLASS) { in __evaluate_classperms_list()
|
D | cil_binary.c | 1401 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_avrule_expand() 2820 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_constrain_expand() 4373 if (FLAVOR(cp->class) == CIL_CLASS) { in __cil_rule_to_sepol_class_perms()
|
D | cil_policy.c | 695 if (FLAVOR(cp->class) == CIL_CLASS) { in cil_classperms_to_strings()
|
D | cil_copy_ast.c | 1796 case CIL_CLASS: in __cil_copy_node_helper()
|