Home
last modified time | relevance | path

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

/external/libsepol/include/sepol/policydb/
Dconditional.h55 } cond_expr_t; typedef
76 cond_expr_t *expr;
93 extern int cond_evaluate_expr(policydb_t * p, cond_expr_t * expr);
94 extern cond_expr_t *cond_copy_expr(cond_expr_t * expr);
99 extern void cond_expr_destroy(cond_expr_t * expr);
/external/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.c1933 cond_expr_t *cur; in cond_node_map_bools()
2723 cond_expr_t *cur_expr; in discard_tunables()
Dlink.c1528 cond_expr_t *cur_expr; in copy_cond_list()
Dwrite.c700 cond_expr_t *cur_expr; in cond_write_node()
/external/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/checkpolicy/
Dpolicy_define.h20 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.c303 void display_expr(cond_expr_t * exp) in display_expr()
306 cond_expr_t *cur; in display_expr()
Dpolicy_define.c3088 int define_conditional(cond_expr_t * expr, avrule_t * t, avrule_t * f) in define_conditional()
3090 cond_expr_t *e; in define_conditional()
3187 cond_expr_t *define_cond_expr(uint32_t expr_type, void *arg1, void *arg2) in define_cond_expr()
3200 return (cond_expr_t *) 1; /* any non-NULL value */ in define_cond_expr()
3209 memset(expr, 0, sizeof(cond_expr_t)); in define_cond_expr()
Dpolicy_parse.y346 …{ if (pass == 2) { if (define_conditional((cond_expr_t*)$2, (avrule_t*)$4, (avrule_t*)$6) < 0) ret…
/external/checkpolicy/test/
Ddispol.c196 void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp) in display_expr()
199 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()