Lines Matching full:cats
1223 static int cil_cats_to_ebitmap(struct cil_cats *cats, struct ebitmap* cats_ebitmap)
1232 if (cats == NULL) {
1237 cil_list_for_each(i, cats->datum_expr) {
1241 cil_list_for_each(j, cs->cats->datum_expr) {
1277 rc = cil_cats_to_ebitmap(low->cats, &elow);
1282 rc = cil_cats_to_ebitmap(high->cats, &ehigh);
1296 struct cil_cats *cats = lvl->cats;
1305 if (cats && cats->datum_expr != NULL) {
1307 cil_list_for_each(item, cats->datum_expr) {
1348 struct cil_cats *cats = lvl->cats;
1359 if (cats && cats->datum_expr != NULL) {
1363 cil_list_for_each(item, cats->datum_expr) {
1821 (*level)->cats = NULL;
2185 (*catset)->cats = NULL;
2193 (*senscat)->cats = NULL;
2196 void cil_cats_init(struct cil_cats **cats)
2198 *cats = cil_malloc(sizeof(**cats));
2200 (*cats)->evaluated = CIL_FALSE;
2201 (*cats)->str_expr = NULL;
2202 (*cats)->datum_expr = NULL;