Home
last modified time | relevance | path

Searched refs:l_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
220 …if (l_flavor == CIL_CONS_L1 || l_flavor == CIL_CONS_L2 || l_flavor == CIL_CONS_H1 || l_flavor == C… in cil_verify_constraint_leaf_expr_syntax()
223 } else if (l_flavor == CIL_CONS_U3 || l_flavor == CIL_CONS_R3 || l_flavor == CIL_CONS_T3) { in cil_verify_constraint_leaf_expr_syntax()
234 } else if (l_flavor != CIL_CONS_U1) { in cil_verify_constraint_leaf_expr_syntax()
239 if (l_flavor != CIL_CONS_R1) { in cil_verify_constraint_leaf_expr_syntax()
247 } else if (l_flavor != CIL_CONS_T1) { in cil_verify_constraint_leaf_expr_syntax()
252 if (l_flavor != CIL_CONS_L1 && l_flavor != CIL_CONS_H1) { in cil_verify_constraint_leaf_expr_syntax()
257 if (l_flavor != CIL_CONS_L1 && l_flavor != CIL_CONS_L2 && l_flavor != CIL_CONS_H1 ) { in cil_verify_constraint_leaf_expr_syntax()
262 if (l_flavor != CIL_CONS_L1) { 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.c2676 enum cil_flavor l_flavor = CIL_NONE; in __cil_fill_constraint_leaf_expr() local
2679 l_flavor = __cil_get_constraint_operand_flavor(current->next->data); in __cil_fill_constraint_leaf_expr()
2682 switch (l_flavor) { 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()
2718 cil_list_append(*leaf_expr, CIL_CONS_OPERAND, (void *)l_flavor); in __cil_fill_constraint_leaf_expr()