Searched refs:bit_diff (Results 1 – 1 of 1) sorted by relevance
/aosp_15_r20/external/selinux/mcstrans/src/ |
H A D | mcstrans.c | 1353 ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; in compute_trans_from_raw() local 1355 ebitmap_init(&bit_diff); in compute_trans_from_raw() 1438 if (ebitmap_and(&bit_diff, &temp, ¬handled) < 0) in compute_trans_from_raw() 1442 if (ebitmap_and(&temp, &bit_diff, &unhandled) < 0) in compute_trans_from_raw() 1444 if (ebitmap_cmp(&bit_diff, &temp)) { in compute_trans_from_raw() 1445 int h = ebitmap_hamming_distance(&bit_diff, &unhandled); in compute_trans_from_raw() 1452 ebitmap_destroy(&bit_diff); in compute_trans_from_raw() 1460 if (ebitmap_xor(&bit_diff, ¤tWord->cat, &bc->level->cat) < 0) in compute_trans_from_raw() 1466 if (ebitmap_andnot(&unhandled, &temp, &bit_diff, maxbit) < 0) in compute_trans_from_raw() 1469 ebitmap_destroy(&bit_diff); in compute_trans_from_raw()
|