Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_policy.c471 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_perms_to_policy() local
474 switch (op_flavor) { in cil_perms_to_policy()
674 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string() local
681 switch (op_flavor) { in cil_expr_to_string()
717 if (op_flavor == CIL_NOT) { in cil_expr_to_string()
Dcil_tree.c279 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string() local
286 switch (op_flavor) { in cil_expr_to_string()
325 if (op_flavor == CIL_NOT) { in cil_expr_to_string()
Dcil_resolve_ast.c3172 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_evaluate_tunable_expr() local
3176 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()