Lines Matching refs:new_val
32 char *new_val; in cond_expr_to_str() local
44 new_val = create_str("%s", 1, val1); in cond_expr_to_str()
78 new_val = create_str("(%s %s %s)", 3, op, val1, val2); in cond_expr_to_str()
81 new_val = create_str("(%s %s)", 2, op, val1); in cond_expr_to_str()
85 if (!new_val) { in cond_expr_to_str()
89 rc = stack_push(stack, new_val); in cond_expr_to_str()
96 new_val = stack_pop(stack); in cond_expr_to_str()
97 if (!new_val || !stack_empty(stack)) { in cond_expr_to_str()
102 str = new_val; in cond_expr_to_str()
108 while ((new_val = stack_pop(stack)) != NULL) { in cond_expr_to_str()
109 free(new_val); in cond_expr_to_str()
120 char *new_val = NULL; in constraint_expr_to_str() local
175 new_val = create_str("(%s %s %s)", 3, op, attr1, attr2); in constraint_expr_to_str()
189 new_val = create_str("(%s %s %s)", 3, op, attr1, names); in constraint_expr_to_str()
221 new_val = create_str("(%s %s %s)", 3, op, val1, val2); in constraint_expr_to_str()
224 new_val = create_str("(%s %s)", 2, op, val1); in constraint_expr_to_str()
228 if (!new_val) { in constraint_expr_to_str()
231 rc = stack_push(stack, new_val); in constraint_expr_to_str()
238 new_val = stack_pop(stack); in constraint_expr_to_str()
239 if (!new_val || !stack_empty(stack)) { in constraint_expr_to_str()
244 str = new_val; in constraint_expr_to_str()
251 while ((new_val = stack_pop(stack)) != NULL) { in constraint_expr_to_str()
252 free(new_val); in constraint_expr_to_str()