Home
last modified time | relevance | path

Searched refs:expr_type (Results 1 – 16 of 16) sorted by relevance

/external/libsepol/tests/
Dtest-linker-cond-map.c54 uint32_t expr_type; member
70 CU_ASSERT(expr->expr_type == bools[i].expr_type); in test_cond_expr_mapping()
103 bools[0].expr_type = COND_BOOL; in base_cond_tests()
113 bools[0].expr_type = COND_BOOL; in base_cond_tests()
131 bools[0].expr_type = COND_BOOL; in module_cond_tests()
141 bools[0].expr_type = COND_BOOL; in module_cond_tests()
153 bools[0].expr_type = COND_BOOL; in module_cond_tests()
155 bools[1].expr_type = COND_BOOL; in module_cond_tests()
157 bools[2].expr_type = COND_AND; in module_cond_tests()
Ddebug.c42 switch (cur->expr_type) { in display_expr()
65 fprintf(fp, "error! (%d)", cur->expr_type); in display_expr()
/external/libsepol/src/
Dconditional.c124 if (cur_a->expr_type != cur_b->expr_type) in cond_expr_equal()
126 if (cur_a->expr_type == COND_BOOL) { in cond_expr_equal()
220 switch (cur->expr_type) { in cond_evaluate_expr()
280 new_expr->expr_type = cur->expr_type; in cond_copy_expr()
367 if (e->expr_type == COND_NOT) { in cond_normalize_expr()
389 switch (e->expr_type) { in cond_normalize_expr()
749 if (expr->expr_type <= 0 || expr->expr_type > COND_LAST) { in expr_isvalid()
794 expr->expr_type = le32_to_cpu(buf[0]); in cond_read_node()
Dexpand.c304 new_expr->expr_type = expr->expr_type; in constraint_node_clone()
307 if (new_expr->expr_type == CEXPR_NAMES) { in constraint_node_clone()
2729 if (cur_expr->expr_type != COND_BOOL) in discard_tunables()
Dwrite.c721 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node()
882 buf[0] = cpu_to_le32(e->expr_type); in write_cons_helper()
889 switch (e->expr_type) { in write_cons_helper()
Dservices.c139 switch (e->expr_type) { in constraint_expr_eval()
Dpolicydb.c1949 e->expr_type = le32_to_cpu(buf[0]); in read_cons_helper()
1953 switch (e->expr_type) { in read_cons_helper()
Dlink.c1514 if (cur_expr->expr_type != COND_BOOL) in copy_cond_list()
/external/checkpolicy/
Dpolicy_define.h20 cond_expr_t *define_cond_expr(uint32_t expr_type, void *arg1, void* arg2);
67 uintptr_t define_cexpr(uint32_t expr_type, uintptr_t arg1, uintptr_t arg2);
Dpolicy_define.c2559 newe->expr_type = e->expr_type; in constraint_expr_clone()
2562 if (newe->expr_type == CEXPR_NAMES) { in constraint_expr_clone()
2608 switch (e->expr_type) { in define_constraint()
2752 switch (e->expr_type) { in define_validatetrans()
2833 uintptr_t define_cexpr(uint32_t expr_type, uintptr_t arg1, uintptr_t arg2) in define_cexpr() argument
2844 if (expr_type == CEXPR_NAMES) { in define_cexpr()
2857 expr->expr_type = expr_type; in define_cexpr()
2859 switch (expr_type) { in define_cexpr()
3012 switch (e->expr_type) { in define_conditional()
3081 cond_expr_t *define_cond_expr(uint32_t expr_type, void *arg1, void *arg2) in define_cond_expr() argument
[all …]
Dcheckpolicy.c308 switch (cur->expr_type) { in display_expr()
/external/libsepol/include/sepol/policydb/
Dconstraint.h36 uint32_t expr_type; /* expression type */ member
Dconditional.h52 uint32_t expr_type; member
/external/checkpolicy/test/
Ddispol.c201 switch (cur->expr_type) { in display_expr()
Ddismod.c376 switch (cur->expr_type) { in display_expr()
/external/valgrind/main/perf/
Dtinycc.c5401 static void expr_type(CType *type);
12724 expr_type(type); in parse_expr_type()
13464 static void expr_type(CType *type) in expr_type() function
13965 int v, int expr_type) in init_putv() argument
13972 switch(expr_type) { in init_putv()
14073 int size1, align1, expr_type; in decl_initializer() local
14262 expr_type = EXPR_CONST; in decl_initializer()
14264 expr_type = EXPR_ANY; in decl_initializer()
14265 init_putv(type, sec, c, 0, expr_type); in decl_initializer()