Lines Matching refs:match
70 int match; in expand_and_check() local
85 match = 1; in expand_and_check()
86 match &= check(s_op, source_type, cur->key.source_type); in expand_and_check()
87 match &= check(t_op, target_type, cur->key.target_type); in expand_and_check()
88 match &= check(c_op, target_class, cur->key.target_class); in expand_and_check()
89 match &= check_perm(cur, perm); in expand_and_check()
90 if (match) { in expand_and_check()
126 int match; in check_rule() local
174 match = expand_and_check(s_op, key.source_type, in check_rule()
178 if (match) in check_rule()
179 return match; in check_rule()
240 int match = 1; in main() local
282 match = check_rule(source, target, class, perm, &policydb); in main()
283 if (match < 0) { in main()
286 } else if (match > 0) { in main()
291 match = 0; in main()
295 return match; in main()