Home
last modified time | relevance | path

Searched refs:datum_expr (Results 1 – 12 of 12) 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()
193 cil_list_destroy(&tas->datum_expr, CIL_FALSE); in cil_reset_typeattributeset()
225 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_reset_cats()
375 cil_list_destroy(&con->datum_expr, CIL_FALSE); in cil_reset_constrain()
380 cil_list_destroy(&vt->datum_expr, CIL_FALSE); in cil_reset_validatetrans()
395 cil_list_destroy(&bif->datum_expr, CIL_FALSE); in cil_reset_booleanif()
Dcil_internal.h442 struct cil_list *datum_expr; member
494 struct cil_list *datum_expr; member
520 struct cil_list *datum_expr; member
652 struct cil_list *datum_expr; member
815 struct cil_list *datum_expr; member
822 struct cil_list *datum_expr; member
861 struct cil_list *datum_expr; member
867 struct cil_list *datum_expr; member
Dcil_tree.c417 void cil_tree_print_expr(struct cil_list *datum_expr, struct cil_list *str_expr) in cil_tree_print_expr() argument
423 if (datum_expr != NULL) { in cil_tree_print_expr()
424 cil_expr_to_string(datum_expr, &expr_str); in cil_tree_print_expr()
450 cil_tree_print_expr(cats->datum_expr, cats->str_expr); in cil_tree_print_cats()
578 cil_tree_print_expr(cons->datum_expr, cons->str_expr); in cil_tree_print_constrain()
625 cil_tree_print_expr(attr->datum_expr, attr->str_expr); in cil_tree_print_node()
781 cil_tree_print_expr(attr->datum_expr, attr->str_expr); in cil_tree_print_node()
796 cil_tree_print_expr(attr->datum_expr, attr->str_expr); in cil_tree_print_node()
932 cil_tree_print_expr(bif->datum_expr, bif->str_expr); in cil_tree_print_node()
942 cil_tree_print_expr(tif->datum_expr, tif->str_expr); in cil_tree_print_node()
[all …]
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()
900 cil_copy_expr(db, orig->datum_expr, &(*new)->datum_expr); in cil_copy_cats()
1386 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_constrain()
1403 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_validatetrans()
1569 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_boolif()
1585 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_tunif()
Dcil_resolve_ast.h93 …num cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_expr, struct cil_tree…
95 int cil_evaluate_expr(struct cil_list *datum_expr, uint16_t *result);
Dcil.c1237 cil_list_for_each(i, cats->datum_expr) { in cil_cats_to_ebitmap()
1241 cil_list_for_each(j, cs->cats->datum_expr) { in cil_cats_to_ebitmap()
1305 if (cats && cats->datum_expr != NULL) { in __cil_level_strlen()
1307 cil_list_for_each(item, cats->datum_expr) { in __cil_level_strlen()
1359 if (cats && cats->datum_expr != NULL) { in __cil_level_to_string()
1363 cil_list_for_each(item, cats->datum_expr) { in __cil_level_to_string()
1990 (*attrset)->datum_expr = NULL; in cil_roleattributeset_init()
2010 (*attrset)->datum_expr = NULL; in cil_typeattributeset_init()
2105 (*bif)->datum_expr = NULL; in cil_boolif_init()
2113 (*tif)->datum_expr = NULL; in cil_tunif_init()
[all …]
Dcil_resolve_ast.c429 …rc = cil_resolve_expr(CIL_TYPEATTRIBUTESET, attrtypes->str_expr, &attrtypes->datum_expr, current, … in cil_resolve_typeattributeset()
434 rc = cil_verify_no_self_reference(attr_datum, attrtypes->datum_expr); in cil_resolve_typeattributeset()
443 cil_list_append(attr->expr_list, CIL_LIST, attrtypes->datum_expr); in cil_resolve_typeattributeset()
1094 …rc = cil_resolve_expr(CIL_ROLEATTRIBUTESET, attrroles->str_expr, &attrroles->datum_expr, current, … in cil_resolve_roleattributeset()
1099 rc = cil_verify_no_self_reference(attr_datum, attrroles->datum_expr); in cil_resolve_roleattributeset()
1108 cil_list_append(attr->expr_list, CIL_LIST, attrroles->datum_expr); in cil_resolve_roleattributeset()
1579 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, extra_args); in cil_resolve_cats()
1600 rc = cil_verify_no_self_reference((struct cil_symtab_datum *)catset, catset->cats->datum_expr); in cil_resolve_catset()
1602 cil_list_destroy(&catset->cats->datum_expr, CIL_FALSE); in cil_resolve_catset()
1732 rc = cil_resolve_expr(CIL_CONSTRAIN, cons->str_expr, &cons->datum_expr, current, extra_args); in cil_resolve_constrain()
[all …]
Dcil_policy.c419 cil_expr_to_policy(file_arr, file_index, cats->datum_expr); in cil_cats_to_policy()
543 cil_constrain_to_policy_helper(file_arr, kind, cons->classperms, cons->datum_expr); in cil_constrain_to_policy()
889 struct cil_list *expr = bif->datum_expr; in cil_booleanif_to_policy()
1072 cil_expr_to_policy(file_arr, CONSTRAINS, vt->datum_expr); in cil_name_to_policy()
1080 cil_expr_to_policy(file_arr, CONSTRAINS, vt->datum_expr); in cil_name_to_policy()
Dcil_post.c842 if (cil_verify_is_list(cats->datum_expr, CIL_CAT)) { in __evaluate_cat_expression()
847 rc = __cil_expr_to_bitmap(cats->datum_expr, &bitmap, db->num_cats, db); in __evaluate_cat_expression()
864 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression()
866 cats->datum_expr = new; in __evaluate_cat_expression()
870 cats->datum_expr = NULL; in __evaluate_cat_expression()
895 for (curr = catset->cats->datum_expr->head; curr; curr = curr->next) { in __cil_cat_to_bitmap()
Dcil_verify.c445 cil_list_for_each(i, cats->datum_expr) { in __cil_is_cat_in_cats()
480 cil_list_for_each(i, cats->datum_expr) { in __cil_verify_cats_associated_with_sens()
543 cil_list_for_each(item, low->datum_expr) { in __cil_verify_levelrange_cats()
Dcil_build_ast.c1353 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_userattributeset()
1999 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_roleattributeset()
2900 cil_list_destroy(&bif->datum_expr, CIL_FALSE); in cil_destroy_boolif()
2980 cil_list_destroy(&tif->datum_expr, CIL_FALSE); in cil_destroy_tunif()
3203 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_typeattributeset()
3975 cil_list_destroy(&cons->datum_expr, CIL_FALSE); in cil_destroy_constrain()
4031 cil_list_destroy(&validtrans->datum_expr, CIL_FALSE); in cil_destroy_validatetrans()
5563 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_destroy_cats()
Dcil_binary.c2068 rc = __cil_cond_expr_to_sepol_expr(pdb, cil_boolif->datum_expr, &tmp_cond->expr); in cil_booleanif_to_policydb()
2664 rc = cil_constrain_expand(pdb, db, cil_constrain->classperms, cil_constrain->datum_expr); in cil_constrain_to_policydb()
2679 struct cil_list *expr = cil_validatetrans->datum_expr; in cil_validatetrans_to_policydb()
2719 cil_list_for_each(i, cats->datum_expr) { in __cil_cats_to_mls_level()
2724 cil_list_for_each(j, cs->cats->datum_expr) { in __cil_cats_to_mls_level()