Lines Matching defs:elementSize
392 // 12. Let elementSize be the Number value of the Element Size value specified in Table 49 for Element Type type.
393 uint32_t elementSize = JSDataView::GetElementSize(type);
394 // 13. If getIndex +elementSize > viewSize, throw a RangeError exception.
395 if (index + elementSize > size) {
396 THROW_RANGE_ERROR_AND_RETURN(thread, "getIndex +elementSize > viewSize", JSTaggedValue::Exception());
457 // 12. Let elementSize be the Number value of the Element Size value specified in Table 49 for Element Type type.
458 uint32_t elementSize = JSDataView::GetElementSize(type);
459 // 13. If getIndex +elementSize > viewSize, throw a RangeError exception.
460 if (static_cast<uint32_t>(index) + elementSize > size) {
461 THROW_RANGE_ERROR_AND_RETURN(thread, "getIndex +elementSize > viewSize", JSTaggedValue::Exception());