Searched refs:maxbit (Results 1 - 3 of 3) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
H A Debitmap.h83 extern int ebitmap_not(ebitmap_t *dst, ebitmap_t *e1, unsigned int maxbit);
84 extern int ebitmap_andnot(ebitmap_t *dst, ebitmap_t *e1, ebitmap_t *e2, unsigned int maxbit);
/external/selinux/libsepol/src/
H A Debitmap.c101 int ebitmap_not(ebitmap_t *dst, ebitmap_t *e1, unsigned int maxbit) argument
105 for (i=0; i < maxbit; i++) {
114 int ebitmap_andnot(ebitmap_t *dst, ebitmap_t *e1, ebitmap_t *e2, unsigned int maxbit) argument
118 int rc = ebitmap_not(&e3, e2, maxbit);
/external/selinux/policycoreutils/mcstrans/src/
H A Dmcstrans.c49 static unsigned int maxbit=0; variable
200 if (low >= maxbit)
201 maxbit = low + 1;
441 if (ebitmap_andnot(&word->normal, &word->cat, &group->def, maxbit) < 0)
1203 if (ebitmap_andnot(&set, &w->cat, &g->def, maxbit) < 0) goto err;
1212 if (ebitmap_andnot(&mraw->cat, &tmp, &clear, maxbit) < 0) goto err;
1363 if (ebitmap_not(&nothandled, &handled, maxbit) < 0)
1411 if (ebitmap_andnot(&unhandled, &temp, &bit_diff, maxbit) < 0)

Completed in 405 milliseconds