Home
last modified time | relevance | path

Searched refs:array_class (Results 1 – 17 of 17) sorted by relevance

/art/runtime/mirror/
Darray.cc45 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()
Darray-inl.h156 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 …]
Darray.h42 ObjPtr<Class> array_class,
170 static void SetArrayClass(ObjPtr<Class> array_class);
Demulated_stack_frame.cc172 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/
Djava_lang_reflect_Array.cc63 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()
Ddalvik_system_VMRuntime.cc93 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/
Dclass_linker-inl.h40 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()
Ddex_file_annotations.cc381 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()
Dcommon_throws.h56 ObjPtr<mirror::Class> array_class)
Djni_internal_test.cc1219 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()
Dcommon_throws.cc122 ObjPtr<mirror::Class> array_class) { in ThrowArrayStoreException() argument
126 mirror::Class::PrettyDescriptor(array_class).c_str()).c_str()); in ThrowArrayStoreException()
Djni_internal.cc2000 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()
Dclass_linker_test.cc1022 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()
Dthread.cc2455 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/
Dinterpreter_common.cc1179 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()
Dunstarted_runtime.cc1642 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/
Dreg_type.cc786 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()