Lines Matching defs:cats
1246 static int cil_cats_to_ebitmap(struct cil_cats *cats, struct ebitmap* cats_ebitmap)
1255 if (cats == NULL) {
1260 cil_list_for_each(i, cats->datum_expr) {
1264 cil_list_for_each(j, cs->cats->datum_expr) {
1300 rc = cil_cats_to_ebitmap(low->cats, &elow);
1305 rc = cil_cats_to_ebitmap(high->cats, &ehigh);
1321 struct cil_cats *cats = lvl->cats;
1330 if (cats && cats->datum_expr != NULL) {
1332 cil_list_for_each(item, cats->datum_expr) {
1373 struct cil_cats *cats = lvl->cats;
1384 if (cats && cats->datum_expr != NULL) {
1388 cil_list_for_each(item, cats->datum_expr) {
1855 (*level)->cats = NULL;
2228 (*catset)->cats = NULL;
2236 (*senscat)->cats = NULL;
2239 void cil_cats_init(struct cil_cats **cats)
2241 *cats = cil_malloc(sizeof(**cats));
2243 (*cats)->evaluated = CIL_FALSE;
2244 (*cats)->str_expr = NULL;
2245 (*cats)->datum_expr = NULL;