Lines Matching refs:rangetrans
3357 struct cil_rangetransition *rangetrans = NULL; in cil_gen_rangetransition() local
3369 cil_rangetransition_init(&rangetrans); in cil_gen_rangetransition()
3371 rangetrans->src_str = parse_current->next->data; in cil_gen_rangetransition()
3372 rangetrans->exec_str = parse_current->next->next->data; in cil_gen_rangetransition()
3373 rangetrans->obj_str = parse_current->next->next->next->data; in cil_gen_rangetransition()
3375 rangetrans->range_str = NULL; in cil_gen_rangetransition()
3378 rangetrans->range_str = parse_current->next->next->next->next->data; in cil_gen_rangetransition()
3380 cil_levelrange_init(&rangetrans->range); in cil_gen_rangetransition()
3382 rc = cil_fill_levelrange(parse_current->next->next->next->next->cl_head, rangetrans->range); in cil_gen_rangetransition()
3388 ast_node->data = rangetrans; in cil_gen_rangetransition()
3396 cil_destroy_rangetransition(rangetrans); in cil_gen_rangetransition()
3400 void cil_destroy_rangetransition(struct cil_rangetransition *rangetrans) in cil_destroy_rangetransition() argument
3402 if (rangetrans == NULL) { in cil_destroy_rangetransition()
3406 if (rangetrans->range_str == NULL && rangetrans->range != NULL) { in cil_destroy_rangetransition()
3407 cil_destroy_levelrange(rangetrans->range); in cil_destroy_rangetransition()
3410 free(rangetrans); in cil_destroy_rangetransition()