Home
last modified time | relevance | path

Searched refs:cond_expr_t (Results 1 – 15 of 15) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dconditional.h59 } cond_expr_t; typedef
80 cond_expr_t *expr;
97 extern int cond_evaluate_expr(policydb_t * p, cond_expr_t * expr);
98 extern cond_expr_t *cond_copy_expr(cond_expr_t * expr);
103 extern void cond_expr_destroy(cond_expr_t * expr);
/external/selinux/libsepol/src/
Dconditional.c99 cond_expr_t *cur_a, *cur_b; in cond_expr_equal()
210 int cond_evaluate_expr(policydb_t * p, cond_expr_t * expr) in cond_evaluate_expr()
213 cond_expr_t *cur; in cond_evaluate_expr()
269 cond_expr_t *cond_copy_expr(cond_expr_t * expr) in cond_copy_expr()
271 cond_expr_t *cur, *head, *tail, *new_expr; in cond_copy_expr()
275 new_expr = (cond_expr_t *) malloc(sizeof(cond_expr_t)); in cond_copy_expr()
278 memset(new_expr, 0, sizeof(cond_expr_t)); in cond_copy_expr()
346 cond_expr_t *ne, *e; in cond_normalize_expr()
476 void cond_expr_destroy(cond_expr_t * expr) in cond_expr_destroy()
478 cond_expr_t *cur_expr, *next_expr; in cond_expr_destroy()
[all …]
Dexpand.c2018 cond_expr_t *cur; in cond_node_map_bools()
2852 cond_expr_t *cur_expr; in discard_tunables()
Dlink.c1551 cond_expr_t *cur_expr; in copy_cond_list()
Dwrite.c748 cond_expr_t *cur_expr; in cond_write_node()
/external/selinux/libsepol/tests/
Ddebug.c37 void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp) in display_expr()
40 cond_expr_t *cur; in display_expr()
Ddebug.h27 extern void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp);
Dtest-linker-cond-map.c60 cond_expr_t *expr; in test_cond_expr_mapping()
/external/selinux/checkpolicy/
Dpolicy_define.h19 cond_expr_t *define_cond_expr(uint32_t expr_type, void *arg1, void* arg2);
32 int define_conditional(cond_expr_t *expr, avrule_t *t_list, avrule_t *f_list );
Dcheckpolicy.c306 void display_expr(cond_expr_t * exp) in display_expr()
309 cond_expr_t *cur; in display_expr()
Dpolicy_define.c3932 int define_conditional(cond_expr_t * expr, avrule_t * t, avrule_t * f) in define_conditional()
3934 cond_expr_t *e; in define_conditional()
4031 cond_expr_t *define_cond_expr(uint32_t expr_type, void *arg1, void *arg2) in define_cond_expr()
4044 return (cond_expr_t *) 1; /* any non-NULL value */ in define_cond_expr()
4053 memset(expr, 0, sizeof(cond_expr_t)); in define_cond_expr()
Dpolicy_parse.y365 …{ if (pass == 2) { if (define_conditional((cond_expr_t*)$2, (avrule_t*)$4, (avrule_t*)$6) < 0) ret…
/external/selinux/checkpolicy/test/
Ddispol.c192 void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp) in display_expr()
195 cond_expr_t *cur; in display_expr()
Ddismod.c371 void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp) in display_expr()
374 cond_expr_t *cur; in display_expr()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2082 …epol_expr_helper(policydb_t *pdb, struct cil_list *cil_expr, cond_expr_t **head, cond_expr_t **tai…
2084 …m_to_sepol_expr(policydb_t *pdb, struct cil_list_item *item, cond_expr_t **head, cond_expr_t **tai… in __cil_cond_item_to_sepol_expr()
2095 *head = cil_malloc(sizeof(cond_expr_t)); in __cil_cond_item_to_sepol_expr()
2116 …epol_expr_helper(policydb_t *pdb, struct cil_list *cil_expr, cond_expr_t **head, cond_expr_t **tai… in __cil_cond_expr_to_sepol_expr_helper()
2121 cond_expr_t *op, *h1, *h2, *t1, *t2; in __cil_cond_expr_to_sepol_expr_helper()
2216 static int __cil_cond_expr_to_sepol_expr(policydb_t *pdb, struct cil_list *cil_expr, cond_expr_t **… in __cil_cond_expr_to_sepol_expr()
2219 cond_expr_t *head, *tail; in __cil_cond_expr_to_sepol_expr()