/art/runtime/mirror/ |
D | array.cc | 45 Handle<Class> array_class, int current_dimension, in RecursiveCreateMultiArray() argument 52 Array::Alloc<true>(self, array_class.Get(), array_length, in RecursiveCreateMultiArray() 53 array_class->GetComponentSizeShift(), in RecursiveCreateMultiArray() 63 Handle<mirror::Class> h_component_type(hs2.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray() 99 MutableHandle<mirror::Class> array_class( in CreateMultiArray() local 101 if (UNLIKELY(array_class == nullptr)) { in CreateMultiArray() 106 ObjPtr<mirror::Class> array_class_ptr = array_class.Get(); in CreateMultiArray() 107 array_class.Assign(class_linker->FindArrayClass(self, &array_class_ptr)); in CreateMultiArray() 108 if (UNLIKELY(array_class == nullptr)) { in CreateMultiArray() 114 ObjPtr<Array> new_array = RecursiveCreateMultiArray(self, array_class, 0, dimensions); in CreateMultiArray()
|
D | array-inl.h | 156 ObjPtr<Class> array_class, in Alloc() argument 161 DCHECK(array_class != nullptr); in Alloc() 162 DCHECK(array_class->IsArrayClass()); in Alloc() 163 DCHECK_EQ(array_class->GetComponentSizeShift(), component_size_shift); in Alloc() 164 DCHECK_EQ(array_class->GetComponentSize(), (1U << component_size_shift)); in Alloc() 173 array_class->PrettyDescriptor().c_str(), in Alloc() 183 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size, in Alloc() 190 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size, in Alloc() 194 array_class = result->GetClass(); // In case the array class moved. in Alloc() 195 CHECK_EQ(array_class->GetComponentSize(), 1U << component_size_shift); in Alloc() [all …]
|
D | array.h | 42 ObjPtr<Class> array_class, 170 static void SetArrayClass(ObjPtr<Class> array_class);
|
D | emulated_stack_frame.cc | 172 ObjPtr<mirror::Class> array_class(class_linker->GetClassRoot(ClassLinker::kObjectArrayClass)); in CreateFromShadowFrameAndArgs() local 175 mirror::ObjectArray<mirror::Object>::Alloc(self, array_class, refs_size))); in CreateFromShadowFrameAndArgs()
|
/art/runtime/native/ |
D | java_lang_reflect_Array.cc | 63 ObjPtr<mirror::Class> array_class = class_linker->FindArrayClass(soa.Self(), &element_class); in Array_createObjectArray() local 64 if (UNLIKELY(array_class == nullptr)) { in Array_createObjectArray() 68 DCHECK(array_class->IsObjectArrayClass()); in Array_createObjectArray() 71 array_class, in Array_createObjectArray()
|
D | dalvik_system_VMRuntime.cc | 93 ObjPtr<mirror::Class> array_class = in VMRuntime_newNonMovableArray() local 95 if (UNLIKELY(array_class == nullptr)) { in VMRuntime_newNonMovableArray() 100 array_class, in VMRuntime_newNonMovableArray() 102 array_class->GetComponentSizeShift(), in VMRuntime_newNonMovableArray() 120 ObjPtr<mirror::Class> array_class = runtime->GetClassLinker()->FindArrayClass(soa.Self(), in VMRuntime_newUnpaddedArray() local 122 if (UNLIKELY(array_class == nullptr)) { in VMRuntime_newUnpaddedArray() 128 array_class, in VMRuntime_newUnpaddedArray() 130 array_class->GetComponentSizeShift(), in VMRuntime_newUnpaddedArray()
|
/art/runtime/ |
D | class_linker-inl.h | 40 ObjPtr<mirror::Class> array_class = find_array_class_cache_[i].Read(); in FindArrayClass() local 41 if (array_class != nullptr && array_class->GetComponentType() == *element_class) { in FindArrayClass() 42 return array_class.Ptr(); in FindArrayClass() 51 ObjPtr<mirror::Class> array_class = FindClass(self, descriptor.c_str(), class_loader); in FindArrayClass() local 52 if (array_class != nullptr) { in FindArrayClass() 55 find_array_class_cache_[victim_index] = GcRoot<mirror::Class>(array_class); in FindArrayClass() 61 return array_class.Ptr(); in FindArrayClass()
|
D | dex_file_annotations.cc | 381 Handle<mirror::Class> array_class, in ProcessAnnotationValue() argument 568 if (result_style == DexFile::kAllRaw || array_class == nullptr) { in ProcessAnnotationValue() 574 Handle<mirror::Class> component_type(hs.NewHandle(array_class->GetComponentType())); in ProcessAnnotationValue() 576 self, array_class.Get(), size, array_class->GetComponentSizeShift(), in ProcessAnnotationValue() 824 Handle<mirror::Class> array_class, in GetAnnotationValue() argument 838 array_class, in GetAnnotationValue() 843 array_class, in GetAnnotationValue()
|
D | common_throws.h | 56 ObjPtr<mirror::Class> array_class)
|
D | jni_internal_test.cc | 1219 jclass array_class = env_->FindClass("[Ljava/lang/String;"); in TEST_F() local 1220 ASSERT_NE(array_class, nullptr); in TEST_F() 1224 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F() 1229 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F() 1270 jclass array_class = env_->FindClass("[Ljava/lang/String;"); in TEST_F() local 1271 ASSERT_NE(array_class, nullptr); in TEST_F() 1276 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F()
|
D | common_throws.cc | 122 ObjPtr<mirror::Class> array_class) { in ThrowArrayStoreException() argument 126 mirror::Class::PrettyDescriptor(array_class).c_str()).c_str()); in ThrowArrayStoreException()
|
D | jni_internal.cc | 2000 ObjPtr<mirror::Class> array_class; in NewObjectArray() local 2010 array_class = class_linker->FindArrayClass(soa.Self(), &element_class); in NewObjectArray() 2011 if (UNLIKELY(array_class == nullptr)) { in NewObjectArray() 2018 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), array_class, length); in NewObjectArray()
|
D | class_linker_test.cc | 1022 mirror::Class* array_class = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F() local 1024 mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), array_class, 0); in TEST_F()
|
D | thread.cc | 2455 ObjPtr<mirror::Class> array_class = class_linker->GetClassRoot(ClassLinker::kObjectArrayClass); in Init() local 2460 mirror::ObjectArray<mirror::Object>::Alloc(hs.Self(), array_class, depth + 1))); in Init()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 1179 ObjPtr<mirror::Class> array_class = ResolveVerifyAndClinit(dex::TypeIndex(type_idx), in DoFilledNewArray() local 1184 if (UNLIKELY(array_class == nullptr)) { in DoFilledNewArray() 1188 CHECK(array_class->IsArrayClass()); in DoFilledNewArray() 1189 ObjPtr<mirror::Class> component_class = array_class->GetComponentType(); in DoFilledNewArray() 1204 array_class, in DoFilledNewArray() 1206 array_class->GetComponentSizeShift(), in DoFilledNewArray()
|
D | unstarted_runtime.cc | 1642 ObjPtr<mirror::Class> array_class = in UnstartedJNIVMRuntimeNewUnpaddedArray() local 1644 DCHECK(array_class != nullptr); in UnstartedJNIVMRuntimeNewUnpaddedArray() 1647 array_class, in UnstartedJNIVMRuntimeNewUnpaddedArray() 1649 array_class->GetComponentSizeShift(), in UnstartedJNIVMRuntimeNewUnpaddedArray() 1776 ObjPtr<mirror::Class> array_class = class_linker->FindArrayClass(self, &element_class); in UnstartedJNIArrayCreateObjectArray() local 1777 if (UNLIKELY(array_class == nullptr)) { in UnstartedJNIArrayCreateObjectArray() 1781 DCHECK(array_class->IsObjectArrayClass()); in UnstartedJNIArrayCreateObjectArray() 1783 self, array_class, length, runtime->GetHeap()->GetCurrentAllocator()); in UnstartedJNIArrayCreateObjectArray()
|
/art/runtime/verifier/ |
D | reg_type.cc | 786 mirror::Class* array_class = class_linker->FindArrayClass(self, &common_elem); in ClassJoin() local 787 if (UNLIKELY(array_class == nullptr)) { in ClassJoin() 791 return array_class; in ClassJoin()
|