Lines Matching refs:new_val

1269 	char *new_val = NULL;  in cond_expr_to_cil()  local
1288 new_val = malloc(len); in cond_expr_to_cil()
1289 if (new_val == NULL) { in cond_expr_to_cil()
1294 rlen = snprintf(new_val, len, "(%s)", val1); in cond_expr_to_cil()
1342 new_val = malloc(len); in cond_expr_to_cil()
1343 if (new_val == NULL) { in cond_expr_to_cil()
1352 rlen = snprintf(new_val, len, fmt_str, op, val1, val2); in cond_expr_to_cil()
1365 rc = stack_push(stack, new_val); in cond_expr_to_cil()
1370 new_val = NULL; in cond_expr_to_cil()
1393 free(new_val); in cond_expr_to_cil()
1728 char *new_val = NULL; in constraint_expr_to_string() local
1785 new_val = malloc(len); in constraint_expr_to_string()
1786 if (new_val == NULL) { in constraint_expr_to_string()
1791 rlen = snprintf(new_val, len, "(%s %s %s)", op, attr1, attr2); in constraint_expr_to_string()
1822 new_val = malloc(len); in constraint_expr_to_string()
1823 if (new_val == NULL) { in constraint_expr_to_string()
1828 rlen = snprintf(new_val, len, "(%s %s %s)", op, attr1, names); in constraint_expr_to_string()
1879 new_val = malloc(len); in constraint_expr_to_string()
1880 if (new_val == NULL) { in constraint_expr_to_string()
1889 rlen = snprintf(new_val, len, fmt_str, op, val1, val2); in constraint_expr_to_string()
1902 rc = stack_push(stack, new_val); in constraint_expr_to_string()
1908 new_val = NULL; in constraint_expr_to_string()
1911 new_val = stack_pop(stack); in constraint_expr_to_string()
1912 if (new_val == NULL || stack_peek(stack) != NULL) { in constraint_expr_to_string()
1918 *expr_string = new_val; in constraint_expr_to_string()
1919 new_val = NULL; in constraint_expr_to_string()
1927 free(new_val); in constraint_expr_to_string()