Searched refs:op_flavor (Results 1 – 3 of 3) sorted by relevance
89 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_unfill_expr_helper() local90 switch (op_flavor) { in __cil_unfill_expr_helper()125 cil_log(CIL_ERR, "Unknown operator in expression: %d\n", op_flavor); in __cil_unfill_expr_helper()132 if (op_flavor == CIL_ALL) { in __cil_unfill_expr_helper()136 } else if (op_flavor == CIL_NOT) { in __cil_unfill_expr_helper()
365 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string() local372 switch (op_flavor) { in cil_expr_to_string()411 if (op_flavor == CIL_NOT) { in cil_expr_to_string()
3269 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_evaluate_tunable_expr() local3273 if (op_flavor == CIL_NOT) return !v1; in __cil_evaluate_tunable_expr()3277 if (op_flavor == CIL_AND) return (v1 && v2); in __cil_evaluate_tunable_expr()3278 else if (op_flavor == CIL_OR) return (v1 || v2); in __cil_evaluate_tunable_expr()3279 else if (op_flavor == CIL_XOR) return (v1 ^ v2); in __cil_evaluate_tunable_expr()3280 else if (op_flavor == CIL_EQ) return (v1 == v2); in __cil_evaluate_tunable_expr()3281 else if (op_flavor == CIL_NEQ) return (v1 != v2); in __cil_evaluate_tunable_expr()