Home
last modified time | relevance | path

Searched refs:cond_expr (Results 1 – 13 of 13) sorted by relevance

/external/selinux/checkpolicy/
Dpolicy_parse.y76 %type <ptr> cond_expr cond_expr_prim cond_pol_list cond_else
364 cond_stmt_def : IF cond_expr '{' cond_pol_list '}' cond_else
372 cond_expr : '(' cond_expr ')'
374 | NOT cond_expr
377 | cond_expr AND cond_expr
380 | cond_expr OR cond_expr
383 | cond_expr XOR cond_expr
386 | cond_expr EQUALS cond_expr
389 | cond_expr NOTEQUAL cond_expr
Dpolicy_define.c4033 struct cond_expr *expr, *e1 = NULL, *e2; in define_cond_expr()
4048 expr = malloc(sizeof(struct cond_expr)); in define_cond_expr()
4060 e2 = (struct cond_expr *)arg1; in define_cond_expr()
4071 return (struct cond_expr *)arg1; in define_cond_expr()
4078 e2 = (struct cond_expr *)arg1; in define_cond_expr()
4089 e1->next = (struct cond_expr *)arg2; in define_cond_expr()
4092 e2 = (struct cond_expr *)arg2; in define_cond_expr()
4104 return (struct cond_expr *)arg1; in define_cond_expr()
/external/mesa3d/src/compiler/glsl/
Dlower_if_to_cond_assign.cpp173 ir_if *if_ir, ir_rvalue *cond_expr, in move_block_to_cond_assign() argument
197 cond_expr->clone(mem_ctx, NULL), in move_block_to_cond_assign()
200 assign->condition = cond_expr->clone(mem_ctx, NULL); in move_block_to_cond_assign()
206 cond_expr->clone(mem_ctx, NULL), in move_block_to_cond_assign()
Dir_reader.cpp579 s_expression *cond_expr = NULL; in read_assignment() local
584 s_pattern pat5[] = { "assign", cond_expr, mask_list, lhs_expr, rhs_expr }; in read_assignment()
592 if (cond_expr != NULL) { in read_assignment()
593 condition = read_rvalue(cond_expr); in read_assignment()
/external/selinux/libsepol/include/sepol/policydb/
Dconditional.h47 typedef struct cond_expr { struct
58 struct cond_expr *next; argument
/external/selinux/python/sepolgen/src/sepolgen/
Drefpolicy.py580 self.cond_expr = []
583 return "[If %s]" % list_to_space_str(self.cond_expr, cont=("", ""))
754 self.cond_expr = []
757 return "[Tunable Policy %s]" % list_to_space_str(self.cond_expr, cont=("", ""))
Drefparser.py413 x.cond_expr = p[4]
852 c.cond_expr = p[3]
/external/valgrind/VEX/priv/
Dguest_s390_helpers.c1847 IRExpr *cond_expr, *cc_op_expr, *cc_dep1, *cc_dep2; in guest_s390x_spechelper() local
1852 cond_expr = args[0]; in guest_s390x_spechelper()
1857 if (! isC64(cond_expr)) return NULL; in guest_s390x_spechelper()
1860 cond = cond_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
2372 binop(Iop_Shl64, cond_expr, in guest_s390x_spechelper()
Dhost_s390_isel.c1860 IRExpr *cond_expr; in s390_isel_int_expr_wrk() local
1864 cond_expr = expr->Iex.ITE.cond; in s390_isel_int_expr_wrk()
1866 vassert(typeOfIRExpr(env->type_env, cond_expr) == Ity_I1); in s390_isel_int_expr_wrk()
1873 s390_cc_t cc = s390_isel_cc(env, cond_expr); in s390_isel_int_expr_wrk()
/external/selinux/libsepol/src/
Dmodule_to_cil.c1229 static int cond_expr_to_cil(int indent, struct policydb *pdb, struct cond_expr *cond_expr, uint32_t… in cond_expr_to_cil() argument
1232 struct cond_expr *curr; in cond_expr_to_cil()
1250 for (curr = cond_expr; curr != NULL; curr = curr->next) { in cond_expr_to_cil()
Dkernel_to_cil.c28 static char *cond_expr_to_str(struct policydb *pdb, struct cond_expr *expr) in cond_expr_to_str()
30 struct cond_expr *curr; in cond_expr_to_str()
Dkernel_to_conf.c27 static char *cond_expr_to_str(struct policydb *pdb, struct cond_expr *expr) in cond_expr_to_str()
29 struct cond_expr *curr; in cond_expr_to_str()
/external/bison/
DNEWS494 if_stmt : "if" cond_expr "then" then_stmt ';'
495 { $if_stmt = mk_if_stmt($cond_expr, $then_stmt); }