Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil_verify.c252 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
255 …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()
258 } else if (l_flavor == CIL_CONS_U3 || l_flavor == CIL_CONS_R3 || l_flavor == CIL_CONS_T3) { in cil_verify_constraint_leaf_expr_syntax()
275 } else if (l_flavor != CIL_CONS_U1) { in cil_verify_constraint_leaf_expr_syntax()
280 if (l_flavor != CIL_CONS_R1) { in cil_verify_constraint_leaf_expr_syntax()
288 } else if (l_flavor != CIL_CONS_T1) { in cil_verify_constraint_leaf_expr_syntax()
293 if (l_flavor != CIL_CONS_L1 && l_flavor != CIL_CONS_H1) { in cil_verify_constraint_leaf_expr_syntax()
298 if (l_flavor != CIL_CONS_L1 && l_flavor != CIL_CONS_L2 && l_flavor != CIL_CONS_H1 ) { in cil_verify_constraint_leaf_expr_syntax()
303 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.c2720 enum cil_flavor l_flavor = CIL_NONE; in __cil_fill_constraint_leaf_expr() local
2723 l_flavor = __cil_get_constraint_operand_flavor(current->next->data); in __cil_fill_constraint_leaf_expr()
2726 switch (l_flavor) { in __cil_fill_constraint_leaf_expr()
2753 rc = cil_verify_constraint_leaf_expr_syntax(l_flavor, r_flavor, op, expr_flavor); in __cil_fill_constraint_leaf_expr()
2762 cil_list_append(*leaf_expr, CIL_CONS_OPERAND, (void *)l_flavor); in __cil_fill_constraint_leaf_expr()