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.c219 CU_ASSERT(role->types.negset.highbit == 0); in test_role_type_set()
/external/selinux/libsepol/src/
Dpolicydb.c467 ebitmap_init(&x->negset); in type_set_init()
474 ebitmap_destroy(&x->negset); in type_set_destroy()
1741 if (ebitmap_or(&dst->negset, &a->negset, &b->negset)) { in type_set_or()
1758 if (ebitmap_cpy(&dst->negset, &src->negset)) in type_set_cpy()
1823 if (ebitmap_read(&t->negset, fp)) in type_set_read()
Dexpand.c2405 if (map_ebitmap(&set->negset, &tmpset.negset, typemap)) in expand_convert_type_set()
2544 unsigned char expand = alwaysexpand || ebitmap_length(&set->negset) || set->flags; in type_set_expand()
2583 ebitmap_for_each_bit(&set->negset, tnode, i) { in type_set_expand()
Dmodule_to_cil.c832 neg = &ts->negset; in cil_print_attr_strs()
938 if (ebitmap_cmp(&ts1->negset, &ts2->negset) == 0) in search_attr_list()
1071 if (ebitmap_length(&ts->negset) > 0 || ts->flags != 0) { in process_typeset()
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.c642 if (ebitmap_write(&x->negset, fp)) in type_set_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h88 ebitmap_t negset; member
/external/selinux/checkpolicy/
Dpolicy_define.c1602 if (ebitmap_set_bit(&set->negset, t->s.value - 1, TRUE)) in set_types()
3801 ebitmap_t negset; in define_cexpr() local
3873 ebitmap_init(&negset); in define_cexpr()
3932 ebitmap_destroy(&negset); in define_cexpr()
/external/selinux/libsepol/cil/src/
Dcil_binary.c4482 ebitmap_init(&t->negset); in __cil_init_sepol_type_set()
4551 ebitmap_destroy(&curr->stypes.negset); in __cil_destroy_sepol_avrules()
4553 ebitmap_destroy(&curr->ttypes.negset); in __cil_destroy_sepol_avrules()