Searched refs:op_flavor (Results 1 – 3 of 3) sorted by relevance
471 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_perms_to_policy() local474 switch (op_flavor) { in cil_perms_to_policy()674 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string() local681 switch (op_flavor) { in cil_expr_to_string()717 if (op_flavor == CIL_NOT) { in cil_expr_to_string()
279 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string() local286 switch (op_flavor) { in cil_expr_to_string()325 if (op_flavor == CIL_NOT) { in cil_expr_to_string()
3172 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_evaluate_tunable_expr() local3176 if (op_flavor == CIL_NOT) return !v1; in __cil_evaluate_tunable_expr()3180 if (op_flavor == CIL_AND) return (v1 && v2); in __cil_evaluate_tunable_expr()3181 else if (op_flavor == CIL_OR) return (v1 || v2); in __cil_evaluate_tunable_expr()3182 else if (op_flavor == CIL_XOR) return (v1 ^ v2); in __cil_evaluate_tunable_expr()3183 else if (op_flavor == CIL_EQ) return (v1 == v2); in __cil_evaluate_tunable_expr()3184 else if (op_flavor == CIL_NEQ) return (v1 != v2); in __cil_evaluate_tunable_expr()