Lines Matching refs:static_cast
80 return static_cast<float>(x);
95 return static_cast<int32_t>(x);
106 // static_cast<int64_t> below is not the minimal int64_t value,
110 return static_cast<int32_t>(d.Sign() * static_cast<int64_t>(bits));
119 return static_cast<int64_t>(x);
130 int64_t bits_int64 = static_cast<int64_t>(bits);
135 return static_cast<int64_t>(d.Sign() * static_cast<int64_t>(bits));
139 return static_cast<uint64_t>(DoubleToWebIDLInt64(x));
214 if (value < max) return static_cast<uint32_t>(value);
222 if (d >= static_cast<double>(std::numeric_limits<int64_t>::max())) {
225 if (d <= static_cast<double>(std::numeric_limits<int64_t>::min())) {
228 return static_cast<int64_t>(d);
241 if (value < max) return static_cast<uint64_t>(value);
250 DCHECK(static_cast<unsigned>(Smi::kMaxValue) <=
253 *result = static_cast<size_t>(value);
263 double maxSize = static_cast<double>(std::numeric_limits<size_t>::max());
265 *result = static_cast<size_t>(value);
281 return static_cast<uint32_t>(DoubleToInt32(x));