/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 | 723 if (!ebitmap_get_bit(map, i)) { in ebitmap_to_cil() 853 if (!ebitmap_get_bit(pos, i)) { in cil_print_attr_strs() 865 if (!ebitmap_get_bit(neg, i)) { in cil_print_attr_strs() 991 if (ebitmap_get_bit(map, i)) in ebitmap_to_names() 1004 if (ebitmap_get_bit(map, i)) { in ebitmap_to_names() 1445 if (!ebitmap_get_bit(&rule->classes, i)) { in role_trans_to_cil() 1544 if (!ebitmap_get_bit(&rule->tclasses, i)) { in range_trans_to_cil() 2062 if (!ebitmap_get_bit(&order, i)) { in class_order_to_cil() 2167 if (!ebitmap_get_bit(&role->roles, i)) { in role_to_cil() 2286 if (!ebitmap_get_bit(&roles, i)) { in user_to_cil() [all …]
|
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 | 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 | expand.c | 917 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in mls_semantic_level_expand() 2486 if (ebitmap_get_bit(r, i)) { in role_set_expand() 2580 if (ebitmap_get_bit(&neg_types, i)) in type_set_expand() 2593 && (!ebitmap_get_bit(&neg_types, i))) in type_set_expand() 2602 assert(!ebitmap_get_bit(t, i)); in type_set_expand() 2605 if (ebitmap_get_bit(t, i)) { in type_set_expand()
|
D | mls.c | 296 if (!ebitmap_get_bit(&levdatum->level->cat, i)) in mls_context_isvalid()
|
D | policydb.c | 1737 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/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() 1091 if (!ebitmap_get_bit(&src_bitmap, i)) continue; in __cil_type_rule_to_avtab() 1097 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in __cil_type_rule_to_avtab() 1164 if (!ebitmap_get_bit(&src_bitmap, i)) continue; in __cil_typetransition_to_avtab() 1170 if (!ebitmap_get_bit(&tgt_bitmap, j)) continue; in __cil_typetransition_to_avtab() 1457 if (!ebitmap_get_bit(&src_bitmap, s)) continue; in __cil_avrule_to_avtab() 1488 if (!ebitmap_get_bit(&src_bitmap, s)) continue; in __cil_avrule_to_avtab() 1491 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 | 861 if (ebitmap_get_bit(&bitmap, cat->value)) { in __evaluate_cat_expression() 1354 if (!ebitmap_get_bit(attr->roles, i)) { in __cil_post_db_roletype_helper() 1449 if (!ebitmap_get_bit(u_attr->users, i)) { in __cil_post_db_userrole_helper() 1721 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 | 2832 if (ebitmap_get_bit(&(rdatum->dominates), rdp->s.value - 1)) { in dominate_role_recheck() 4143 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in parse_categories()
|