/external/selinux/libsepol/tests/ |
D | test-linker-cond-map.c | 54 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()
|
D | debug.c | 42 switch (cur->expr_type) { in display_expr() 65 fprintf(fp, "error! (%d)", cur->expr_type); in display_expr()
|
/external/toybox/kconfig/ |
D | expr.h | 34 enum expr_type { enum 44 enum expr_type type; 162 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 163 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 164 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); 180 void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2); 181 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);
|
D | lkc_proto.h | 41 P(expr_compare_type,int,(enum expr_type t1, enum expr_type t2));
|
D | expr.c | 24 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() 33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 43 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() 135 static void __expr_eliminate_eq(enum expr_type type, struct expr **ep1, struct expr **ep2) in __expr_eliminate_eq() 509 static void expr_eliminate_dups1(enum expr_type type, struct expr **ep1, struct expr **ep2) in expr_eliminate_dups1() 561 static void expr_eliminate_dups2(enum expr_type type, struct expr **ep1, struct expr **ep2) in expr_eliminate_dups2() 853 void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2) in expr_extract_eq() 882 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) in expr_trans_compare() 984 int expr_compare_type(enum expr_type t1, enum expr_type t2) in expr_compare_type()
|
/external/selinux/libsepol/src/ |
D | conditional.c | 124 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()
|
D | module_to_cil.c | 1136 if (curr->expr_type == COND_BOOL) { in cond_expr_to_cil() 1154 switch(curr->expr_type) { in cond_expr_to_cil() 1166 num_params = curr->expr_type == COND_NOT ? 1 : 2; in cond_expr_to_cil() 1644 if (expr->expr_type == CEXPR_ATTR || expr->expr_type == CEXPR_NAMES) { in constraint_expr_to_string() 1679 if (expr->expr_type == CEXPR_ATTR) { in constraint_expr_to_string() 1738 switch (expr->expr_type) { in constraint_expr_to_string() 1743 log_err("Unknown constraint expression type: %i", expr->expr_type); in constraint_expr_to_string() 1748 num_params = expr->expr_type == CEXPR_NOT ? 1 : 2; in constraint_expr_to_string()
|
D | write.c | 754 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node() 915 buf[0] = cpu_to_le32(e->expr_type); in write_cons_helper() 922 switch (e->expr_type) { in write_cons_helper()
|
D | expand.c | 306 new_expr->expr_type = expr->expr_type; in constraint_node_clone() 309 if (new_expr->expr_type == CEXPR_NAMES) { in constraint_node_clone() 2859 if (cur_expr->expr_type != COND_BOOL) in discard_tunables()
|
D | policydb.c | 2028 e->expr_type = le32_to_cpu(buf[0]); in read_cons_helper() 2032 switch (e->expr_type) { in read_cons_helper()
|
D | services.c | 472 switch (e->expr_type) { in constraint_expr_eval_reason()
|
D | link.c | 1572 if (cur_expr->expr_type != COND_BOOL) in copy_cond_list()
|
/external/selinux/checkpolicy/ |
D | policy_define.h | 19 cond_expr_t *define_cond_expr(uint32_t expr_type, void *arg1, void* arg2); 72 uintptr_t define_cexpr(uint32_t expr_type, uintptr_t arg1, uintptr_t arg2);
|
D | policy_define.c | 3384 newe->expr_type = e->expr_type; in constraint_expr_clone() 3387 if (newe->expr_type == CEXPR_NAMES) { in constraint_expr_clone() 3433 switch (e->expr_type) { in define_constraint() 3579 switch (e->expr_type) { in define_validatetrans() 3660 uintptr_t define_cexpr(uint32_t expr_type, uintptr_t arg1, uintptr_t arg2) in define_cexpr() argument 3671 if (expr_type == CEXPR_NAMES) { in define_cexpr() 3684 expr->expr_type = expr_type; in define_cexpr() 3686 switch (expr_type) { in define_cexpr() 3837 switch (e->expr_type) { in define_conditional() 3906 cond_expr_t *define_cond_expr(uint32_t expr_type, void *arg1, void *arg2) in define_cond_expr() argument [all …]
|
D | checkpolicy.c | 309 switch (cur->expr_type) { in display_expr()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | constraint.h | 37 uint32_t expr_type; /* expression type */ member
|
D | conditional.h | 55 uint32_t expr_type; member
|
/external/selinux/policycoreutils/sepolicy/ |
D | search.c | 306 uint32_t expr_type = 0; in get_bool() local 326 if (qpol_cond_expr_node_get_expr_type(q, expr, &expr_type)) { in get_bool() 329 if (expr_type != QPOL_COND_EXPR_BOOL) { in get_bool() 330 obj = PyString_FromString(apol_cond_expr_type_to_str(expr_type)); in get_bool()
|
/external/selinux/libsepol/cil/src/ |
D | cil_resolve_ast.h | 93 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_…
|
D | cil_binary.c | 1912 (*head)->expr_type = COND_BOOL; in __cil_cond_item_to_sepol_expr() 1954 op->expr_type = COND_NOT; in __cil_cond_expr_to_sepol_expr_helper() 1957 op->expr_type = COND_OR; in __cil_cond_expr_to_sepol_expr_helper() 1960 op->expr_type = COND_AND; in __cil_cond_expr_to_sepol_expr_helper() 1963 op->expr_type = COND_XOR; in __cil_cond_expr_to_sepol_expr_helper() 1966 op->expr_type = COND_EQ; in __cil_cond_expr_to_sepol_expr_helper() 1969 op->expr_type = COND_NEQ; in __cil_cond_expr_to_sepol_expr_helper() 2017 op->expr_type = COND_OR; in __cil_cond_expr_to_sepol_expr_helper() 2447 expr->expr_type = CEXPR_ATTR; in __cil_constrain_expr_leaf_to_sepol_expr() 2449 expr->expr_type = CEXPR_NAMES; in __cil_constrain_expr_leaf_to_sepol_expr() [all …]
|
D | cil_resolve_ast.c | 3064 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_… in cil_resolve_expr() argument 3104 …if (sym_index == CIL_SYM_TYPES && (expr_type == CIL_CONSTRAIN || expr_type == CIL_VALIDATETRANS)) { in cil_resolve_expr() 3112 rc = cil_resolve_expr(expr_type, curr->data, &datum_sub_expr, parent, extra_args); in cil_resolve_expr()
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 197 switch (cur->expr_type) { in display_expr()
|
D | dismod.c | 376 switch (cur->expr_type) { in display_expr()
|
/external/valgrind/perf/ |
D | tinycc.c | 5401 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()
|