Searched refs:bit_diff (Results 1 – 1 of 1) sorted by relevance
/external/selinux/mcstrans/src/ |
D | mcstrans.c | 1292 ebitmap_t bit_diff, temp, handled, nothandled, unhandled, orig_unhandled; in compute_trans_from_raw() local 1294 ebitmap_init(&bit_diff); in compute_trans_from_raw() 1377 if (ebitmap_and(&bit_diff, &temp, ¬handled) < 0) in compute_trans_from_raw() 1381 if (ebitmap_and(&temp, &bit_diff, &unhandled) < 0) in compute_trans_from_raw() 1383 if (ebitmap_cmp(&bit_diff, &temp)) { in compute_trans_from_raw() 1384 int h = ebitmap_hamming_distance(&bit_diff, &unhandled); in compute_trans_from_raw() 1391 ebitmap_destroy(&bit_diff); in compute_trans_from_raw() 1399 if (ebitmap_xor(&bit_diff, ¤tWord->cat, &bc->level->cat) < 0) in compute_trans_from_raw() 1405 if (ebitmap_andnot(&unhandled, &temp, &bit_diff, maxbit) < 0) in compute_trans_from_raw() 1408 ebitmap_destroy(&bit_diff); in compute_trans_from_raw()
|