Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c127 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()
Dcil_internal.h457 struct cil_list *datum_expr; member
509 struct cil_list *datum_expr; member
541 struct cil_list *datum_expr; member
679 struct cil_list *datum_expr; member
858 struct cil_list *datum_expr; member
865 struct cil_list *datum_expr; member
904 struct cil_list *datum_expr; member
910 struct cil_list *datum_expr; member
Dcil_copy_ast.c423 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()
Dcil_tree.c503 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 …]
Dcil_resolve_ast.h95 …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);
Dcil.c1277 cil_list_for_each(i, cats->datum_expr) { in cil_cats_to_ebitmap()
1281 cil_list_for_each(j, cs->cats->datum_expr) { in cil_cats_to_ebitmap()
1347 if (cats && cats->datum_expr != NULL) { in __cil_level_strlen()
1349 cil_list_for_each(item, cats->datum_expr) { in __cil_level_strlen()
1401 if (cats && cats->datum_expr != NULL) { in __cil_level_to_string()
1405 cil_list_for_each(item, cats->datum_expr) { in __cil_level_to_string()
2056 (*attrset)->datum_expr = NULL; in cil_roleattributeset_init()
2077 (*attrset)->datum_expr = NULL; in cil_typeattributeset_init()
2181 (*bif)->datum_expr = NULL; in cil_boolif_init()
2189 (*tif)->datum_expr = NULL; in cil_tunif_init()
[all …]
Dcil_resolve_ast.c439 …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()
1637 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, extra_args); in cil_resolve_cats()
1658 rc = cil_verify_no_self_reference((struct cil_symtab_datum *)catset, catset->cats->datum_expr); in cil_resolve_catset()
1660 cil_list_destroy(&catset->cats->datum_expr, CIL_FALSE); in cil_resolve_catset()
1790 rc = cil_resolve_expr(CIL_CONSTRAIN, cons->str_expr, &cons->datum_expr, current, extra_args); in cil_resolve_constrain()
[all …]
Dcil_post.c66 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()
Dcil_policy.c201 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()
Dcil_verify.c451 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()
Dcil_build_ast.c1384 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()
Dandroid.c442 if (typeattrset->datum_expr != NULL) { in cil_attrib_typeattributeset()
Dcil_binary.c2260 rc = __cil_cond_expr_to_sepol_expr(pdb, cil_boolif->datum_expr, &tmp_cond->expr); in cil_booleanif_to_policydb()
2868 rc = cil_constrain_expand(pdb, db, cil_constrain->classperms, cil_constrain->datum_expr); in cil_constrain_to_policydb()
2883 struct cil_list *expr = cil_validatetrans->datum_expr; in cil_validatetrans_to_policydb()
2923 cil_list_for_each(i, cats->datum_expr) { in __cil_cats_to_mls_level()
2928 cil_list_for_each(j, cs->cats->datum_expr) { in __cil_cats_to_mls_level()