Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_find.c50 if (f1 != CIL_TYPEATTRIBUTE && f2 != CIL_TYPEATTRIBUTE) { in cil_type_match_any()
56 } else if (f1 == CIL_TYPEATTRIBUTE && f2 != CIL_TYPEATTRIBUTE) { in cil_type_match_any()
62 } else if (f1 != CIL_TYPEATTRIBUTE && f2 == CIL_TYPEATTRIBUTE) { in cil_type_match_any()
87 if (f1 != CIL_TYPEATTRIBUTE && f2 != CIL_TYPEATTRIBUTE) { in cil_type_matches()
93 } else if (f1 == CIL_TYPEATTRIBUTE && f2 != CIL_TYPEATTRIBUTE) { in cil_type_matches()
99 } else if (f1 != CIL_TYPEATTRIBUTE && f2 == CIL_TYPEATTRIBUTE) { in cil_type_matches()
122 if (n1->flavor != CIL_TYPEATTRIBUTE) { in cil_self_match_any()
Dandroid.c92 case CIL_TYPEATTRIBUTE: in __extract_attributees_helper()
173 case CIL_TYPEATTRIBUTE: in __cil_get_plat_flavor()
224 new_key, CIL_SYM_TYPES, CIL_TYPEATTRIBUTE); in __cil_attrib_convert_type()
652 case CIL_TYPEATTRIBUTE: in __attributize_helper()
791 if (vers_datum->ast_node->flavor == CIL_TYPEATTRIBUTE) { in cil_build_mappings_tree()
834 ast_node->flavor = CIL_TYPEATTRIBUTE; in cil_build_mappings_tree()
Dcil_flavor.h176 CIL_TYPEATTRIBUTE, enumerator
Dcil_post.c584 case CIL_TYPEATTRIBUTE: { in __cil_post_db_count_helper()
882 if (node->flavor == CIL_TYPEATTRIBUTE) { in __cil_type_to_bitmap()
1485 if (NODE(curr->data)->flavor == CIL_TYPEATTRIBUTE) { in __mark_neverallow_attrs()
1513 case CIL_TYPEATTRIBUTE: { in __cil_post_db_neverallow_attr_helper()
1545 case CIL_TYPEATTRIBUTE: { in __cil_post_db_attr_helper()
1618 } else if (node->flavor == CIL_TYPEATTRIBUTE) { in __cil_role_assign_types()
Dcil_reset_ast.c467 case CIL_TYPEATTRIBUTE: in __cil_reset_node()
Dcil.c625 case CIL_TYPEATTRIBUTE: in cil_destroy_data()
849 case CIL_TYPEATTRIBUTE: in cil_flavor_to_symtab_index()
1001 case CIL_TYPEATTRIBUTE: in cil_node_to_string()
Dcil_resolve_ast.c276 if (FLAVOR(datum) == CIL_TYPEATTRIBUTE) { in cil_type_used()
431 if (attr_node->flavor != CIL_TYPEATTRIBUTE) { in cil_resolve_typeattributeset()
450 cil_list_init(&attr->expr_list, CIL_TYPEATTRIBUTE); in cil_resolve_typeattributeset()
480 if (attr_node->flavor != CIL_TYPEATTRIBUTE) { in cil_resolve_expandtypeattribute()
3543 rc = cil_resolve_bounds(node, args, CIL_TYPE, CIL_TYPEATTRIBUTE); in __cil_resolve_ast_node()
Dcil_binary.c212 if (node->flavor == CIL_TYPEATTRIBUTE) { in __cil_expand_type()
1443 if (node->flavor != CIL_TYPEATTRIBUTE) { in __cil_should_expand_attribute()
2540 if (FLAVOR(item->data) == CIL_TYPEATTRIBUTE) { in __cil_constrain_expr_datum_to_sepol_expr()
3718 case CIL_TYPEATTRIBUTE: in __cil_node_to_policydb()
3755 case CIL_TYPEATTRIBUTE: in __cil_node_to_policydb()
4492 if (n->flavor == CIL_TYPEATTRIBUTE) { in __cil_add_sepol_type()
Dcil_write_ast.c1272 case CIL_TYPEATTRIBUTE: in __cil_write_node_helper()
Dcil_tree.c731 case CIL_TYPEATTRIBUTE: { in cil_tree_print_node()
Dcil_policy.c125 case CIL_TYPEATTRIBUTE: { in __cil_gather_statements_helper()
Dcil_copy_ast.c1873 case CIL_TYPEATTRIBUTE: in __cil_copy_node_helper()
Dcil_build_ast.c97 case CIL_TYPEATTRIBUTE: in cil_is_datum_multiple_decl()
2369 …b, ast_node, (struct cil_symtab_datum*)attr, (hashtab_key_t)key, CIL_SYM_TYPES, CIL_TYPEATTRIBUTE); in cil_gen_typeattribute()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.c2577 CuAssertIntEquals(tc, test_ast_node->flavor, CIL_TYPEATTRIBUTE); in test_cil_gen_typeattribute()