Lines Matching refs:length

728                                int32_t length)  in PrimitiveArrayCopy()  argument
741 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); in PrimitiveArrayCopy()
743 for (int32_t i = 0; i < length; ++i) { in PrimitiveArrayCopy()
747 for (int32_t i = 1; i <= length; ++i) { in PrimitiveArrayCopy()
748 dst->Set(dst_pos + length - i, src->Get(src_pos + length - i)); in PrimitiveArrayCopy()
758 jint length = shadow_frame->GetVReg(arg_offset + 4); in UnstartedSystemArraycopy() local
781 if (UNLIKELY(src_pos < 0) || UNLIKELY(dst_pos < 0) || UNLIKELY(length < 0) || in UnstartedSystemArraycopy()
782 UNLIKELY(src_pos > src_array->GetLength() - length) || in UnstartedSystemArraycopy()
783 UNLIKELY(dst_pos > dst_array->GetLength() - length)) { in UnstartedSystemArraycopy()
787 length); in UnstartedSystemArraycopy()
818 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); in UnstartedSystemArraycopy()
820 for (int32_t i = 0; i < length; ++i) { in UnstartedSystemArraycopy()
824 for (int32_t i = 1; i <= length; ++i) { in UnstartedSystemArraycopy()
825 dst->Set(dst_pos + length - i, src->Get(src_pos + length - i)); in UnstartedSystemArraycopy()
834 dst_pos, src, src_pos, length, /* throw_exception= */ true); in UnstartedSystemArraycopy()
837 dst_pos, src, src_pos, length, /* throw_exception= */ true); in UnstartedSystemArraycopy()
841 PrimitiveArrayCopy<uint8_t>(self, src_array, src_pos, dst_array, dst_pos, length); in UnstartedSystemArraycopy()
843 PrimitiveArrayCopy<uint16_t>(self, src_array, src_pos, dst_array, dst_pos, length); in UnstartedSystemArraycopy()
845 PrimitiveArrayCopy<int32_t>(self, src_array, src_pos, dst_array, dst_pos, length); in UnstartedSystemArraycopy()
1338 jint length = shadow_frame->GetVReg(arg_offset + 2); in UnstartedStringFastSubstring() local
1340 DCHECK_GE(length, 0); in UnstartedStringFastSubstring()
1345 DCHECK_LE(start + length, h_string->GetLength()); in UnstartedStringFastSubstring()
1348 result->SetL(mirror::String::AllocFromString(self, length, h_string, start, allocator)); in UnstartedStringFastSubstring()
1684 int32_t length = args[1]; in UnstartedJNIVMRuntimeNewUnpaddedArray() local
1685 DCHECK_GE(length, 0); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1697 self, array_class, length, array_class->GetComponentSizeShift(), allocator)); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1814 int32_t length = static_cast<int32_t>(args[1]); in UnstartedJNIArrayCreateObjectArray() local
1815 if (length < 0) { in UnstartedJNIArrayCreateObjectArray()
1816 ThrowNegativeArraySizeException(length); in UnstartedJNIArrayCreateObjectArray()
1829 self, array_class, length, runtime->GetHeap()->GetCurrentAllocator()); in UnstartedJNIArrayCreateObjectArray()