Lines Matching defs:cast_to

315 static struct expression * cast_to(struct expression *old, struct symbol *type)
618 index = cast_to(index, ssize_t_ctype);
959 expr->left = cast_to(expr->left, ltype);
960 expr->right = cast_to(expr->right, rtype);
1052 expr->left = cast_to(expr->left, ctype);
1053 expr->right = cast_to(expr->right, ctype);
1078 expr->left = cast_to(left, rtype);
1082 expr->right = cast_to(right, ltype);
1098 expr->right = cast_to(right, ltype);
1102 expr->left = cast_to(left, rtype);
1182 *cond = cast_to(*cond, ctype);
1183 expr->cond_false = cast_to(expr->cond_false, ctype);
1192 *cond = cast_to(*cond, &ptr_ctype);
1193 expr->cond_false = cast_to(expr->cond_false, &ptr_ctype);
1200 *cond = cast_to(*cond, rtype);
1207 expr->cond_false = cast_to(expr->cond_false, ltype);
1282 *cond = cast_to(*cond, ctype);
1283 expr->cond_false = cast_to(expr->cond_false, ctype);
1314 expr->right = cast_to(expr->right, target);
1329 expr->right = cast_to(expr->right, source);
1333 expr->right = cast_to(expr->right, &uint_ctype);
1344 expr->right = cast_to(expr->right, target);
1364 expr->right = cast_to(expr->right, target);
1371 return 0; /* yes, 0 - we don't want a cast_to here */
1486 *rp = cast_to(*rp, target);
1500 *rp = cast_to(*rp, target);
1917 expr->unop = cast_to(expr->unop, ctype);
2347 *p = cast_to(expr, integer_promotion(type));
2350 *p = cast_to(expr, &double_ctype);
2353 *p = cast_to(expr, &ptr_ctype);
2872 expr->left = cast_to(old, ctype);
2873 expr->right = cast_to(zero, ctype);
3278 idx = cast_to(idx, size_t_ctype);
3908 stmt->expression = cast_to(stmt->expression, &ptr_ctype);