Home
last modified time | relevance | path

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

/external/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/libsepol/tests/
Dtest-common.c220 CU_ASSERT(role->types.negset.highbit == 0); in test_role_type_set()
/external/libsepol/src/
Dpolicydb.c416 ebitmap_init(&x->negset); in type_set_init()
423 ebitmap_destroy(&x->negset); in type_set_destroy()
1577 if (ebitmap_or(&dst->negset, &a->negset, &b->negset)) { in type_set_or()
1594 if (ebitmap_cpy(&dst->negset, &src->negset)) in type_set_cpy()
1659 if (ebitmap_read(&t->negset, fp)) in type_set_read()
Dexpand.c2396 if (map_ebitmap(&set->negset, &tmpset.negset, typemap)) in expand_convert_type_set()
2538 if (alwaysexpand || ebitmap_length(&set->negset) || set->flags) { in type_set_expand()
2565 ebitmap_for_each_bit(&set->negset, tnode, i) { in type_set_expand()
Dlink.c973 ebitmap_for_each_bit(&types->negset, tnode, i) { in type_set_convert()
977 (&dst->negset, mod->map[SYM_TYPES][i] - 1, 1)) { in type_set_convert()
Dwrite.c592 if (ebitmap_write(&x->negset, fp)) in type_set_write()
/external/libsepol/include/sepol/policydb/
Dpolicydb.h82 ebitmap_t negset; member
/external/checkpolicy/
Dpolicy_define.c1498 if (ebitmap_set_bit(&set->negset, t->s.value - 1, TRUE)) in set_types()
2992 ebitmap_t negset; in define_cexpr() local
3064 ebitmap_init(&negset); in define_cexpr()
3123 ebitmap_destroy(&negset); in define_cexpr()