Searched refs:ebitmap_highest_set_bit (Results 1 – 4 of 4) sorted by relevance
/third_party/selinux/libsepol/tests/ |
D | test-ebitmap.c | 141 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 0); in test_ebitmap_set_and_get() 149 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 0); in test_ebitmap_set_and_get() 155 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 10); in test_ebitmap_set_and_get() 161 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 100); in test_ebitmap_set_and_get() 167 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 100); in test_ebitmap_set_and_get() 173 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 1023); in test_ebitmap_set_and_get() 179 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 1024); in test_ebitmap_set_and_get() 185 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 1050); in test_ebitmap_set_and_get() 220 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 1050); in test_ebitmap_set_and_get() 226 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e), 1023); in test_ebitmap_set_and_get() [all …]
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | ebitmap.h | 98 extern unsigned int ebitmap_highest_set_bit(const ebitmap_t * e);
|
/third_party/selinux/libsepol/src/ |
D | ebitmap.c | 500 unsigned int ebitmap_highest_set_bit(const ebitmap_t * e) in ebitmap_highest_set_bit() function
|
D | policydb_validate.c | 111 if (ebitmap_length(map) > 0 && ebitmap_highest_set_bit(map) >= flavor->nprim) in validate_ebitmap()
|