Searched refs:ebitmap_xor (Results 1 – 5 of 5) sorted by relevance
/external/selinux/libsepol/tests/ |
D | test-ebitmap.c | 567 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/ |
D | ebitmap.h | 87 extern int ebitmap_xor(ebitmap_t *dst, const ebitmap_t *e1, const ebitmap_t *e2);
|
/external/selinux/libsepol/src/ |
D | ebitmap.c | 113 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/ |
D | mcstrans.c | 444 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, ¤tWord->cat, &bc->level->cat) < 0) in compute_trans_from_raw()
|
/external/selinux/libsepol/cil/src/ |
D | cil_post.c | 1376 rc = ebitmap_xor(&tmp, &b1, &b2); in __cil_expr_to_bitmap()
|