Lines Matching refs:validtrans
3657 struct cil_validatetrans *validtrans = NULL; in cil_gen_validatetrans() local
3669 cil_validatetrans_init(&validtrans); in cil_gen_validatetrans()
3671 validtrans->class_str = parse_current->next->data; in cil_gen_validatetrans()
3673 rc = cil_gen_constraint_expr(parse_current->next->next, flavor, &validtrans->str_expr); in cil_gen_validatetrans()
3678 ast_node->data = validtrans; in cil_gen_validatetrans()
3686 cil_destroy_validatetrans(validtrans); in cil_gen_validatetrans()
3692 void cil_destroy_validatetrans(struct cil_validatetrans *validtrans) in cil_destroy_validatetrans() argument
3694 if (validtrans == NULL) { in cil_destroy_validatetrans()
3698 cil_list_destroy(&validtrans->str_expr, CIL_TRUE); in cil_destroy_validatetrans()
3699 cil_list_destroy(&validtrans->datum_expr, CIL_FALSE); in cil_destroy_validatetrans()
3701 free(validtrans); in cil_destroy_validatetrans()