Lines Matching refs:new_val
31 char *new_val; in cond_expr_to_str() local
43 new_val = create_str("%s", 1, val1); in cond_expr_to_str()
76 new_val = create_str("(%s %s %s)", 3, val1, op, val2); in cond_expr_to_str()
79 new_val = create_str("%s %s", 2, op, val1); in cond_expr_to_str()
83 if (!new_val) { in cond_expr_to_str()
87 rc = stack_push(stack, new_val); in cond_expr_to_str()
94 new_val = stack_pop(stack); in cond_expr_to_str()
95 if (!new_val || !stack_empty(stack)) { in cond_expr_to_str()
100 str = new_val; in cond_expr_to_str()
106 while ((new_val = stack_pop(stack)) != NULL) { in cond_expr_to_str()
107 free(new_val); in cond_expr_to_str()
118 char *new_val = NULL; in constraint_expr_to_str() local
172 new_val = create_str("%s %s %s", 3, attr1, op, attr2); in constraint_expr_to_str()
186 new_val = create_str("%s %s %s", 3, attr1, op, names); in constraint_expr_to_str()
217 new_val = create_str("(%s %s %s)", 3, val1, op, val2); in constraint_expr_to_str()
220 new_val = create_str("%s (%s)", 2, op, val1); in constraint_expr_to_str()
224 if (!new_val) { in constraint_expr_to_str()
227 rc = stack_push(stack, new_val); in constraint_expr_to_str()
234 new_val = stack_pop(stack); in constraint_expr_to_str()
235 if (!new_val || !stack_empty(stack)) { in constraint_expr_to_str()
240 str = new_val; in constraint_expr_to_str()
247 while ((new_val = stack_pop(stack)) != NULL) { in constraint_expr_to_str()
248 free(new_val); in constraint_expr_to_str()