Home | History | Annotate | Download | only in mac

Lines Matching defs:Rule

9 Rule::Rule()
14 Rule::Rule(PolicyDecision result)
19 Rule::Rule(mach_port_t override_port)
30 static bool IsRuleValid(const Rule& rule) {
31 if (!(rule.result > POLICY_DECISION_INVALID &&
32 rule.result < POLICY_DECISION_LAST)) {
35 if (rule.result == POLICY_SUBSTITUTE_PORT) {
36 if (rule.substitute_port == MACH_PORT_NULL)
39 if (rule.substitute_port != MACH_PORT_NULL)