Home
last modified time | relevance | path

Searched refs:ebitmap_is_empty (Results 1 – 8 of 8) sorted by relevance

/third_party/selinux/libsepol/tests/
Dtest-ebitmap.c42 CU_ASSERT(ebitmap_is_empty(&e)); in test_ebitmap_init_destroy()
50 CU_ASSERT(ebitmap_is_empty(&e)); in test_ebitmap_init_destroy()
138 CU_ASSERT(ebitmap_is_empty(&e)); in test_ebitmap_set_and_get()
139 CU_ASSERT_TRUE(ebitmap_is_empty(&e)); in test_ebitmap_set_and_get()
147 CU_ASSERT(ebitmap_is_empty(&e)); in test_ebitmap_set_and_get()
153 CU_ASSERT_FALSE(ebitmap_is_empty(&e)); in test_ebitmap_set_and_get()
159 CU_ASSERT_FALSE(ebitmap_is_empty(&e)); in test_ebitmap_set_and_get()
165 CU_ASSERT_FALSE(ebitmap_is_empty(&e)); in test_ebitmap_set_and_get()
171 CU_ASSERT_FALSE(ebitmap_is_empty(&e)); in test_ebitmap_set_and_get()
177 CU_ASSERT_FALSE(ebitmap_is_empty(&e)); in test_ebitmap_set_and_get()
[all …]
/third_party/selinux/libsepol/src/
Dassertion.c242 if (ebitmap_is_empty(&src_matches)) in report_assertion_avtab_matches()
254 if (!ebitmap_is_empty(&self_matches)) { in report_assertion_avtab_matches()
261 if (ebitmap_is_empty(&tgt_matches)) in report_assertion_avtab_matches()
397 if (ebitmap_is_empty(&src_matches)) { in check_assertion_extended_permissions()
412 if (!ebitmap_is_empty(&self_matches)) { in check_assertion_extended_permissions()
419 if (ebitmap_is_empty(&tgt_matches)) { in check_assertion_extended_permissions()
Dpolicydb_validate.c146 if (!ebitmap_is_empty(&type_set->types)) in validate_empty_type_set()
148 if (!ebitmap_is_empty(&type_set->negset)) in validate_empty_type_set()
285 if (!ebitmap_is_empty(&cexp->names)) in validate_constraint_nodes()
332 if (!ebitmap_is_empty(&cexp->names)) in validate_constraint_nodes()
501 if (!ebitmap_is_empty(&type->types)) in validate_type_datum()
Dmodule_to_cil.c836 has_positive = pos && !ebitmap_is_empty(pos); in cil_print_attr_strs()
837 has_negative = neg && !ebitmap_is_empty(neg); in cil_print_attr_strs()
845 has_positive = pos && !ebitmap_is_empty(pos); in cil_print_attr_strs()
1063 if (!ebitmap_is_empty(&ts->negset) || ts->flags != 0) { in process_typeset()
2090 if (ebitmap_is_empty(&order)) { in class_order_to_cil()
2196 if (!ebitmap_is_empty(&role->roles)) { in role_to_cil()
2290 if (!ebitmap_is_empty(&type->types)) { in type_to_cil()
2393 if (!ebitmap_is_empty(&level->level->cat)) { in sens_to_cil()
2408 if (ebitmap_is_empty(&order)) { in sens_order_to_cil()
2448 if (ebitmap_is_empty(&order)) { in cat_order_to_cil()
[all …]
Dkernel_to_cil.c1135 if (!ebitmap_is_empty(&level->level->cat)) { in write_sensitivitycategory_rules_to_cil()
1558 if (ebitmap_is_empty(typemap)) continue; in write_type_attribute_sets_to_cil()
1949 if (!ebitmap_is_empty(cats)) { in level_to_str()
2258 if (types && !ebitmap_is_empty(types)) { in write_role_decl_rules_to_cil()
2444 if (roles && !ebitmap_is_empty(roles)) { in write_user_decl_rules_to_cil()
Dkernel_to_conf.c1121 if (!ebitmap_is_empty(&level->level->cat)) { in write_level_rules_to_conf()
1925 if (!ebitmap_is_empty(cats)) { in level_to_str()
2211 if (ebitmap_is_empty(&role->types.types)) continue; in write_role_decl_rules_to_conf()
2365 if (!ebitmap_is_empty(&user->roles.roles)) { in write_user_decl_rules_to_conf()
Dexpand.c2536 unsigned char expand = alwaysexpand || !ebitmap_is_empty(&set->negset) || set->flags; in type_set_expand()
/third_party/selinux/libsepol/include/sepol/policydb/
Debitmap.h42 #define ebitmap_is_empty(e) (((e)->highbit) == 0) macro