Searched refs:maxbit (Results 1 – 3 of 3) sorted by relevance
/external/selinux/libsepol/include/sepol/policydb/ |
D | ebitmap.h | 83 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/ |
D | ebitmap.c | 101 int ebitmap_not(ebitmap_t *dst, ebitmap_t *e1, unsigned int maxbit) in ebitmap_not() argument 105 for (i=0; i < maxbit; i++) { in ebitmap_not() 114 int ebitmap_andnot(ebitmap_t *dst, ebitmap_t *e1, ebitmap_t *e2, unsigned int maxbit) in ebitmap_andnot() argument 118 int rc = ebitmap_not(&e3, e2, maxbit); in ebitmap_andnot()
|
/external/selinux/policycoreutils/mcstrans/src/ |
D | mcstrans.c | 49 static unsigned int maxbit=0; variable 200 if (low >= maxbit) in parse_category() 201 maxbit = low + 1; in parse_category() 441 if (ebitmap_andnot(&word->normal, &word->cat, &group->def, maxbit) < 0) in add_word() 1203 if (ebitmap_andnot(&set, &w->cat, &g->def, maxbit) < 0) goto err; in compute_raw_from_trans() 1212 if (ebitmap_andnot(&mraw->cat, &tmp, &clear, maxbit) < 0) goto err; in compute_raw_from_trans() 1363 if (ebitmap_not(¬handled, &handled, maxbit) < 0) in compute_trans_from_raw() 1411 if (ebitmap_andnot(&unhandled, &temp, &bit_diff, maxbit) < 0) in compute_trans_from_raw()
|