/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 | 456 struct cil_list *datum_expr; member 508 struct cil_list *datum_expr; member 540 struct cil_list *datum_expr; member 678 struct cil_list *datum_expr; member 856 struct cil_list *datum_expr; member 863 struct cil_list *datum_expr; member 902 struct cil_list *datum_expr; member 908 struct cil_list *datum_expr; member
|
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_tree.c | 503 void cil_tree_print_expr(struct cil_list *datum_expr, struct cil_list *str_expr) in cil_tree_print_expr() argument 509 if (datum_expr != NULL) { in cil_tree_print_expr() 510 cil_expr_to_string(datum_expr, &expr_str); in cil_tree_print_expr() 536 cil_tree_print_expr(cats->datum_expr, cats->str_expr); in cil_tree_print_cats() 664 cil_tree_print_expr(cons->datum_expr, cons->str_expr); in cil_tree_print_constrain() 722 cil_tree_print_expr(attr->datum_expr, attr->str_expr); in cil_tree_print_node() 878 cil_tree_print_expr(attr->datum_expr, attr->str_expr); in cil_tree_print_node() 893 cil_tree_print_expr(attr->datum_expr, attr->str_expr); in cil_tree_print_node() 1029 cil_tree_print_expr(bif->datum_expr, bif->str_expr); in cil_tree_print_node() 1039 cil_tree_print_expr(tif->datum_expr, tif->str_expr); in cil_tree_print_node() [all …]
|
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.c | 1276 cil_list_for_each(i, cats->datum_expr) { in cil_cats_to_ebitmap() 1280 cil_list_for_each(j, cs->cats->datum_expr) { in cil_cats_to_ebitmap() 1346 if (cats && cats->datum_expr != NULL) { in __cil_level_strlen() 1348 cil_list_for_each(item, cats->datum_expr) { in __cil_level_strlen() 1400 if (cats && cats->datum_expr != NULL) { in __cil_level_to_string() 1404 cil_list_for_each(item, cats->datum_expr) { in __cil_level_to_string() 2055 (*attrset)->datum_expr = NULL; in cil_roleattributeset_init() 2076 (*attrset)->datum_expr = NULL; in cil_typeattributeset_init() 2180 (*bif)->datum_expr = NULL; in cil_boolif_init() 2188 (*tif)->datum_expr = NULL; in cil_tunif_init() [all …]
|
D | cil_resolve_ast.c | 439 …rc = cil_resolve_expr(CIL_TYPEATTRIBUTESET, attrtypes->str_expr, &attrtypes->datum_expr, current, … in cil_resolve_typeattributeset() 444 rc = cil_verify_no_self_reference(attr_datum, attrtypes->datum_expr); in cil_resolve_typeattributeset() 453 cil_list_append(attr->expr_list, CIL_LIST, attrtypes->datum_expr); in cil_resolve_typeattributeset() 1148 …rc = cil_resolve_expr(CIL_ROLEATTRIBUTESET, attrroles->str_expr, &attrroles->datum_expr, current, … in cil_resolve_roleattributeset() 1153 rc = cil_verify_no_self_reference(attr_datum, attrroles->datum_expr); in cil_resolve_roleattributeset() 1162 cil_list_append(attr->expr_list, CIL_LIST, attrroles->datum_expr); in cil_resolve_roleattributeset() 1634 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, extra_args); in cil_resolve_cats() 1655 rc = cil_verify_no_self_reference((struct cil_symtab_datum *)catset, catset->cats->datum_expr); in cil_resolve_catset() 1657 cil_list_destroy(&catset->cats->datum_expr, CIL_FALSE); in cil_resolve_catset() 1787 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() 976 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_mlsconstrains_to_policy() 998 expr_str = cil_cons_expr_to_string(db, trans->datum_expr); in cil_validatetrans_to_policy() 1447 cil_cond_expr_to_policy(args->out, bool->datum_expr, CIL_TRUE); in __cil_te_rules_to_policy_helper() 1647 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_constrains_to_policy()
|
D | cil_verify.c | 451 cil_list_for_each(i, cats->datum_expr) { in __cil_is_cat_in_cats() 486 cil_list_for_each(i, cats->datum_expr) { in __cil_verify_cats_associated_with_sens() 549 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() 5755 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 | 2252 rc = __cil_cond_expr_to_sepol_expr(pdb, cil_boolif->datum_expr, &tmp_cond->expr); in cil_booleanif_to_policydb() 2854 rc = cil_constrain_expand(pdb, db, cil_constrain->classperms, cil_constrain->datum_expr); in cil_constrain_to_policydb() 2869 struct cil_list *expr = cil_validatetrans->datum_expr; in cil_validatetrans_to_policydb() 2909 cil_list_for_each(i, cats->datum_expr) { in __cil_cats_to_mls_level() 2914 cil_list_for_each(j, cs->cats->datum_expr) { in __cil_cats_to_mls_level()
|