/art/runtime/native/ |
D | java_lang_reflect_Array.cc | 39 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()
|
D | dalvik_system_VMRuntime.cc | 111 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/ |
D | array.cc | 80 Handle<Class> element_class, in CreateMultiArray() argument 102 hs.NewHandle(class_linker->FindArrayClass(self, element_class.Get()))); in CreateMultiArray()
|
D | object_array-inl.h | 51 ObjPtr<Class> element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable() local 52 if (UNLIKELY(!object->InstanceOf(element_class))) { in CheckAssignable()
|
D | array.h | 56 Handle<Class> element_class,
|
/art/runtime/ |
D | class_linker-inl.h | 43 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()
|
D | common_throws.h | 56 void ThrowArrayStoreException(ObjPtr<mirror::Class> element_class,
|
D | common_throws.cc | 127 void ThrowArrayStoreException(ObjPtr<mirror::Class> element_class, in ThrowArrayStoreException() argument 131 mirror::Class::PrettyDescriptor(element_class).c_str(), in ThrowArrayStoreException()
|
D | class_loader_context.cc | 1046 const ObjPtr<mirror::Class> element_class = soa.Decode<mirror::Class>( in GetDexFilesFromDexElementsArray() local 1063 if (element_class == element->GetClass()) { in GetDexFilesFromDexElementsArray()
|
D | class_linker.h | 206 ObjPtr<mirror::Class> FindArrayClass(Thread* self, ObjPtr<mirror::Class> element_class)
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 602 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 …]
|
D | jni_internal.cc | 2058 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()
|
D | check_jni.cc | 2517 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/ |
D | unstarted_runtime.cc | 1686 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()
|