Home | History | Annotate | Download | only in src

Lines Matching full:checkedcast

244 static inline To* CheckedCast(void *from) {
259 value = static_cast<uint32_t>(*CheckedCast<uint8_t>(ptr));
264 value = static_cast<uint32_t>(*CheckedCast<uint16_t>(ptr));
269 value = *CheckedCast<uint32_t>(ptr);
284 uintptr_t value = *CheckedCast<uintptr_t>(ptr);
296 int32_value = *CheckedCast<int8_t>(ptr);
299 int32_value = *CheckedCast<uint8_t>(ptr);
302 int32_value = *CheckedCast<int16_t>(ptr);
305 int32_value = *CheckedCast<uint16_t>(ptr);
308 int32_value = *CheckedCast<int32_t>(ptr);
311 uint32_t value = *CheckedCast<uint32_t>(ptr);
315 uint8_t byte = *CheckedCast<uint8_t>(ptr);
319 float value = *CheckedCast<float>(ptr);
323 double value = *CheckedCast<double>(ptr);
341 current = *CheckedCast<char*>(current);
342 return *CheckedCast<Object*>(current);
354 Object* object = CheckedCast<Object>(current);