Home
last modified time | relevance | path

Searched refs:ebitmap_length (Results 1 – 7 of 7) sorted by relevance

/external/selinux/checkpolicy/test/
Ddismod.c91 for (i = ebitmap_startbit(map); i < ebitmap_length(map); i++) { in render_access_bitmap()
132 for (i = ebitmap_startbit(&set->types); i < ebitmap_length(&set->types); in display_type_set()
143 i < ebitmap_length(&set->negset); i++) { in display_type_set()
155 for (i = ebitmap_startbit(&set->types); i < ebitmap_length(&set->types); in display_type_set()
163 i < ebitmap_length(&set->negset); i++) { in display_type_set()
191 i < ebitmap_length(&roles->roles); i++) { in display_mod_role_set()
202 i < ebitmap_length(&roles->roles); i++) { in display_mod_role_set()
313 i < ebitmap_length(&type->types); i++) { in display_type_callback()
349 for (j = ebitmap_startbit(bitmap); j < ebitmap_length(bitmap); in display_users()
442 for (i = ebitmap_startbit(classes); i < ebitmap_length(classes); i++) { in display_class_set()
[all …]
/external/selinux/libsepol/src/
Debitmap.c76 unsigned int i, length = min(ebitmap_length(e1), ebitmap_length(e2)); in ebitmap_and()
90 unsigned int i, length = max(ebitmap_length(e1), ebitmap_length(e2)); in ebitmap_xor()
131 for (i=ebitmap_startbit(e1); i < ebitmap_length(e1); i++) in ebitmap_cardinality()
Dassertion.c240 if (ebitmap_length(&src_matches) == 0) in report_assertion_avtab_matches()
256 if (ebitmap_length(&tgt_matches) == 0) in report_assertion_avtab_matches()
400 if (ebitmap_length(&src_matches) == 0) in check_assertion_extended_permissions()
418 if (ebitmap_length(&tgt_matches) == 0) in check_assertion_extended_permissions()
Dservices.c228 for (i = ebitmap_startbit(types); i < ebitmap_length(types); i++) { in get_name_list()
243 for (i = ebitmap_startbit(types); i < ebitmap_length(types); i++) { in get_name_list()
Dexpand.c2469 for (i = 0; i < ebitmap_length(r); i++) { in role_set_expand()
2504 if (alwaysexpand || ebitmap_length(&set->negset) || set->flags) { in type_set_expand()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h41 #define ebitmap_length(e) ((e)->highbit) macro
76 for (bit = ebitmap_start(e, &n); bit < ebitmap_length(e); bit = ebitmap_next(&n, bit)) \
/external/selinux/checkpolicy/
Dpolicy_define.c1049 if (ebitmap_length(&levdatum->level->cat)) { in define_level()