Searched refs:cond_expr_t (Results 1 – 15 of 15) sorted by relevance
/external/selinux/libsepol/include/sepol/policydb/ |
D | conditional.h | 59 } 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/ |
D | conditional.c | 99 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 …]
|
D | expand.c | 2018 cond_expr_t *cur; in cond_node_map_bools() 2852 cond_expr_t *cur_expr; in discard_tunables()
|
D | link.c | 1551 cond_expr_t *cur_expr; in copy_cond_list()
|
D | write.c | 748 cond_expr_t *cur_expr; in cond_write_node()
|
/external/selinux/libsepol/tests/ |
D | debug.c | 37 void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp) in display_expr() 40 cond_expr_t *cur; in display_expr()
|
D | debug.h | 27 extern void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp);
|
D | test-linker-cond-map.c | 60 cond_expr_t *expr; in test_cond_expr_mapping()
|
/external/selinux/checkpolicy/ |
D | policy_define.h | 19 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 );
|
D | checkpolicy.c | 306 void display_expr(cond_expr_t * exp) in display_expr() 309 cond_expr_t *cur; in display_expr()
|
D | policy_define.c | 3932 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()
|
D | policy_parse.y | 365 …{ if (pass == 2) { if (define_conditional((cond_expr_t*)$2, (avrule_t*)$4, (avrule_t*)$6) < 0) ret…
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 192 void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp) in display_expr() 195 cond_expr_t *cur; in display_expr()
|
D | dismod.c | 371 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/ |
D | cil_binary.c | 2082 …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()
|