/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 | 155 ObjPtr<Class> array_class, in Alloc() argument 160 DCHECK(array_class != nullptr); in Alloc() 161 DCHECK(array_class->IsArrayClass()); in Alloc() 162 DCHECK_EQ(array_class->GetComponentSizeShift(), component_size_shift); in Alloc() 163 DCHECK_EQ(array_class->GetComponentSize(), (1U << component_size_shift)); in Alloc() 172 array_class->PrettyDescriptor().c_str(), in Alloc() 182 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size, in Alloc() 189 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size, in Alloc() 193 array_class = result->GetClass(); // In case the array class moved. in Alloc() 194 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 | 170 ObjPtr<mirror::Class> array_class(class_linker->GetClassRoot(ClassLinker::kObjectArrayClass)); in CreateFromShadowFrameAndArgs() local 173 mirror::ObjectArray<mirror::Object>::Alloc(self, array_class, refs_size))); in CreateFromShadowFrameAndArgs()
|
D | var_handle_test.cc | 64 Handle<Class> array_class, in CreateArrayElementVarHandle() argument 74 Handle<Class> var_type = hs.NewHandle(array_class->GetComponentType()); in CreateArrayElementVarHandle() 76 InitializeVarHandle(vh.Get(), var_type, array_class, index_type, access_modes_bit_mask); in CreateArrayElementVarHandle()
|
/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 | 113 ObjPtr<mirror::Class> array_class = in VMRuntime_newNonMovableArray() local 115 if (UNLIKELY(array_class == nullptr)) { in VMRuntime_newNonMovableArray() 120 array_class, in VMRuntime_newNonMovableArray() 122 array_class->GetComponentSizeShift(), in VMRuntime_newNonMovableArray() 140 ObjPtr<mirror::Class> array_class = runtime->GetClassLinker()->FindArrayClass(soa.Self(), in VMRuntime_newUnpaddedArray() local 142 if (UNLIKELY(array_class == nullptr)) { in VMRuntime_newUnpaddedArray() 148 array_class, in VMRuntime_newUnpaddedArray() 150 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 | common_throws.h | 56 ObjPtr<mirror::Class> array_class)
|
D | jni_internal_test.cc | 1286 jclass array_class = env_->FindClass("[Ljava/lang/String;"); in TEST_F() local 1287 ASSERT_NE(array_class, nullptr); in TEST_F() 1291 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F() 1296 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F() 1337 jclass array_class = env_->FindClass("[Ljava/lang/String;"); in TEST_F() local 1338 ASSERT_NE(array_class, nullptr); in TEST_F() 1343 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F()
|
D | common_throws.cc | 130 ObjPtr<mirror::Class> array_class) { in ThrowArrayStoreException() argument 134 mirror::Class::PrettyDescriptor(array_class).c_str()).c_str()); in ThrowArrayStoreException()
|
D | jni_internal.cc | 2023 ObjPtr<mirror::Class> array_class; in NewObjectArray() local 2033 array_class = class_linker->FindArrayClass(soa.Self(), &element_class); in NewObjectArray() 2034 if (UNLIKELY(array_class == nullptr)) { in NewObjectArray() 2041 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), array_class, length); in NewObjectArray()
|
D | class_linker_test.cc | 1060 mirror::Class* array_class = class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"); in TEST_F() local 1062 mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), array_class, 0); in TEST_F()
|
D | thread.cc | 2513 ObjPtr<mirror::Class> array_class = class_linker->GetClassRoot(ClassLinker::kObjectArrayClass); in Init() local 2518 mirror::ObjectArray<mirror::Object>::Alloc(hs.Self(), array_class, depth + 1))); in Init()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 401 Handle<mirror::Class> array_class, in ProcessAnnotationValue() argument 584 if (result_style == DexFile::kAllRaw || array_class == nullptr) { in ProcessAnnotationValue() 590 Handle<mirror::Class> component_type(hs.NewHandle(array_class->GetComponentType())); in ProcessAnnotationValue() 592 self, array_class.Get(), size, array_class->GetComponentSizeShift(), in ProcessAnnotationValue() 820 Handle<mirror::Class> array_class, in GetAnnotationValue() argument 834 array_class, in GetAnnotationValue() 839 array_class, in GetAnnotationValue()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 1442 ObjPtr<mirror::Class> array_class = ResolveVerifyAndClinit(dex::TypeIndex(type_idx), in DoFilledNewArray() local 1447 if (UNLIKELY(array_class == nullptr)) { in DoFilledNewArray() 1451 CHECK(array_class->IsArrayClass()); in DoFilledNewArray() 1452 ObjPtr<mirror::Class> component_class = array_class->GetComponentType(); in DoFilledNewArray() 1467 array_class, in DoFilledNewArray() 1469 array_class->GetComponentSizeShift(), in DoFilledNewArray()
|
D | unstarted_runtime.cc | 1694 ObjPtr<mirror::Class> array_class = in UnstartedJNIVMRuntimeNewUnpaddedArray() local 1696 DCHECK(array_class != nullptr); in UnstartedJNIVMRuntimeNewUnpaddedArray() 1699 array_class, in UnstartedJNIVMRuntimeNewUnpaddedArray() 1701 array_class->GetComponentSizeShift(), in UnstartedJNIVMRuntimeNewUnpaddedArray() 1822 ObjPtr<mirror::Class> array_class = class_linker->FindArrayClass(self, &element_class); in UnstartedJNIArrayCreateObjectArray() local 1823 if (UNLIKELY(array_class == nullptr)) { in UnstartedJNIArrayCreateObjectArray() 1827 DCHECK(array_class->IsObjectArrayClass()); in UnstartedJNIArrayCreateObjectArray() 1829 self, array_class, length, runtime->GetHeap()->GetCurrentAllocator()); in UnstartedJNIArrayCreateObjectArray()
|
/art/runtime/verifier/ |
D | reg_type.cc | 792 mirror::Class* array_class = class_linker->FindArrayClass(self, &common_elem); in ClassJoin() local 793 if (UNLIKELY(array_class == nullptr)) { in ClassJoin() 797 return array_class; in ClassJoin()
|