Home
last modified time | relevance | path

Searched refs:str_expr (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_internal.h457 struct cil_list *str_expr; member
509 struct cil_list *str_expr; member
541 struct cil_list *str_expr; member
679 struct cil_list *str_expr; member
858 struct cil_list *str_expr; member
865 struct cil_list *str_expr; member
904 struct cil_list *str_expr; member
910 struct cil_list *str_expr; member
Dcil_copy_ast.c422 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_userattributeset()
561 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_roleattributeset()
643 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_typeattributeset()
922 cil_copy_expr(db, orig->str_expr, &(*new)->str_expr); in cil_copy_cats()
1453 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_constrain()
1470 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_validatetrans()
1636 cil_copy_expr(db, orig->str_expr, &new->str_expr); in cil_copy_boolif()
1652 cil_copy_expr(db, orig->str_expr, &new->str_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
513 rc = cil_expr_to_string(str_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()
1373 cil_tree_print_expr(vt->datum_expr, vt->str_expr); in cil_tree_print_node()
[all …]
Dandroid.c454 rc = cil_attrib_type_expr(typeattrset->str_expr, args); in cil_attrib_typeattributeset()
797 cil_list_init(&attrset->str_expr, CIL_TYPE); in cil_build_mappings_tree()
799 cil_list_append(attrset->str_expr, CIL_STRING, orig_type); in cil_build_mappings_tree()
Dcil_resolve_ast.h95 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_…
Dcil.c2218 (*attrset)->str_expr = NULL; in cil_roleattributeset_init()
2239 (*attrset)->str_expr = NULL; in cil_typeattributeset_init()
2343 (*bif)->str_expr = NULL; in cil_boolif_init()
2351 (*tif)->str_expr = NULL; in cil_tunif_init()
2440 (*cats)->str_expr = NULL; in cil_cats_init()
2557 (*constrain)->str_expr = NULL; in cil_constrain_init()
2567 (*validtrans)->str_expr = NULL; in cil_validatetrans_init()
2656 (*attrset)->str_expr = NULL; in cil_userattributeset_init()
Dcil_resolve_ast.c435 …rc = cil_resolve_expr(CIL_TYPEATTRIBUTESET, attrtypes->str_expr, &attrtypes->datum_expr, current, … in cil_resolve_typeattributeset()
1144 …rc = cil_resolve_expr(CIL_ROLEATTRIBUTESET, attrroles->str_expr, &attrroles->datum_expr, current, … in cil_resolve_roleattributeset()
1633 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, extra_args); in cil_resolve_cats()
1786 rc = cil_resolve_expr(CIL_CONSTRAIN, cons->str_expr, &cons->datum_expr, current, extra_args); in cil_resolve_constrain()
1810 …rc = cil_resolve_expr(CIL_VALIDATETRANS, validtrans->str_expr, &validtrans->datum_expr, current, e… in cil_resolve_validatetrans()
3161 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_… in cil_resolve_expr() argument
3168 switch (str_expr->flavor) { in cil_resolve_expr()
3191 cil_list_init(datum_expr, str_expr->flavor); in cil_resolve_expr()
3193 cil_list_for_each(curr, str_expr) { in cil_resolve_expr()
3233 rc = cil_resolve_expr(CIL_BOOLEANIF, bif->str_expr, &bif->datum_expr, current, extra_args); in cil_resolve_boolif()
[all …]
Dcil_build_ast.c1361 rc = cil_gen_expr(parse_current->next->next, CIL_USER, &attrset->str_expr); in cil_gen_userattributeset()
1383 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_userattributeset()
1995 rc = cil_gen_expr(parse_current->next->next, CIL_ROLE, &attrset->str_expr); in cil_gen_roleattributeset()
2017 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_roleattributeset()
2857 rc = cil_gen_expr(parse_current->next, CIL_BOOL, &bif->str_expr); in cil_gen_boolif()
2908 cil_list_destroy(&bif->str_expr, CIL_TRUE); in cil_destroy_boolif()
2940 rc = cil_gen_expr(parse_current->next, CIL_TUNABLE, &tif->str_expr); in cil_gen_tunif()
2987 cil_list_destroy(&tif->str_expr, CIL_TRUE); in cil_destroy_tunif()
3186 rc = cil_gen_expr(parse_current->next->next, CIL_TYPE, &attrset->str_expr); in cil_gen_typeattributeset()
3207 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_typeattributeset()
[all …]
Dcil_write_ast.c265 return cil_unfill_expr(cats->str_expr, out_str, 0); in cil_unfill_cats()
644 rc = cil_unfill_expr(typeattrset->str_expr, &set_str, 1); in cil_write_typeattributeset()
1075 rc = cil_unfill_expr(cons->str_expr, &expr, 0); in cil_write_constrain()