Home
last modified time | relevance | path

Searched refs:element_class (Results 1 – 14 of 14) sorted by relevance

/art/runtime/native/
Djava_lang_reflect_Array.cc39 Handle<mirror::Class> element_class(hs.NewHandle(soa.Decode<mirror::Class>(javaElementClass))); in Array_createMultiArray() local
40 DCHECK(element_class->IsClass()); in Array_createMultiArray()
49 mirror::Array::CreateMultiArray(soa.Self(), element_class, dimensions_array); in Array_createMultiArray()
Ddalvik_system_VMRuntime.cc111 ObjPtr<mirror::Class> element_class = soa.Decode<mirror::Class>(javaElementClass); in VMRuntime_newNonMovableArray() local
112 if (UNLIKELY(element_class == nullptr)) { in VMRuntime_newNonMovableArray()
118 runtime->GetClassLinker()->FindArrayClass(soa.Self(), element_class); in VMRuntime_newNonMovableArray()
138 ObjPtr<mirror::Class> element_class = soa.Decode<mirror::Class>(javaElementClass); in VMRuntime_newUnpaddedArray() local
139 if (UNLIKELY(element_class == nullptr)) { in VMRuntime_newUnpaddedArray()
145 element_class); in VMRuntime_newUnpaddedArray()
/art/runtime/mirror/
Darray.cc80 Handle<Class> element_class, in CreateMultiArray() argument
102 hs.NewHandle(class_linker->FindArrayClass(self, element_class.Get()))); in CreateMultiArray()
Dobject_array-inl.h51 ObjPtr<Class> element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable() local
52 if (UNLIKELY(!object->InstanceOf(element_class))) { in CheckAssignable()
Darray.h56 Handle<Class> element_class,
/art/runtime/
Dclass_linker-inl.h43 ObjPtr<mirror::Class> element_class) { in FindArrayClass() argument
47 if (array_class != nullptr && array_class->GetComponentType() == element_class) { in FindArrayClass()
53 descriptor += element_class->GetDescriptor(&temp); in FindArrayClass()
55 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(element_class->GetClassLoader())); in FindArrayClass()
Dcommon_throws.h56 void ThrowArrayStoreException(ObjPtr<mirror::Class> element_class,
Dcommon_throws.cc127 void ThrowArrayStoreException(ObjPtr<mirror::Class> element_class, in ThrowArrayStoreException() argument
131 mirror::Class::PrettyDescriptor(element_class).c_str(), in ThrowArrayStoreException()
Dclass_loader_context.cc1046 const ObjPtr<mirror::Class> element_class = soa.Decode<mirror::Class>( in GetDexFilesFromDexElementsArray() local
1063 if (element_class == element->GetClass()) { in GetDexFilesFromDexElementsArray()
Dclass_linker.h206 ObjPtr<mirror::Class> FindArrayClass(Thread* self, ObjPtr<mirror::Class> element_class)
/art/runtime/jni/
Djni_internal_test.cc602 jclass element_class = env_->FindClass("java/lang/String"); in NewObjectArrayBadArguments() local
603 ASSERT_NE(element_class, nullptr); in NewObjectArrayBadArguments()
605 env_->NewObjectArray(-1, element_class, nullptr); in NewObjectArrayBadArguments()
608 env_->NewObjectArray(std::numeric_limits<jint>::min(), element_class, nullptr); in NewObjectArrayBadArguments()
1283 jclass element_class = env_->FindClass("java/lang/String"); in TEST_F() local
1284 ASSERT_NE(element_class, nullptr); in TEST_F()
1288 jobjectArray a = env_->NewObjectArray(0, element_class, nullptr); in TEST_F()
1293 a = env_->NewObjectArray(1, element_class, nullptr); in TEST_F()
1334 jclass element_class = env_->FindClass("java/lang/String"); in TEST_F() local
1335 ASSERT_NE(element_class, nullptr); in TEST_F()
[all …]
Djni_internal.cc2058 ObjPtr<mirror::Class> element_class = soa.Decode<mirror::Class>(element_jclass); in NewObjectArray() local
2059 if (UNLIKELY(element_class->IsPrimitive())) { in NewObjectArray()
2062 element_class->PrettyDescriptor().c_str()); in NewObjectArray()
2066 array_class = class_linker->FindArrayClass(soa.Self(), element_class); in NewObjectArray()
2078 ObjPtr<mirror::Class> element_class = result->GetClass()->GetComponentType(); in NewObjectArray() local
2079 if (UNLIKELY(!element_class->IsAssignableFrom(initial_object->GetClass()))) { in NewObjectArray()
2083 element_class->PrettyDescriptor().c_str()); in NewObjectArray()
Dcheck_jni.cc2517 static jobjectArray NewObjectArray(JNIEnv* env, jsize length, jclass element_class, in NewObjectArray() argument
2523 {{.E = env}, {.z = length}, {.c = element_class}, {.L = initial_element}}; in NewObjectArray()
2527 result.a = baseEnv(env)->NewObjectArray(env, length, element_class, initial_element); in NewObjectArray()
/art/runtime/interpreter/
Dunstarted_runtime.cc1686 ObjPtr<mirror::Object> element_class = reinterpret_cast32<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray() local
1687 if (element_class == nullptr) { in UnstartedJNIVMRuntimeNewUnpaddedArray()
1693 runtime->GetClassLinker()->FindArrayClass(self, element_class->AsClass()); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1819 ObjPtr<mirror::Class> element_class = reinterpret_cast<mirror::Class*>(args[0])->AsClass(); in UnstartedJNIArrayCreateObjectArray() local
1822 ObjPtr<mirror::Class> array_class = class_linker->FindArrayClass(self, element_class); in UnstartedJNIArrayCreateObjectArray()