Home
last modified time | relevance | path

Searched refs:ebitmap_xor (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libsepol/tests/
Dtest-ebitmap.c567 CU_ASSERT_EQUAL(ebitmap_xor(&dst1, &e1, &e1), 0); in test_ebitmap_xor()
569 CU_ASSERT_EQUAL(ebitmap_xor(&dst2, &dst1, &e1), 0); in test_ebitmap_xor()
579 CU_ASSERT_EQUAL(ebitmap_xor(&dst, &e2, &e2), 0); in test_ebitmap_xor()
588 CU_ASSERT_EQUAL(ebitmap_xor(&dst, &e3, &e3), 0); in test_ebitmap_xor()
597 CU_ASSERT_EQUAL(ebitmap_xor(&dst, &e4, &e4), 0); in test_ebitmap_xor()
606 CU_ASSERT_EQUAL(ebitmap_xor(&dst, &e1, &e2), 0); in test_ebitmap_xor()
615 CU_ASSERT_EQUAL(ebitmap_xor(&dst, &e2, &e4), 0); in test_ebitmap_xor()
654 CU_ASSERT_EQUAL(ebitmap_xor(&dst, &e5, &e6), 0); in test_ebitmap_xor()
993 CU_ASSERT_EQUAL(ebitmap_xor(&dst_xor1, &e1, &e2), 0); in test_ebitmap__random_impl()
996 CU_ASSERT_EQUAL(ebitmap_xor(&dst_xor2, &dst_xor1, &e2), 0); in test_ebitmap__random_impl()
[all …]
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h87 extern int ebitmap_xor(ebitmap_t *dst, const ebitmap_t *e1, const ebitmap_t *e2);
/external/selinux/libsepol/src/
Debitmap.c113 int ebitmap_xor(ebitmap_t *dst, const ebitmap_t *e1, const ebitmap_t *e2) in ebitmap_xor() function
242 rc = ebitmap_xor(&tmp, e1, e2); in ebitmap_hamming_distance()
/external/selinux/mcstrans/src/
Dmcstrans.c444 if (ebitmap_xor(&temp, &word->cat, &group->def) < 0) in add_word()
1261 if (ebitmap_xor(&tmp, &w->cat, &g->def) < 0) goto err; in compute_raw_from_trans()
1390 if (ebitmap_xor(&unhandled, &l->cat, &bc->level->cat) < 0) in compute_trans_from_raw()
1420 if (ebitmap_xor(&handled, &unhandled, &orig_unhandled) < 0) in compute_trans_from_raw()
1460 if (ebitmap_xor(&bit_diff, &currentWord->cat, &bc->level->cat) < 0) in compute_trans_from_raw()
/external/selinux/libsepol/cil/src/
Dcil_post.c1376 rc = ebitmap_xor(&tmp, &b1, &b2); in __cil_expr_to_bitmap()