Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h85 extern unsigned int ebitmap_cardinality(ebitmap_t *e1);
/external/selinux/policycoreutils/mcstrans/src/
Dmcstrans.c510 constraint->nbits = ebitmap_cardinality(&constraint->cat); in add_constraint()
533 nbits = ebitmap_cardinality(&common); in violates_constraints()
548 nbits = ebitmap_cardinality(&common); in violates_constraints()
554 nbits = ebitmap_cardinality(&common); in violates_constraints()
1357 for (loops = 50; ebitmap_cardinality(&unhandled) && loops > 0 && change; loops--) { in compute_trans_from_raw()
1370 int cardinality = ebitmap_cardinality(&w->normal); in compute_trans_from_raw()
1426 done = (ebitmap_cardinality(&unhandled) == 0); in compute_trans_from_raw()
/external/selinux/libsepol/src/
Debitmap.c128 unsigned int ebitmap_cardinality(ebitmap_t *e1) in ebitmap_cardinality() function
145 int distance = ebitmap_cardinality(&tmp); in ebitmap_hamming_distance()
Dmodule_to_cil.c675 int has_positive = pos && (ebitmap_cardinality(pos) > 0); in cil_print_attr_strs()
676 int has_negative = neg && (ebitmap_cardinality(neg) > 0); in cil_print_attr_strs()
854 if (ebitmap_cardinality(&ts->negset) > 0 || ts->flags != 0) { in typeset_to_names()
1982 if (ebitmap_cardinality(&order) == 0) { in class_order_to_cil()
2058 if (ebitmap_cardinality(&role->dominates) > 1) { in role_to_cil()
2084 if (ebitmap_cardinality(&role->roles) > 0) { in role_to_cil()
2165 if (ebitmap_cardinality(&type->types) > 0) { in type_to_cil()
2269 if (ebitmap_cardinality(&level->level->cat) > 0) { in sens_to_cil()
2284 if (ebitmap_cardinality(&order) == 0) { in sens_order_to_cil()
2327 if (ebitmap_cardinality(&order) == 0) { in cat_order_to_cil()
[all …]