Home
last modified time | relevance | path

Searched refs:ebitmap_length (Results 1 – 8 of 8) 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()
338 i < ebitmap_length(&type->types); i++) { in display_type_callback()
374 for (j = ebitmap_startbit(bitmap); j < ebitmap_length(bitmap); in display_users()
467 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.c241 if (ebitmap_length(&src_matches) == 0) in report_assertion_avtab_matches()
256 if (ebitmap_length(&self_matches) > 0) { in report_assertion_avtab_matches()
263 if (ebitmap_length(&tgt_matches) == 0) in report_assertion_avtab_matches()
410 if (ebitmap_length(&src_matches) == 0) in check_assertion_extended_permissions()
427 if (ebitmap_length(&self_matches) > 0) { in check_assertion_extended_permissions()
434 if (ebitmap_length(&tgt_matches) == 0) in check_assertion_extended_permissions()
Dmodule_to_cil.c823 has_positive = pos && (ebitmap_length(pos) > 0); in cil_print_attr_strs()
824 has_negative = neg && (ebitmap_length(neg) > 0); in cil_print_attr_strs()
832 has_positive = pos && (ebitmap_length(pos) > 0); in cil_print_attr_strs()
1054 if (ebitmap_length(&ts->negset) > 0 || ts->flags != 0) { in process_typeset()
Dservices.c229 for (i = ebitmap_startbit(types); i < ebitmap_length(types); i++) { in get_name_list()
244 for (i = ebitmap_startbit(types); i < ebitmap_length(types); i++) { in get_name_list()
Dexpand.c2507 for (i = 0; i < ebitmap_length(r); i++) { in role_set_expand()
2538 unsigned char expand = alwaysexpand || ebitmap_length(&set->negset) || set->flags; in type_set_expand()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h42 #define ebitmap_length(e) ((e)->highbit) macro
77 for (bit = ebitmap_start(e, &n); bit < ebitmap_length(e); bit = ebitmap_next(&n, bit)) \
/external/selinux/checkpolicy/
Dpolicy_define.c1054 if (ebitmap_length(&levdatum->level->cat)) { in define_level()