Lines Matching refs:old_arr
1917 art::Handle<art::mirror::Array> old_arr(hs.NewHandle(soa.Decode<art::mirror::Array>(arr))); in ChangeArraySize() local
1921 art::mirror::ObjectArray<art::mirror::Object>::Alloc(self, old_arr->GetClass(), new_size)); in ChangeArraySize()
1925 new_arr.Assign(art::mirror::Array::CopyOf(old_arr, self, new_size)); in ChangeArraySize()
1929 JVMTI_LOG(INFO, env) << "Unable to allocate " << old_arr->GetClass()->PrettyClass() in ChangeArraySize()
1943 new_arr->SetLockWord(old_arr->GetLockWord(false), false); in ChangeArraySize()
1944 old_arr->SetLockWord(art::LockWord::Default(), false); in ChangeArraySize()
1946 int32_t size = std::min(old_arr->GetLength(), new_size); in ChangeArraySize()
1947 switch (old_arr->GetClass()->GetComponentType()->GetPrimitiveType()) { in ChangeArraySize()
1949 new_arr->AsBooleanArray()->Memcpy(0, old_arr->AsBooleanArray(), 0, size); in ChangeArraySize()
1952 new_arr->AsByteArray()->Memcpy(0, old_arr->AsByteArray(), 0, size); in ChangeArraySize()
1955 new_arr->AsCharArray()->Memcpy(0, old_arr->AsCharArray(), 0, size); in ChangeArraySize()
1958 new_arr->AsShortArray()->Memcpy(0, old_arr->AsShortArray(), 0, size); in ChangeArraySize()
1961 new_arr->AsIntArray()->Memcpy(0, old_arr->AsIntArray(), 0, size); in ChangeArraySize()
1964 new_arr->AsLongArray()->Memcpy(0, old_arr->AsLongArray(), 0, size); in ChangeArraySize()
1967 new_arr->AsFloatArray()->Memcpy(0, old_arr->AsFloatArray(), 0, size); in ChangeArraySize()
1970 new_arr->AsDoubleArray()->Memcpy(0, old_arr->AsDoubleArray(), 0, size); in ChangeArraySize()
1975 i, old_arr->AsObjectArray<art::mirror::Object>()->Get(i)); in ChangeArraySize()
1983 ReplaceReference(self, old_arr.Get(), new_arr.Get()); in ChangeArraySize()