Lines Matching refs:mirror
68 static void UnstartedRuntimeFindClass(Thread* self, Handle<mirror::String> className, in UnstartedRuntimeFindClass()
69 Handle<mirror::ClassLoader> class_loader, JValue* result, in UnstartedRuntimeFindClass()
77 mirror::Class* found = class_linker->FindClass(self, descriptor.c_str(), class_loader); in UnstartedRuntimeFindClass()
87 Handle<mirror::Class> h_class(hs.NewHandle(found)); in UnstartedRuntimeFindClass()
113 static mirror::String* GetClassName(Thread* self, ShadowFrame* shadow_frame, size_t arg_offset) in GetClassName()
115 mirror::Object* param = shadow_frame->GetVRegReference(arg_offset); in GetClassName()
125 mirror::String* class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassForName()
130 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedClassForName()
131 UnstartedRuntimeFindClass(self, h_class_name, NullHandle<mirror::ClassLoader>(), result, in UnstartedClassForName()
138 mirror::String* class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassForNameLong()
143 mirror::ClassLoader* class_loader = in UnstartedClassForNameLong()
144 down_cast<mirror::ClassLoader*>(shadow_frame->GetVRegReference(arg_offset + 2)); in UnstartedClassForNameLong()
146 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedClassForNameLong()
147 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(class_loader)); in UnstartedClassForNameLong()
155 mirror::String* class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassClassForName()
160 mirror::ClassLoader* class_loader = in UnstartedClassClassForName()
161 down_cast<mirror::ClassLoader*>(shadow_frame->GetVRegReference(arg_offset + 2)); in UnstartedClassClassForName()
163 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedClassClassForName()
164 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(class_loader)); in UnstartedClassClassForName()
173 mirror::Object* param = shadow_frame->GetVRegReference(arg_offset); in UnstartedClassNewInstance()
178 mirror::Class* klass = param->AsClass(); in UnstartedClassNewInstance()
179 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in UnstartedClassNewInstance()
205 Handle<mirror::Object> h_obj(hs.NewHandle(klass->AllocObject(self))); in UnstartedClassNewInstance()
229 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredField()
230 mirror::String* name2 = shadow_frame->GetVRegReference(arg_offset + 1)->AsString(); in UnstartedClassGetDeclaredField()
257 result->SetL(mirror::Field::CreateFromArtField<true>(self, found, true)); in UnstartedClassGetDeclaredField()
259 result->SetL(mirror::Field::CreateFromArtField<false>(self, found, true)); in UnstartedClassGetDeclaredField()
265 mirror::String* class_name = shadow_frame->GetVRegReference(arg_offset + 1)->AsString(); in UnstartedVmClassLoaderFindLoadedClass()
266 mirror::ClassLoader* class_loader = in UnstartedVmClassLoaderFindLoadedClass()
267 down_cast<mirror::ClassLoader*>(shadow_frame->GetVRegReference(arg_offset)); in UnstartedVmClassLoaderFindLoadedClass()
269 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedVmClassLoaderFindLoadedClass()
270 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(class_loader)); in UnstartedVmClassLoaderFindLoadedClass()
294 mirror::Array* src_array, int32_t src_pos, in PrimitiveArrayCopy()
295 mirror::Array* dst_array, int32_t dst_pos, in PrimitiveArrayCopy()
304 mirror::PrimitiveArray<T>* src = down_cast<mirror::PrimitiveArray<T>*>(src_array); in PrimitiveArrayCopy()
305 mirror::PrimitiveArray<T>* dst = down_cast<mirror::PrimitiveArray<T>*>(dst_array); in PrimitiveArrayCopy()
324 mirror::Array* src_array = shadow_frame->GetVRegReference(arg_offset)->AsArray(); in UnstartedSystemArraycopy()
325 mirror::Array* dst_array = shadow_frame->GetVRegReference(arg_offset + 2)->AsArray(); in UnstartedSystemArraycopy()
350 mirror::Class* src_type = shadow_frame->GetVRegReference(arg_offset)->GetClass()-> in UnstartedSystemArraycopy()
355 mirror::Class* trg_type = shadow_frame->GetVRegReference(arg_offset + 2)->GetClass()-> in UnstartedSystemArraycopy()
373 mirror::ObjectArray<mirror::Object>* src = src_array->AsObjectArray<mirror::Object>(); in UnstartedSystemArraycopy()
374 mirror::ObjectArray<mirror::Object>* dst = dst_array->AsObjectArray<mirror::Object>(); in UnstartedSystemArraycopy()
422 result->SetL(mirror::CharArray::Alloc(self, 11)); in UnstartedThreadLocalGet()
436 Handle<mirror::Class> h_real_to_string_class(hs.NewHandle( in UnstartedThreadLocalGet()
438 Handle<mirror::Object> h_real_to_string_obj(hs.NewHandle( in UnstartedThreadLocalGet()
445 h_real_to_string_class->DumpClass(LOG(FATAL), mirror::Class::kDumpClassFullDetail); in UnstartedThreadLocalGet()
482 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset); in UnstartedObjectHashCode()
492 static mirror::Object* GetDexFromDexCache(Thread* self, mirror::DexCache* dex_cache) in GetDexFromDexCache()
524 mirror::Object* src = shadow_frame->GetVRegReference(arg_offset); in UnstartedDexCacheGetDexNative()
527 mirror::Object* dex = GetDexFromDexCache(self, reinterpret_cast<mirror::DexCache*>(src)); in UnstartedDexCacheGetDexNative()
606 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset + 2); in UnstartedMemoryPeekArray()
611 mirror::Array* array = obj->AsArray(); in UnstartedMemoryPeekArray()
625 mirror::ByteArray* byte_array = array->AsByteArray(); in UnstartedMemoryPeekArray()
663 mirror::String* string_data; in UnstartedSecurityGetSecurityPropertiesReader()
695 string_data = mirror::String::AllocFromModifiedUtf8(self, tmp.get()); in UnstartedSecurityGetSecurityPropertiesReader()
706 Handle<mirror::String> h_string(hs.NewHandle(string_data)); in UnstartedSecurityGetSecurityPropertiesReader()
708 Handle<mirror::Class> h_class(hs.NewHandle( in UnstartedSecurityGetSecurityPropertiesReader()
711 NullHandle<mirror::ClassLoader>()))); in UnstartedSecurityGetSecurityPropertiesReader()
722 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in UnstartedSecurityGetSecurityPropertiesReader()
754 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringGetCharsNoCheck()
762 Handle<mirror::CharArray> h_char_array( in UnstartedStringGetCharsNoCheck()
773 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringCharAt()
786 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringSetCharAt()
801 Handle<mirror::CharArray> h_char_array( in UnstartedStringFactoryNewStringFromChars()
805 …result->SetL(mirror::String::AllocFromCharArray<true>(self, char_count, h_char_array, offset, allo… in UnstartedStringFactoryNewStringFromChars()
811 mirror::String* to_copy = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringFactoryNewStringFromString()
817 Handle<mirror::String> h_string(hs.NewHandle(to_copy)); in UnstartedStringFactoryNewStringFromString()
820 result->SetL(mirror::String::AllocFromString<true>(self, h_string->GetLength(), h_string, 0, in UnstartedStringFactoryNewStringFromString()
831 Handle<mirror::String> h_string( in UnstartedStringFastSubstring()
837 result->SetL(mirror::String::AllocFromString<true>(self, length, h_string, start, allocator)); in UnstartedStringFastSubstring()
844 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringToCharArray()
853 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIVMRuntimeNewUnpaddedArray()
857 mirror::Class* element_class = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
859 mirror::Class* array_class = runtime->GetClassLinker()->FindArrayClass(self, &element_class); in UnstartedJNIVMRuntimeNewUnpaddedArray()
862 result->SetL(mirror::Array::Alloc<true, true>(self, array_class, length, in UnstartedJNIVMRuntimeNewUnpaddedArray()
868 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args ATTRIBUTE_UNUSED, JValue* result) { in UnstartedJNIVMStackGetCallingClassLoader()
873 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIVMStackGetStackClass2()
884 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIMathLog()
892 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIMathExp()
899 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIClassGetNameNative()
902 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()
907 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIFloatFloatToRawIntBits()
913 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIFloatIntBitsToFloat()
918 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIObjectInternalClone()
924 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIObjectNotifyAll()
930 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, uint32_t* args, in UnstartedJNIStringCompareTo()
932 mirror::String* rhs = reinterpret_cast<mirror::Object*>(args[0])->AsString(); in UnstartedJNIStringCompareTo()
940 Thread* self ATTRIBUTE_UNUSED, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIStringIntern()
946 Thread* self ATTRIBUTE_UNUSED, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIStringFastIndexOf()
952 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIArrayCreateMultiArray()
955 auto h_class(hs.NewHandle(reinterpret_cast<mirror::Class*>(args[0])->AsClass())); in UnstartedJNIArrayCreateMultiArray()
956 auto h_dimensions(hs.NewHandle(reinterpret_cast<mirror::IntArray*>(args[1])->AsIntArray())); in UnstartedJNIArrayCreateMultiArray()
957 result->SetL(mirror::Array::CreateMultiArray(self, h_class, h_dimensions)); in UnstartedJNIArrayCreateMultiArray()
961 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIArrayCreateObjectArray()
968 mirror::Class* element_class = reinterpret_cast<mirror::Class*>(args[0])->AsClass(); in UnstartedJNIArrayCreateObjectArray()
971 mirror::Class* array_class = class_linker->FindArrayClass(self, &element_class); in UnstartedJNIArrayCreateObjectArray()
977 mirror::Array* new_array = mirror::ObjectArray<mirror::Object*>::Alloc( in UnstartedJNIArrayCreateObjectArray()
983 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIThrowableNativeFillInStackTrace()
987 result->SetL(soa.Decode<mirror::Object*>(self->CreateInternalStackTrace<true>(soa))); in UnstartedJNIThrowableNativeFillInStackTrace()
989 result->SetL(soa.Decode<mirror::Object*>(self->CreateInternalStackTrace<false>(soa))); in UnstartedJNIThrowableNativeFillInStackTrace()
995 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNISystemIdentityHashCode()
996 mirror::Object* obj = reinterpret_cast<mirror::Object*>(args[0]); in UnstartedJNISystemIdentityHashCode()
1002 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args ATTRIBUTE_UNUSED, JValue* result) { in UnstartedJNIByteOrderIsLittleEndian()
1008 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIUnsafeCompareAndSwapInt()
1009 mirror::Object* obj = reinterpret_cast<mirror::Object*>(args[0]); in UnstartedJNIUnsafeCompareAndSwapInt()
1026 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result ATTRIBUTE_UNUSED) { in UnstartedJNIUnsafePutObject()
1027 mirror::Object* obj = reinterpret_cast<mirror::Object*>(args[0]); in UnstartedJNIUnsafePutObject()
1029 mirror::Object* newValue = reinterpret_cast<mirror::Object*>(args[3]); in UnstartedJNIUnsafePutObject()
1039 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1040 mirror::Class* component = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1042 result->SetI(mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value()); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1047 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
1048 mirror::Class* component = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
1056 typedef void (*JNIHandler)(Thread* self, ArtMethod* method, mirror::Object* receiver,
1111 void UnstartedRuntime::Jni(Thread* self, ArtMethod* method, mirror::Object* receiver, in Jni()