Lines Matching defs:cons
3995 struct cil_constrain *cons = NULL;
4007 cil_constrain_init(&cons);
4009 rc = cil_fill_classperms_list(parse_current->next, &cons->classperms);
4014 rc = cil_gen_constraint_expr(parse_current->next->next, flavor, &cons->str_expr);
4019 ast_node->data = cons;
4026 cil_destroy_constrain(cons);
4030 void cil_destroy_constrain(struct cil_constrain *cons)
4032 if (cons == NULL) {
4036 cil_destroy_classperms_list(&cons->classperms);
4037 cil_list_destroy(&cons->str_expr, CIL_TRUE);
4038 cil_list_destroy(&cons->datum_expr, CIL_FALSE);
4040 free(cons);