Home
last modified time | relevance | path

Searched refs:r_flavor (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_verify.c217 int cil_verify_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum… in cil_verify_constraint_leaf_expr_syntax() argument
219 if (r_flavor == CIL_STRING || r_flavor == CIL_LIST) { in cil_verify_constraint_leaf_expr_syntax()
228 } else if (r_flavor == CIL_LIST) { in cil_verify_constraint_leaf_expr_syntax()
233 if (r_flavor == CIL_CONS_U2) { in cil_verify_constraint_leaf_expr_syntax()
241 } else if (r_flavor == CIL_CONS_R2) { in cil_verify_constraint_leaf_expr_syntax()
246 } else if (r_flavor == CIL_CONS_T2) { in cil_verify_constraint_leaf_expr_syntax()
254 } else if (r_flavor == CIL_CONS_L2) { in cil_verify_constraint_leaf_expr_syntax()
259 } else if (r_flavor == CIL_CONS_H2) { in cil_verify_constraint_leaf_expr_syntax()
264 } else if (r_flavor == CIL_CONS_H1) { in cil_verify_constraint_leaf_expr_syntax()
Dcil_verify.h62 int cil_verify_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum…
Dcil_build_ast.c2677 enum cil_flavor r_flavor = CIL_NONE; in __cil_fill_constraint_leaf_expr() local
2680 r_flavor = __cil_get_constraint_operand_flavor(current->next->next->data); in __cil_fill_constraint_leaf_expr()
2709 rc = cil_verify_constraint_leaf_expr_syntax(l_flavor, r_flavor, op, expr_flavor); in __cil_fill_constraint_leaf_expr()
2720 if (r_flavor == CIL_STRING) { in __cil_fill_constraint_leaf_expr()
2722 } else if (r_flavor == CIL_LIST) { in __cil_fill_constraint_leaf_expr()
2727 cil_list_append(*leaf_expr, CIL_CONS_OPERAND, (void *)r_flavor); in __cil_fill_constraint_leaf_expr()