/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() 339 if (!ebitmap_get_bit(&type->types, i)) in display_type_callback() 376 if (ebitmap_get_bit(bitmap, j)) { in display_users() 468 if (!ebitmap_get_bit(classes, i)) in display_class_set() [all …]
|
/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() 249 int ebitmap_get_bit(const ebitmap_t * e, unsigned int bit) in ebitmap_get_bit() function
|
D | context.c | 59 if (!role || !ebitmap_get_bit(&role->cache, c->type - 1)) in context_is_valid() 70 if (!ebitmap_get_bit(&usrdatum->cache, c->role - 1)) in context_is_valid()
|
D | module_to_cil.c | 725 if (!ebitmap_get_bit(map, i)) { in ebitmap_to_cil() 855 if (!ebitmap_get_bit(pos, i)) { in cil_print_attr_strs() 867 if (!ebitmap_get_bit(neg, i)) { in cil_print_attr_strs() 992 if (ebitmap_get_bit(map, i)) { in ebitmap_to_names() 1011 if (ebitmap_get_bit(map, i)) { in ebitmap_to_names() 1458 if (!ebitmap_get_bit(&rule->classes, i)) { in role_trans_to_cil() 1557 if (!ebitmap_get_bit(&rule->tclasses, i)) { in range_trans_to_cil() 2083 if (!ebitmap_get_bit(&order, i)) { in class_order_to_cil() 2188 if (!ebitmap_get_bit(&role->roles, i)) { in role_to_cil() 2320 if (!ebitmap_get_bit(&roles, i)) { in user_to_cil() [all …]
|
D | services.c | 230 rc = ebitmap_get_bit(types, i); in get_name_list() 245 rc = ebitmap_get_bit(types, i); in get_name_list() 518 s[++sp] = ebitmap_get_bit(&r1->dominates, val2 - 1); in constraint_expr_eval_reason() 523 s[++sp] = ebitmap_get_bit(&r2->dominates, val1 - 1); in constraint_expr_eval_reason() 528 s[++sp] = (!ebitmap_get_bit(&r1->dominates, val2 - 1) in constraint_expr_eval_reason() 529 && !ebitmap_get_bit(&r2->dominates, val1 - 1)); in constraint_expr_eval_reason() 661 s[++sp] = ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval_reason() 666 s[++sp] = !ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval_reason()
|
D | hierarchy.c | 112 if (ebitmap_get_bit(&p->attr_type_map[src - 1], parent - 1)) { in bounds_expand_rule() 299 if (ebitmap_get_bit(&p->attr_type_map[src - 1], child - 1)) { in bounds_check_rule()
|
D | kernel_to_conf.c | 965 if (!ebitmap_get_bit(cats, i)) in cats_ebitmap_len() 973 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_len() 1007 if (!ebitmap_get_bit(cats, i)) in cats_ebitmap_to_str() 1015 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_to_str() 1125 if (!ebitmap_get_bit(&pdb->policycaps, i)) continue; in write_polcap_rules_to_conf()
|
D | kernel_to_cil.c | 980 if (!ebitmap_get_bit(cats, i)) in cats_ebitmap_len() 988 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_len() 1031 if (!ebitmap_get_bit(cats, i)) in cats_ebitmap_to_str() 1039 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_to_str() 1151 if (!ebitmap_get_bit(&pdb->policycaps, i)) continue; in write_polcap_rules_to_cil()
|
D | expand.c | 918 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in mls_semantic_level_expand() 2508 if (ebitmap_get_bit(r, i)) { in role_set_expand() 2597 if (ebitmap_get_bit(&neg_types, i)) in type_set_expand() 2610 && (!ebitmap_get_bit(&neg_types, i))) in type_set_expand() 2619 assert(!ebitmap_get_bit(t, i)); in type_set_expand() 2622 if (ebitmap_get_bit(t, i)) { in type_set_expand()
|
D | kernel_to_common.c | 358 if (!ebitmap_get_bit(map, i)) continue; in ebitmap_to_strs()
|
D | mls.c | 296 if (!ebitmap_get_bit(&levdatum->level->cat, i)) in mls_context_isvalid()
|
D | policydb.c | 1790 if (ebitmap_get_bit(&x->roles, role - 1)) { in role_set_get_role()
|
/external/selinux/libsepol/cil/src/ |
D | cil_find.c | 59 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_match_any() 65 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_match_any() 96 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_matches() 102 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_matches()
|
D | cil_binary.c | 441 if (!ebitmap_get_bit(role->types, i)) continue; in cil_roletype_to_policydb() 652 if (!ebitmap_get_bit(cil_attr->types, i)) continue; in cil_typeattribute_to_bitmap() 748 if (!ebitmap_get_bit(user->roles, i)) { in cil_userrole_to_policydb() 1105 if (!ebitmap_get_bit(&src_bitmap, i)) continue; in __cil_type_rule_to_avtab() 1111 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in __cil_type_rule_to_avtab() 1182 if (!ebitmap_get_bit(&src_bitmap, i)) continue; in __cil_typetransition_to_avtab() 1188 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in __cil_typetransition_to_avtab() 1475 if (!ebitmap_get_bit(&src_bitmap, s)) continue; in __cil_avrule_to_avtab() 1506 if (!ebitmap_get_bit(&src_bitmap, s)) continue; in __cil_avrule_to_avtab() 1509 if (!ebitmap_get_bit(&tgt_bitmap, t)) continue; in __cil_avrule_to_avtab() [all …]
|
D | cil_policy.c | 346 if (!ebitmap_get_bit(attr->users, i)) in __cil_userattribute_len() 458 if (!ebitmap_get_bit(attr->users, i)) in __cil_userattribute_to_string() 1090 if (ebitmap_get_bit(attribute->types, type->value)) { in cil_typeattributes_to_policy() 1122 if (!ebitmap_get_bit(permx->perms, i)) in cil_xperms_to_policy() 1509 if (ebitmap_get_bit(role->types, type->value)) { in cil_role_types_to_policy() 1540 if (ebitmap_get_bit(attribute->roles, role->value)) { in cil_roleattributes_to_policy() 1598 if (ebitmap_get_bit(user->roles, role->value)) { in cil_users_to_policy()
|
D | cil_post.c | 1109 if (ebitmap_get_bit(&bitmap, cat->value)) { in __evaluate_cat_expression() 1660 if (!ebitmap_get_bit(attr->roles, i)) { in __cil_post_db_roletype_helper() 1755 if (!ebitmap_get_bit(u_attr->users, i)) { in __cil_post_db_userrole_helper() 2043 if (!ebitmap_get_bit(perms, value)) { in __perm_bits_to_list()
|
D | cil_verify.c | 747 if (!ebitmap_get_bit(user->roles, role->value)) { in __cil_verify_context() 759 if (!ebitmap_get_bit(role->types, type->value)) { in __cil_verify_context()
|
/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 | 91 extern int ebitmap_get_bit(const ebitmap_t * e, unsigned int bit);
|
/external/selinux/checkpolicy/ |
D | module_compiler.c | 1145 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()
|
D | policy_define.c | 2917 if (ebitmap_get_bit(&(rdatum->dominates), rdp->s.value - 1)) { in dominate_role_recheck() 4228 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in parse_categories()
|