Lines Matching refs:expr
28 int constraint_expr_init(constraint_expr_t * expr) in constraint_expr_init() argument
30 memset(expr, 0, sizeof(*expr)); in constraint_expr_init()
31 ebitmap_init(&expr->names); in constraint_expr_init()
32 if ((expr->type_names = malloc(sizeof(*expr->type_names))) == NULL) { in constraint_expr_init()
35 type_set_init(expr->type_names); in constraint_expr_init()
39 void constraint_expr_destroy(constraint_expr_t * expr) in constraint_expr_destroy() argument
41 if (expr != NULL) { in constraint_expr_destroy()
42 ebitmap_destroy(&expr->names); in constraint_expr_destroy()
43 type_set_destroy(expr->type_names); in constraint_expr_destroy()
44 free(expr->type_names); in constraint_expr_destroy()
45 free(expr); in constraint_expr_destroy()