/third_party/selinux/checkpolicy/test/ |
D | dismod.c | 91 if (ebitmap_get_bit(map, i)) { in render_access_bitmap() 133 if (!ebitmap_get_bit(&set->types, i)) in display_type_set() 143 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set() 156 if (!ebitmap_get_bit(&set->types, i)) in display_type_set() 163 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set() 191 if (!ebitmap_get_bit(&roles->roles, i)) in display_mod_role_set() 202 if (ebitmap_get_bit(&roles->roles, i)) in display_mod_role_set() 338 if (!ebitmap_get_bit(&type->types, i)) in display_type_callback() 375 if (ebitmap_get_bit(bitmap, j)) { in display_users() 467 if (!ebitmap_get_bit(classes, i)) in display_class_set() [all …]
|
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 89 if (ebitmap_get_bit(&flavor->gaps, value-1)) in validate_value() 319 if (ebitmap_get_bit(&flavors[SYM_CLASSES].gaps, i)) in validate_datum_arrays() 324 if (!ebitmap_get_bit(&flavors[SYM_CLASSES].gaps, i)) in validate_datum_arrays() 331 if (ebitmap_get_bit(&flavors[SYM_ROLES].gaps, i)) in validate_datum_arrays() 336 if (!ebitmap_get_bit(&flavors[SYM_ROLES].gaps, i)) in validate_datum_arrays() 348 if (ebitmap_get_bit(&flavors[SYM_TYPES].gaps, i)) in validate_datum_arrays() 353 if (!ebitmap_get_bit(&flavors[SYM_TYPES].gaps, i)) in validate_datum_arrays() 361 if (ebitmap_get_bit(&flavors[SYM_USERS].gaps, i)) in validate_datum_arrays() 366 if (!ebitmap_get_bit(&flavors[SYM_USERS].gaps, i)) in validate_datum_arrays()
|
D | ebitmap.c | 80 if (ebitmap_get_bit(e1, i) && ebitmap_get_bit(e2, i)) { in ebitmap_and() 94 int val = ebitmap_get_bit(e1, i) ^ ebitmap_get_bit(e2, i); in ebitmap_xor() 107 int val = ebitmap_get_bit(e1, i); in ebitmap_not() 256 int ebitmap_get_bit(const ebitmap_t * e, unsigned int bit) in ebitmap_get_bit() function
|
D | context.c | 58 if (!role || !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 | 227 rc = ebitmap_get_bit(types, i); in get_name_list() 242 rc = ebitmap_get_bit(types, i); in get_name_list() 534 s[++sp] = ebitmap_get_bit(&r1->dominates, val2 - 1); in constraint_expr_eval_reason() 539 s[++sp] = ebitmap_get_bit(&r2->dominates, val1 - 1); in constraint_expr_eval_reason() 544 s[++sp] = (!ebitmap_get_bit(&r1->dominates, val2 - 1) in constraint_expr_eval_reason() 545 && !ebitmap_get_bit(&r2->dominates, val1 - 1)); in constraint_expr_eval_reason() 677 s[++sp] = ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval_reason() 682 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() 297 if (ebitmap_get_bit(&p->attr_type_map[src - 1], child - 1)) { in bounds_check_rule()
|
D | expand.c | 949 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in mls_semantic_level_expand() 2481 if (ebitmap_get_bit(r, i)) { in role_set_expand() 2565 if (ebitmap_get_bit(&neg_types, i)) in type_set_expand() 2577 if (!ebitmap_get_bit(&neg_types, i)) in type_set_expand() 2586 assert(!ebitmap_get_bit(t, i)); in type_set_expand() 2589 if (ebitmap_get_bit(t, i)) { in type_set_expand()
|
D | mls.c | 295 if (!ebitmap_get_bit(&levdatum->level->cat, i)) in mls_context_isvalid()
|
D | kernel_to_cil.c | 1011 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_len() 1062 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_to_str()
|
D | kernel_to_conf.c | 1010 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_len() 1052 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_to_str()
|
D | policydb.c | 2597 if (ebitmap_get_bit(&datum->stypes, stype - 1)) { in policydb_filetrans_insert() 2715 if (ebitmap_get_bit(&otypes, datum->otype)) in filename_trans_check_datum()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_find.c | 60 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_match_any() 66 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_match_any() 97 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_matches() 103 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_matches()
|
D | cil_policy.c | 1090 if (ebitmap_get_bit(attribute->types, type->value)) { in cil_typeattributes_to_policy() 1507 if (ebitmap_get_bit(role->types, type->value)) { in cil_role_types_to_policy() 1538 if (ebitmap_get_bit(attribute->roles, role->value)) { in cil_roleattributes_to_policy() 1596 if (ebitmap_get_bit(user->roles, role->value)) { in cil_users_to_policy()
|
D | cil_verify.c | 894 if (!ebitmap_get_bit(user->roles, role->value)) { in __cil_verify_context() 906 if (!ebitmap_get_bit(role->types, type->value)) { in __cil_verify_context()
|
D | cil_post.c | 1123 if (ebitmap_get_bit(&bitmap, cat->value)) { in __evaluate_cat_expression() 2053 if (!ebitmap_get_bit(perms, value)) { in __perm_bits_to_list()
|
D | cil_binary.c | 1576 if (IOC_FUNC(i) != 0xff && ebitmap_get_bit(xperms, i + 1)) { in __cil_permx_bitmap_to_sepol_xperms_list()
|
/third_party/selinux/libsepol/tests/ |
D | debug.c | 31 fprintf(fp, "%d", ebitmap_get_bit(bitmap, i)); in print_ebitmap()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | ebitmap.h | 95 extern int ebitmap_get_bit(const ebitmap_t * e, unsigned int bit);
|
/third_party/selinux/ |
D | libsepol.map | 73 "ebitmap_get_bit";
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.c | 1146 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()
|
D | policy_define.c | 2906 if (ebitmap_get_bit(&(rdatum->dominates), rdp->s.value - 1)) { in dominate_role_recheck() 4161 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in parse_categories()
|