Lines Matching full:new_expr
286 constraint_expr_t *new_expr = NULL;
298 if ((new_expr = calloc(1, sizeof(*new_expr))) == NULL) {
301 if (constraint_expr_init(new_expr) == -1) {
304 new_expr->expr_type = expr->expr_type;
305 new_expr->attr = expr->attr;
306 new_expr->op = expr->op;
307 if (new_expr->expr_type == CEXPR_NAMES) {
308 if (new_expr->attr & CEXPR_TYPE) {
315 &new_expr->
319 } else if (new_expr->attr & CEXPR_ROLE) {
320 if (map_ebitmap(&expr->names, &new_expr->names, state->rolemap)) {
323 } else if (new_expr->attr & CEXPR_USER) {
324 if (map_ebitmap(&expr->names, &new_expr->names, state->usermap)) {
329 if (ebitmap_cpy(&new_expr->names,
336 expr_l->next = new_expr;
338 new_con->expr = new_expr;
340 expr_l = new_expr;
341 new_expr = NULL;
357 constraint_expr_destroy(new_expr);