/external/selinux/libsepol/src/ |
D | ebitmap.c | 79 if (ebitmap_get_bit(e1, i) && ebitmap_get_bit(e2, i)) { in ebitmap_and() 93 int val = ebitmap_get_bit(e1, i) ^ ebitmap_get_bit(e2, i); in ebitmap_xor() 106 int val = ebitmap_get_bit(e1, i); in ebitmap_not() 132 if (ebitmap_get_bit(e1, i)) in ebitmap_cardinality() 227 int ebitmap_get_bit(const ebitmap_t * e, unsigned int bit) in ebitmap_get_bit() function
|
D | context.c | 58 if (!ebitmap_get_bit(&role->cache, c->type - 1)) in context_is_valid() 69 if (!ebitmap_get_bit(&usrdatum->cache, c->role - 1)) in context_is_valid()
|
D | services.c | 229 rc = ebitmap_get_bit(types, i); in get_name_list() 244 rc = ebitmap_get_bit(types, i); in get_name_list() 517 s[++sp] = ebitmap_get_bit(&r1->dominates, val2 - 1); in constraint_expr_eval_reason() 522 s[++sp] = ebitmap_get_bit(&r2->dominates, val1 - 1); in constraint_expr_eval_reason() 527 s[++sp] = (!ebitmap_get_bit(&r1->dominates, val2 - 1) in constraint_expr_eval_reason() 528 && !ebitmap_get_bit(&r2->dominates, val1 - 1)); in constraint_expr_eval_reason() 660 s[++sp] = ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval_reason() 665 s[++sp] = !ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval_reason()
|
D | module_to_cil.c | 706 if (!ebitmap_get_bit(pos, i)) { in cil_print_attr_strs() 718 if (!ebitmap_get_bit(neg, i)) { in cil_print_attr_strs() 747 if (!ebitmap_get_bit(map, i)) { in ebitmap_to_cil() 773 if (!ebitmap_get_bit(&map, i)) { in ebitmap_to_names() 1369 if (!ebitmap_get_bit(&rule->classes, i)) { in role_trans_to_cil() 1471 if (!ebitmap_get_bit(&rule->tclasses, i)) { in range_trans_to_cil() 1990 if (!ebitmap_get_bit(&order, i)) { in class_order_to_cil() 2078 if (!ebitmap_get_bit(&role->roles, i)) { in role_to_cil() 2190 if (!ebitmap_get_bit(&roles, i)) { in user_to_cil() 2280 if (!ebitmap_get_bit(&order, i)) { in sens_order_to_cil() [all …]
|
D | expand.c | 916 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in mls_semantic_level_expand() 2463 if (ebitmap_get_bit(r, i)) { in role_set_expand() 2544 if (ebitmap_get_bit(&neg_types, i)) in type_set_expand() 2557 && (!ebitmap_get_bit(&neg_types, i))) in type_set_expand() 2566 assert(!ebitmap_get_bit(t, i)); in type_set_expand() 2569 if (ebitmap_get_bit(t, i)) { in type_set_expand()
|
D | mls.c | 294 if (!ebitmap_get_bit(&levdatum->level->cat, i)) in mls_context_isvalid()
|
D | policydb.c | 1633 if (ebitmap_get_bit(&x->roles, role - 1)) { in role_set_get_role()
|
/external/selinux/checkpolicy/test/ |
D | dismod.c | 92 if (ebitmap_get_bit(map, i)) { in render_access_bitmap() 134 if (!ebitmap_get_bit(&set->types, i)) in display_type_set() 144 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set() 157 if (!ebitmap_get_bit(&set->types, i)) in display_type_set() 164 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set() 192 if (!ebitmap_get_bit(&roles->roles, i)) in display_mod_role_set() 203 if (ebitmap_get_bit(&roles->roles, i)) in display_mod_role_set() 314 if (!ebitmap_get_bit(&type->types, i)) in display_type_callback() 351 if (ebitmap_get_bit(bitmap, j)) { in display_users() 443 if (!ebitmap_get_bit(classes, i)) in display_class_set() [all …]
|
/external/selinux/libsepol/tests/ |
D | debug.c | 31 fprintf(fp, "%d", ebitmap_get_bit(bitmap, i)); in print_ebitmap()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | ebitmap.h | 89 extern int ebitmap_get_bit(const ebitmap_t * e, unsigned int bit);
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 474 if (!ebitmap_get_bit(role->types, i)) continue; in cil_roletype_to_policydb() 672 if (!ebitmap_get_bit(cil_attr->types, i)) continue; in cil_typeattribute_to_bitmap() 768 if (!ebitmap_get_bit(&role_bitmap, i)) continue; in cil_userrole_to_policydb() 1107 if (!ebitmap_get_bit(&src_bitmap, i)) continue; in __cil_type_rule_to_avtab() 1113 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in __cil_type_rule_to_avtab() 1180 if (!ebitmap_get_bit(&src_bitmap, i)) continue; in __cil_typetransition_to_avtab() 1186 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in __cil_typetransition_to_avtab() 1349 if (ebitmap_get_bit(a->types, t->value)) { in __cil_is_type_match() 1355 if (ebitmap_get_bit(a->types, t->value)) { in __cil_is_type_match() 1530 if (!ebitmap_get_bit(&type_bitmap, i)) continue; in __cil_avrule_to_avtab() [all …]
|
D | cil_post.c | 713 if (ebitmap_get_bit(&bitmap, cat->value)) { in __evaluate_cat_expression() 1102 if (!ebitmap_get_bit(attr->roles, i)) { in __cil_post_db_roletype_helper() 1373 if (!ebitmap_get_bit(perms, value)) { in __perm_bits_to_list()
|
D | cil_verify.c | 749 if (!ebitmap_get_bit(role->types, type->value)) { in __cil_verify_context()
|
/external/sepolicy/tools/sepolicy-analyze/ |
D | neverallow.c | 145 if (ebitmap_get_bit(&typeset->negset, bit)) in read_typeset() 167 if (ebitmap_get_bit(&typeset->types, bit)) in read_typeset()
|
/external/selinux/checkpolicy/ |
D | module_compiler.c | 1265 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()
|
D | policy_define.c | 2755 if (ebitmap_get_bit(&(rdatum->dominates), rdp->s.value - 1)) { in dominate_role_recheck() 4044 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in parse_categories()
|