Home
last modified time | relevance | path

Searched refs:ebitmap_init_range (Results 1 – 4 of 4) sorted by relevance

/third_party/selinux/libsepol/tests/
Dtest-ebitmap.c260 CU_ASSERT_EQUAL(ebitmap_init_range(&e1, 0, 0), 0); in test_ebitmap_init_range()
264 CU_ASSERT_EQUAL(ebitmap_init_range(&e2, 0, 5), 0); in test_ebitmap_init_range()
268 CU_ASSERT_EQUAL(ebitmap_init_range(&e3, 20, 100), 0); in test_ebitmap_init_range()
272 CU_ASSERT_EQUAL(ebitmap_init_range(&e4, 100, 400), 0); in test_ebitmap_init_range()
276 CU_ASSERT_EQUAL(ebitmap_init_range(&e5, 10, 5), -EINVAL); in test_ebitmap_init_range()
277 CU_ASSERT_EQUAL(ebitmap_init_range(&e6, 0, UINT32_MAX), -EOVERFLOW); in test_ebitmap_init_range()
1072 ADD_TEST(ebitmap_init_range); in ebitmap_add_tests()
/third_party/selinux/libsepol/include/sepol/policydb/
Debitmap.h97 extern int ebitmap_init_range(ebitmap_t * e, unsigned int minbit, unsigned int maxbit);
/third_party/selinux/libsepol/src/
Debitmap.c451 int ebitmap_init_range(ebitmap_t * e, unsigned int minbit, unsigned int maxbit) in ebitmap_init_range() function
/third_party/selinux/libsepol/cil/src/
Dcil_post.c1215 if (ebitmap_init_range(bitmap, c1->value, c2->value)) { in __cil_cat_expr_range_to_bitmap_helper()
1245 if (ebitmap_init_range(bitmap, v1, v2)) { in __cil_permissionx_expr_range_to_bitmap_helper()
1315 rc = ebitmap_init_range(&tmp, 0, max - 1); in __cil_expr_to_bitmap()