Lines Matching refs:presult
70 Promotion presult = {};
73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y);
76 static_cast<Promotion>(y), &presult);
78 *result = static_cast<V>(presult);
79 return is_valid && IsValueInRangeForNumericType<V>(presult);
130 Promotion presult = {};
133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y);
136 static_cast<Promotion>(y), &presult);
138 *result = static_cast<V>(presult);
139 return is_valid && IsValueInRangeForNumericType<V>(presult);
186 Promotion presult = {};
190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult);
192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y);
195 static_cast<Promotion>(y), &presult);
197 *result = static_cast<V>(presult);
198 return is_valid && IsValueInRangeForNumericType<V>(presult);
237 Promotion presult = Promotion(x) / Promotion(y);
238 *result = static_cast<V>(presult);
239 return IsValueInRangeForNumericType<V>(presult);
256 Promotion presult = static_cast<Promotion>(x) % static_cast<Promotion>(y);
257 *result = static_cast<Promotion>(presult);
258 return IsValueInRangeForNumericType<V>(presult);
430 Promotion presult = x OP y; \
431 *result = static_cast<V>(presult); \
432 return IsValueInRangeForNumericType<V>(presult); \