Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_write_ast.c89 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_unfill_expr_helper() local
90 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()
Dcil_tree.c365 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string() local
372 switch (op_flavor) { in cil_expr_to_string()
411 if (op_flavor == CIL_NOT) { in cil_expr_to_string()
Dcil_resolve_ast.c3269 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_evaluate_tunable_expr() local
3273 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()