Home
last modified time | relevance | path

Searched refs:negset (Results 1 – 10 of 10) sorted by relevance

/external/selinux/checkpolicy/test/
Ddismod.c142 for (i = ebitmap_startbit(&set->negset); in display_type_set()
143 i < ebitmap_length(&set->negset); i++) { in display_type_set()
144 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set()
162 for (i = ebitmap_startbit(&set->negset); in display_type_set()
163 i < ebitmap_length(&set->negset); i++) { in display_type_set()
164 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set()
/external/selinux/libsepol/tests/
Dtest-common.c220 CU_ASSERT(role->types.negset.highbit == 0); in test_role_type_set()
/external/selinux/libsepol/src/
Dpolicydb.c430 ebitmap_init(&x->negset); in type_set_init()
437 ebitmap_destroy(&x->negset); in type_set_destroy()
1591 if (ebitmap_or(&dst->negset, &a->negset, &b->negset)) { in type_set_or()
1608 if (ebitmap_cpy(&dst->negset, &src->negset)) in type_set_cpy()
1673 if (ebitmap_read(&t->negset, fp)) in type_set_read()
Dexpand.c2361 if (map_ebitmap(&set->negset, &tmpset.negset, typemap)) in expand_convert_type_set()
2504 if (alwaysexpand || ebitmap_length(&set->negset) || set->flags) { in type_set_expand()
2531 ebitmap_for_each_bit(&set->negset, tnode, i) { in type_set_expand()
Dmodule_to_cil.c854 if (ebitmap_cardinality(&ts->negset) > 0 || ts->flags != 0) { in typeset_to_names()
944 rc = cil_print_attr_strs(indent, pdb, 1, &ts->types, &ts->negset, ts->flags, generated_attribute); in process_typeset()
1275 … rc = cil_print_attr_strs(indent, pdb, 1, &ts->types, &ts->negset, ts->flags, generated_attribute); in cil_print_attr_list()
Dlink.c974 ebitmap_for_each_bit(&types->negset, tnode, i) { in type_set_convert()
978 (&dst->negset, mod->map[SYM_TYPES][i] - 1, 1)) { in type_set_convert()
Dwrite.c625 if (ebitmap_write(&x->negset, fp)) in type_set_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h84 ebitmap_t negset; member
/external/selinux/checkpolicy/
Dpolicy_define.c1501 if (ebitmap_set_bit(&set->negset, t->s.value - 1, TRUE)) in set_types()
3665 ebitmap_t negset; in define_cexpr() local
3737 ebitmap_init(&negset); in define_cexpr()
3796 ebitmap_destroy(&negset); in define_cexpr()
/external/selinux/libsepol/cil/src/
Dcil_binary.c4194 ebitmap_init(&t->negset); in __cil_init_sepol_type_set()
4251 ebitmap_destroy(&curr->stypes.negset); in __cil_destroy_sepol_avrules()
4253 ebitmap_destroy(&curr->ttypes.negset); in __cil_destroy_sepol_avrules()