Lines Matching refs:new_val
1236 char *new_val = NULL; in cond_expr_to_cil() local
1255 new_val = malloc(len); in cond_expr_to_cil()
1256 if (new_val == NULL) { in cond_expr_to_cil()
1261 rlen = snprintf(new_val, len, "(%s)", val1); in cond_expr_to_cil()
1310 new_val = malloc(len); in cond_expr_to_cil()
1311 if (new_val == NULL) { in cond_expr_to_cil()
1320 rlen = snprintf(new_val, len, fmt_str, op, val1, val2); in cond_expr_to_cil()
1333 rc = stack_push(stack, new_val); in cond_expr_to_cil()
1338 new_val = NULL; in cond_expr_to_cil()
1361 free(new_val); in cond_expr_to_cil()
1693 char *new_val = NULL; in constraint_expr_to_string() local
1750 new_val = malloc(len); in constraint_expr_to_string()
1751 if (new_val == NULL) { in constraint_expr_to_string()
1756 rlen = snprintf(new_val, len, "(%s %s %s)", op, attr1, attr2); in constraint_expr_to_string()
1787 new_val = malloc(len); in constraint_expr_to_string()
1788 if (new_val == NULL) { in constraint_expr_to_string()
1793 rlen = snprintf(new_val, len, "(%s %s %s)", op, attr1, names); in constraint_expr_to_string()
1846 new_val = malloc(len); in constraint_expr_to_string()
1847 if (new_val == NULL) { in constraint_expr_to_string()
1856 rlen = snprintf(new_val, len, fmt_str, op, val1, val2); in constraint_expr_to_string()
1869 rc = stack_push(stack, new_val); in constraint_expr_to_string()
1875 new_val = NULL; in constraint_expr_to_string()
1878 new_val = stack_pop(stack); in constraint_expr_to_string()
1879 if (new_val == NULL || stack_peek(stack) != NULL) { in constraint_expr_to_string()
1885 *expr_string = new_val; in constraint_expr_to_string()
1886 new_val = NULL; in constraint_expr_to_string()
1894 free(new_val); in constraint_expr_to_string()