Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h86 extern unsigned int ebitmap_cardinality(ebitmap_t *e1);
/external/selinux/mcstrans/src/
Dmcstrans.c510 constraint->nbits = ebitmap_cardinality(&constraint->cat); in add_constraint()
533 nbits = ebitmap_cardinality(&common); in violates_constraints()
547 nbits = ebitmap_cardinality(&common); in violates_constraints()
552 nbits = ebitmap_cardinality(&common); in violates_constraints()
1355 for (loops = 50; ebitmap_cardinality(&unhandled) && loops > 0 && change; loops--) { in compute_trans_from_raw()
1367 int cardinality = ebitmap_cardinality(&w->normal); in compute_trans_from_raw()
1419 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.c2054 if (ebitmap_cardinality(&order) == 0) { in class_order_to_cil()
2137 if (ebitmap_cardinality(&role->dominates) > 1) { in role_to_cil()
2163 if (ebitmap_cardinality(&role->roles) > 0) { in role_to_cil()
2249 if (ebitmap_cardinality(&type->types) > 0) { in type_to_cil()
2353 if (ebitmap_cardinality(&level->level->cat) > 0) { in sens_to_cil()
2368 if (ebitmap_cardinality(&order) == 0) { in sens_order_to_cil()
2411 if (ebitmap_cardinality(&order) == 0) { in cat_order_to_cil()
2468 if (ebitmap_cardinality(map) > 0) { in level_to_cil()
/external/selinux/libsepol/cil/src/
Dcil_post.c1214 if (ebitmap_cardinality(attr->types) < db->attrs_expand_size) { in cil_typeattribute_used()
Dcil_binary.c1427 return !attr->used || (ebitmap_cardinality(attr->types) < db->attrs_expand_size); in __cil_should_expand_attribute()