Lines Matching refs:rangetrans
3429 struct cil_rangetransition *rangetrans = NULL; in cil_gen_rangetransition() local
3441 cil_rangetransition_init(&rangetrans); in cil_gen_rangetransition()
3443 rangetrans->src_str = parse_current->next->data; in cil_gen_rangetransition()
3444 rangetrans->exec_str = parse_current->next->next->data; in cil_gen_rangetransition()
3445 rangetrans->obj_str = parse_current->next->next->next->data; in cil_gen_rangetransition()
3447 rangetrans->range_str = NULL; in cil_gen_rangetransition()
3450 rangetrans->range_str = parse_current->next->next->next->next->data; in cil_gen_rangetransition()
3452 cil_levelrange_init(&rangetrans->range); in cil_gen_rangetransition()
3454 rc = cil_fill_levelrange(parse_current->next->next->next->next->cl_head, rangetrans->range); in cil_gen_rangetransition()
3460 ast_node->data = rangetrans; in cil_gen_rangetransition()
3467 cil_destroy_rangetransition(rangetrans); in cil_gen_rangetransition()
3471 void cil_destroy_rangetransition(struct cil_rangetransition *rangetrans) in cil_destroy_rangetransition() argument
3473 if (rangetrans == NULL) { in cil_destroy_rangetransition()
3477 if (rangetrans->range_str == NULL && rangetrans->range != NULL) { in cil_destroy_rangetransition()
3478 cil_destroy_levelrange(rangetrans->range); in cil_destroy_rangetransition()
3481 free(rangetrans); in cil_destroy_rangetransition()