/art/runtime/mirror/ |
D | array-alloc-inl.h | 120 ObjPtr<Class> array_class, in Alloc() argument 125 DCHECK(array_class != nullptr); in Alloc() 126 DCHECK(array_class->IsArrayClass()); in Alloc() 127 DCHECK_EQ(array_class->GetComponentSizeShift(), component_size_shift); in Alloc() 128 DCHECK_EQ(array_class->GetComponentSize(), (1U << component_size_shift)); in Alloc() 137 array_class->PrettyDescriptor().c_str(), in Alloc() 148 self, array_class, size, allocator_type, visitor)); in Alloc() 155 self, array_class, size, allocator_type, visitor)); in Alloc() 158 array_class = result->GetClass(); // In case the array class moved. in Alloc() 159 CHECK_EQ(array_class->GetComponentSize(), 1U << component_size_shift); in Alloc()
|
D | array.cc | 48 Handle<Class> array_class, in RecursiveCreateMultiArray() argument 54 Handle<mirror::Class> h_component_type(hs.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray() 58 Array::Alloc(self, array_class.Get(), array_length, component_size_shift, allocator_type))); in RecursiveCreateMultiArray() 101 MutableHandle<mirror::Class> array_class( in CreateMultiArray() local 103 if (UNLIKELY(array_class == nullptr)) { in CreateMultiArray() 108 array_class.Assign(class_linker->FindArrayClass(self, array_class.Get())); in CreateMultiArray() 109 if (UNLIKELY(array_class == nullptr)) { in CreateMultiArray() 115 ObjPtr<Array> new_array = RecursiveCreateMultiArray(self, array_class, 0, dimensions); in CreateMultiArray()
|
D | emulated_stack_frame.cc | 173 ObjPtr<mirror::Class> array_class(GetClassRoot<mirror::ObjectArray<mirror::Object>>()); in CreateFromShadowFrameAndArgs() local 176 mirror::ObjectArray<mirror::Object>::Alloc(self, array_class, refs_size))); in CreateFromShadowFrameAndArgs()
|
D | array.h | 48 ObjPtr<Class> array_class,
|
D | var_handle_test.cc | 67 Handle<Class> array_class, in CreateArrayElementVarHandle() argument 77 Handle<Class> var_type = hs.NewHandle(array_class->GetComponentType()); in CreateArrayElementVarHandle() 79 InitializeVarHandle(vh.Get(), var_type, array_class, index_type, access_modes_bit_mask); in CreateArrayElementVarHandle()
|
/art/runtime/native/ |
D | java_lang_reflect_Array.cc | 62 ObjPtr<mirror::Class> array_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 | 117 ObjPtr<mirror::Class> array_class = in VMRuntime_newNonMovableArray() local 119 if (UNLIKELY(array_class == nullptr)) { in VMRuntime_newNonMovableArray() 124 array_class, in VMRuntime_newNonMovableArray() 126 array_class->GetComponentSizeShift(), in VMRuntime_newNonMovableArray() 144 ObjPtr<mirror::Class> array_class = runtime->GetClassLinker()->FindArrayClass(soa.Self(), in VMRuntime_newUnpaddedArray() local 146 if (UNLIKELY(array_class == nullptr)) { in VMRuntime_newUnpaddedArray() 153 array_class, in VMRuntime_newUnpaddedArray() 155 array_class->GetComponentSizeShift(), in VMRuntime_newUnpaddedArray()
|
/art/runtime/ |
D | class_linker-inl.h | 46 ObjPtr<mirror::Class> array_class = find_array_class_cache_[i].Read(); in FindArrayClass() local 47 if (array_class != nullptr && array_class->GetComponentType() == element_class) { in FindArrayClass() 48 return array_class; in FindArrayClass() 56 ObjPtr<mirror::Class> array_class = FindClass(self, descriptor.c_str(), class_loader); in FindArrayClass() local 57 if (array_class != nullptr) { in FindArrayClass() 60 find_array_class_cache_[victim_index] = GcRoot<mirror::Class>(array_class); in FindArrayClass() 66 return array_class; in FindArrayClass()
|
D | common_throws.h | 57 ObjPtr<mirror::Class> array_class)
|
D | common_throws.cc | 128 ObjPtr<mirror::Class> array_class) { in ThrowArrayStoreException() argument 132 mirror::Class::PrettyDescriptor(array_class).c_str()).c_str()); in ThrowArrayStoreException()
|
D | class_linker.cc | 2666 ObjPtr<mirror::Class> array_class = AllocClass</* kMovable= */ false>( in AllocPrimitiveArrayClass() local 2670 array_class->SetComponentType(component_type); in AllocPrimitiveArrayClass() 2671 SetClassRoot(array_root, array_class); in AllocPrimitiveArrayClass() 2674 void ClassLinker::FinishArrayClassSetup(ObjPtr<mirror::Class> array_class) { in FinishArrayClassSetup() argument 2676 array_class->SetSuperClass(java_lang_Object); in FinishArrayClassSetup() 2677 array_class->SetVTable(java_lang_Object->GetVTable()); in FinishArrayClassSetup() 2678 array_class->SetPrimitiveType(Primitive::kPrimNot); in FinishArrayClassSetup() 2679 ObjPtr<mirror::Class> component_type = array_class->GetComponentType(); in FinishArrayClassSetup() 2680 array_class->SetClassFlags(component_type->IsPrimitive() in FinishArrayClassSetup() 2683 array_class->SetClassLoader(component_type->GetClassLoader()); in FinishArrayClassSetup() [all …]
|
D | class_linker_test.cc | 1080 ObjPtr<mirror::Class> array_class = in TEST_F() local 1083 mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), array_class, 0); in TEST_F()
|
D | class_linker.h | 919 void FinishArrayClassSetup(ObjPtr<mirror::Class> array_class)
|
D | thread.cc | 2721 ObjPtr<mirror::Class> array_class = in Init() local 2727 mirror::ObjectArray<mirror::Object>::Alloc(hs.Self(), array_class, depth + 1))); in Init()
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 536 ObjPtr<mirror::Class> array_class = in DoFilledNewArray() local 542 if (UNLIKELY(array_class == nullptr)) { in DoFilledNewArray() 546 DCHECK(array_class->IsArrayClass()); in DoFilledNewArray() 547 ObjPtr<mirror::Class> component_class = array_class->GetComponentType(); in DoFilledNewArray() 563 array_class, in DoFilledNewArray() 565 array_class->GetComponentSizeShift(), in DoFilledNewArray()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 418 Handle<mirror::Class> array_class, in ProcessAnnotationValue() argument 586 if (result_style == DexFile::kAllRaw || array_class == nullptr) { in ProcessAnnotationValue() 592 Handle<mirror::Class> component_type(hs.NewHandle(array_class->GetComponentType())); in ProcessAnnotationValue() 594 self, array_class.Get(), size, array_class->GetComponentSizeShift(), in ProcessAnnotationValue() 814 Handle<mirror::Class> array_class, in GetAnnotationValue() argument 828 array_class, in GetAnnotationValue() 833 array_class, in GetAnnotationValue()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 1458 ObjPtr<mirror::Class> array_class = ResolveVerifyAndClinit(dex::TypeIndex(type_idx), in DoFilledNewArray() local 1463 if (UNLIKELY(array_class == nullptr)) { in DoFilledNewArray() 1467 CHECK(array_class->IsArrayClass()); in DoFilledNewArray() 1468 ObjPtr<mirror::Class> component_class = array_class->GetComponentType(); in DoFilledNewArray() 1483 array_class, in DoFilledNewArray() 1485 array_class->GetComponentSizeShift(), in DoFilledNewArray()
|
D | unstarted_runtime.cc | 1692 ObjPtr<mirror::Class> array_class = in UnstartedJNIVMRuntimeNewUnpaddedArray() local 1694 DCHECK(array_class != nullptr); in UnstartedJNIVMRuntimeNewUnpaddedArray() 1697 self, array_class, length, array_class->GetComponentSizeShift(), allocator)); 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 | 695 ObjPtr<mirror::Class> array_class = class_linker->FindArrayClass(self, common_elem); in ArrayClassJoin() local 696 if (UNLIKELY(array_class == nullptr)) { in ArrayClassJoin() 700 return array_class; in ArrayClassJoin()
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 1285 jclass array_class = env_->FindClass("[Ljava/lang/String;"); in TEST_F() local 1286 ASSERT_NE(array_class, nullptr); in TEST_F() 1290 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F() 1295 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F() 1336 jclass array_class = env_->FindClass("[Ljava/lang/String;"); in TEST_F() local 1337 ASSERT_NE(array_class, nullptr); in TEST_F() 1342 EXPECT_TRUE(env_->IsInstanceOf(a, array_class)); in TEST_F()
|
D | jni_internal.cc | 2056 ObjPtr<mirror::Class> array_class; in NewObjectArray() local 2066 array_class = class_linker->FindArrayClass(soa.Self(), element_class); in NewObjectArray() 2067 if (UNLIKELY(array_class == nullptr)) { in NewObjectArray() 2074 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), array_class, length); in NewObjectArray()
|