Home
last modified time | relevance | path

Searched refs:CIL_TYPEATTRIBUTE (Results 1 – 13 of 13) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_find.c51 if (f1 != CIL_TYPEATTRIBUTE && f2 != CIL_TYPEATTRIBUTE) { in cil_type_match_any()
57 } else if (f1 == CIL_TYPEATTRIBUTE && f2 != CIL_TYPEATTRIBUTE) { in cil_type_match_any()
63 } else if (f1 != CIL_TYPEATTRIBUTE && f2 == CIL_TYPEATTRIBUTE) { in cil_type_match_any()
88 if (f1 != CIL_TYPEATTRIBUTE && f2 != CIL_TYPEATTRIBUTE) { in cil_type_matches()
94 } else if (f1 == CIL_TYPEATTRIBUTE && f2 != CIL_TYPEATTRIBUTE) { in cil_type_matches()
100 } else if (f1 != CIL_TYPEATTRIBUTE && f2 == CIL_TYPEATTRIBUTE) { in cil_type_matches()
123 if (n1->flavor != CIL_TYPEATTRIBUTE) { in cil_self_match_any()
Dcil_flavor.h176 CIL_TYPEATTRIBUTE, enumerator
Dcil_post.c598 case CIL_TYPEATTRIBUTE: { in __cil_post_db_count_helper()
896 if (node->flavor == CIL_TYPEATTRIBUTE) { in __cil_type_to_bitmap()
1491 if (FLAVOR(curr->data) == CIL_TYPEATTRIBUTE) { in __mark_neverallow_attrs()
1519 case CIL_TYPEATTRIBUTE: { in __cil_post_db_neverallow_attr_helper()
1551 case CIL_TYPEATTRIBUTE: { in __cil_post_db_attr_helper()
1624 } else if (node->flavor == CIL_TYPEATTRIBUTE) { in __cil_role_assign_types()
Dcil_verify.c69 case CIL_TYPEATTRIBUTE: in __cil_is_reserved_name()
473 case CIL_TYPEATTRIBUTE: { in cil_verify_no_self_reference()
1860 case CIL_TYPEATTRIBUTE: in __cil_pre_verify_helper()
Dcil_reset_ast.c533 case CIL_TYPEATTRIBUTE: in __cil_reset_node()
Dcil.c842 case CIL_TYPEATTRIBUTE: in cil_destroy_data()
1066 case CIL_TYPEATTRIBUTE: in cil_flavor_to_symtab_index()
1218 case CIL_TYPEATTRIBUTE: in cil_node_to_string()
Dcil_binary.c203 if (node->flavor == CIL_TYPEATTRIBUTE) { in __cil_expand_type()
1478 if (node->flavor != CIL_TYPEATTRIBUTE) { in __cil_should_expand_attribute()
2596 if (FLAVOR(item->data) == CIL_TYPEATTRIBUTE) { in __cil_constrain_expr_datum_to_sepol_expr()
3852 case CIL_TYPEATTRIBUTE: in __cil_node_to_policydb()
3889 case CIL_TYPEATTRIBUTE: in __cil_node_to_policydb()
4590 if (n->flavor == CIL_TYPEATTRIBUTE) { in __cil_add_sepol_type()
Dcil_resolve_ast.c282 if (FLAVOR(datum) == CIL_TYPEATTRIBUTE) { in cil_type_used()
442 if (attr_node->flavor != CIL_TYPEATTRIBUTE) { in cil_resolve_typeattributeset()
456 cil_list_init(&attr->expr_list, CIL_TYPEATTRIBUTE); in cil_resolve_typeattributeset()
486 if (attr_node->flavor != CIL_TYPEATTRIBUTE) { in cil_resolve_expandtypeattribute()
3758 rc = cil_resolve_bounds(node, args, CIL_TYPE, CIL_TYPEATTRIBUTE); in __cil_resolve_ast_node()
Dcil_write_ast.c1052 case CIL_TYPEATTRIBUTE: { in cil_write_ast_node()
Dcil_policy.c126 case CIL_TYPEATTRIBUTE: { in __cil_gather_statements_helper()
Dcil_copy_ast.c1826 case CIL_TYPEATTRIBUTE: in __cil_copy_node_helper()
Dcil_build_ast.c94 case CIL_TYPEATTRIBUTE: in cil_allow_multiple_decls()
2420 …b, ast_node, (struct cil_symtab_datum*)attr, (hashtab_key_t)key, CIL_SYM_TYPES, CIL_TYPEATTRIBUTE); in cil_gen_typeattribute()
/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.c2577 CuAssertIntEquals(tc, test_ast_node->flavor, CIL_TYPEATTRIBUTE); in test_cil_gen_typeattribute()