/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 127 cil_list_destroy(&uas->datum_expr, CIL_FALSE); in cil_reset_userattributeset() 163 cil_list_destroy(&ras->datum_expr, CIL_FALSE); in cil_reset_roleattributeset() 194 cil_list_destroy(&tas->datum_expr, CIL_FALSE); in cil_reset_typeattributeset() 226 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_reset_cats() 389 cil_list_destroy(&con->datum_expr, CIL_FALSE); in cil_reset_constrain() 394 cil_list_destroy(&vt->datum_expr, CIL_FALSE); in cil_reset_validatetrans() 409 cil_list_destroy(&bif->datum_expr, CIL_FALSE); in cil_reset_booleanif()
|
D | cil_internal.h | 458 struct cil_list *datum_expr; member 510 struct cil_list *datum_expr; member 542 struct cil_list *datum_expr; member 680 struct cil_list *datum_expr; member 859 struct cil_list *datum_expr; member 866 struct cil_list *datum_expr; member 905 struct cil_list *datum_expr; member 911 struct cil_list *datum_expr; member
|
D | cil_resolve_ast.h | 95 …num cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_expr, struct cil_tree… 97 int cil_evaluate_expr(struct cil_list *datum_expr, uint16_t *result);
|
D | cil_tree.c | 503 void cil_tree_print_expr(struct cil_list *datum_expr, struct cil_list *str_expr) in cil_tree_print_expr() argument 510 if (datum_expr != NULL) { in cil_tree_print_expr() 511 rc = cil_expr_to_string(datum_expr, &expr_str); in cil_tree_print_expr() 540 cil_tree_print_expr(cats->datum_expr, cats->str_expr); in cil_tree_print_cats() 668 cil_tree_print_expr(cons->datum_expr, cons->str_expr); in cil_tree_print_constrain() 726 cil_tree_print_expr(attr->datum_expr, attr->str_expr); in cil_tree_print_node() 882 cil_tree_print_expr(attr->datum_expr, attr->str_expr); in cil_tree_print_node() 897 cil_tree_print_expr(attr->datum_expr, attr->str_expr); in cil_tree_print_node() 1033 cil_tree_print_expr(bif->datum_expr, bif->str_expr); in cil_tree_print_node() 1043 cil_tree_print_expr(tif->datum_expr, tif->str_expr); in cil_tree_print_node() [all …]
|
D | cil_copy_ast.c | 423 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_userattributeset() 562 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_roleattributeset() 644 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_typeattributeset() 923 cil_copy_expr(db, orig->datum_expr, &(*new)->datum_expr); in cil_copy_cats() 1454 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_constrain() 1471 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_validatetrans() 1637 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_boolif() 1653 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_tunif()
|
D | cil.c | 1440 cil_list_for_each(i, cats->datum_expr) { in cil_cats_to_ebitmap() 1444 cil_list_for_each(j, cs->cats->datum_expr) { in cil_cats_to_ebitmap() 1510 if (cats && cats->datum_expr != NULL) { in __cil_level_strlen() 1512 cil_list_for_each(item, cats->datum_expr) { in __cil_level_strlen() 1564 if (cats && cats->datum_expr != NULL) { in __cil_level_to_string() 1568 cil_list_for_each(item, cats->datum_expr) { in __cil_level_to_string() 2219 (*attrset)->datum_expr = NULL; in cil_roleattributeset_init() 2240 (*attrset)->datum_expr = NULL; in cil_typeattributeset_init() 2344 (*bif)->datum_expr = NULL; in cil_boolif_init() 2352 (*tif)->datum_expr = NULL; in cil_tunif_init() [all …]
|
D | cil_resolve_ast.c | 435 …rc = cil_resolve_expr(CIL_TYPEATTRIBUTESET, attrtypes->str_expr, &attrtypes->datum_expr, current, … in cil_resolve_typeattributeset() 440 rc = cil_verify_no_self_reference(attr_datum, attrtypes->datum_expr); in cil_resolve_typeattributeset() 449 cil_list_append(attr->expr_list, CIL_LIST, attrtypes->datum_expr); in cil_resolve_typeattributeset() 1144 …rc = cil_resolve_expr(CIL_ROLEATTRIBUTESET, attrroles->str_expr, &attrroles->datum_expr, current, … in cil_resolve_roleattributeset() 1149 rc = cil_verify_no_self_reference(attr_datum, attrroles->datum_expr); in cil_resolve_roleattributeset() 1158 cil_list_append(attr->expr_list, CIL_LIST, attrroles->datum_expr); in cil_resolve_roleattributeset() 1633 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, extra_args); in cil_resolve_cats() 1654 rc = cil_verify_no_self_reference((struct cil_symtab_datum *)catset, catset->cats->datum_expr); in cil_resolve_catset() 1656 cil_list_destroy(&catset->cats->datum_expr, CIL_FALSE); in cil_resolve_catset() 1786 rc = cil_resolve_expr(CIL_CONSTRAIN, cons->str_expr, &cons->datum_expr, current, extra_args); in cil_resolve_constrain() [all …]
|
D | cil_post.c | 66 cil_list_for_each(i, a->datum_expr) { in cats_compare() 67 cil_list_for_each(j, b->datum_expr) { in cats_compare() 1093 if (cil_verify_is_list(cats->datum_expr, CIL_CAT)) { in __evaluate_cat_expression() 1098 rc = __cil_expr_to_bitmap(cats->datum_expr, &bitmap, db->num_cats, db); in __evaluate_cat_expression() 1115 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression() 1116 cats->datum_expr = new; in __evaluate_cat_expression() 1140 for (curr = catset->cats->datum_expr->head; curr; curr = curr->next) { in __cil_cat_to_bitmap()
|
D | cil_policy.c | 201 cil_list_for_each(i1, cats->datum_expr) { in cil_cats_to_policy() 975 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_mlsconstrains_to_policy() 997 expr_str = cil_cons_expr_to_string(db, trans->datum_expr); in cil_validatetrans_to_policy() 1444 cil_cond_expr_to_policy(args->out, bool->datum_expr, CIL_TRUE); in __cil_te_rules_to_policy_helper() 1644 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_constrains_to_policy()
|
D | cil_verify.c | 453 cil_list_for_each(i, cats->datum_expr) { in __cil_is_cat_in_cats() 488 cil_list_for_each(i, cats->datum_expr) { in __cil_verify_cats_associated_with_sens() 551 cil_list_for_each(item, low->datum_expr) { in __cil_verify_levelrange_cats()
|
D | cil_build_ast.c | 1384 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_userattributeset() 2018 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_roleattributeset() 2909 cil_list_destroy(&bif->datum_expr, CIL_FALSE); in cil_destroy_boolif() 2988 cil_list_destroy(&tif->datum_expr, CIL_FALSE); in cil_destroy_tunif() 3208 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_typeattributeset() 4037 cil_list_destroy(&cons->datum_expr, CIL_FALSE); in cil_destroy_constrain() 4092 cil_list_destroy(&validtrans->datum_expr, CIL_FALSE); in cil_destroy_validatetrans() 5757 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_destroy_cats()
|
D | android.c | 442 if (typeattrset->datum_expr != NULL) { in cil_attrib_typeattributeset()
|
D | cil_binary.c | 2214 rc = __cil_cond_expr_to_sepol_expr(pdb, cil_boolif->datum_expr, &tmp_cond->expr); in cil_booleanif_to_policydb() 2805 rc = cil_constrain_expand(pdb, db, cil_constrain->classperms, cil_constrain->datum_expr); in cil_constrain_to_policydb() 2820 struct cil_list *expr = cil_validatetrans->datum_expr; in cil_validatetrans_to_policydb() 2860 cil_list_for_each(i, cats->datum_expr) { in __cil_cats_to_mls_level() 2865 cil_list_for_each(j, cs->cats->datum_expr) { in __cil_cats_to_mls_level()
|