• Home
  • Raw
  • Download

Lines Matching refs:mirror

114 static void UnstartedRuntimeFindClass(Thread* self, Handle<mirror::String> className,  in UnstartedRuntimeFindClass()
115 Handle<mirror::ClassLoader> class_loader, JValue* result, in UnstartedRuntimeFindClass()
123 mirror::Class* found = class_linker->FindClass(self, descriptor.c_str(), class_loader); in UnstartedRuntimeFindClass()
133 Handle<mirror::Class> h_class(hs.NewHandle(found)); in UnstartedRuntimeFindClass()
159 static mirror::String* GetClassName(Thread* self, ShadowFrame* shadow_frame, size_t arg_offset) in GetClassName()
161 mirror::Object* param = shadow_frame->GetVRegReference(arg_offset); in GetClassName()
171 mirror::String* class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassForName()
176 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedClassForName()
179 ScopedNullHandle<mirror::ClassLoader>(), in UnstartedClassForName()
189 mirror::String* class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassForNameLong()
194 mirror::ClassLoader* class_loader = in UnstartedClassForNameLong()
195 down_cast<mirror::ClassLoader*>(shadow_frame->GetVRegReference(arg_offset + 2)); in UnstartedClassForNameLong()
197 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedClassForNameLong()
198 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(class_loader)); in UnstartedClassForNameLong()
206 mirror::String* class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassClassForName()
211 mirror::ClassLoader* class_loader = in UnstartedClassClassForName()
212 down_cast<mirror::ClassLoader*>(shadow_frame->GetVRegReference(arg_offset + 2)); in UnstartedClassClassForName()
214 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedClassClassForName()
215 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(class_loader)); in UnstartedClassClassForName()
224 mirror::Object* param = shadow_frame->GetVRegReference(arg_offset); in UnstartedClassNewInstance()
229 mirror::Class* klass = param->AsClass(); in UnstartedClassNewInstance()
230 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in UnstartedClassNewInstance()
256 Handle<mirror::Object> h_obj(hs.NewHandle(klass->AllocObject(self))); in UnstartedClassNewInstance()
280 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredField()
281 mirror::String* name2 = shadow_frame->GetVRegReference(arg_offset + 1)->AsString(); in UnstartedClassGetDeclaredField()
304 result->SetL(mirror::Field::CreateFromArtField<true>(self, found, true)); in UnstartedClassGetDeclaredField()
306 result->SetL(mirror::Field::CreateFromArtField<false>(self, found, true)); in UnstartedClassGetDeclaredField()
314 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredMethod()
319 mirror::String* name = shadow_frame->GetVRegReference(arg_offset + 1)->AsString(); in UnstartedClassGetDeclaredMethod()
320 mirror::ObjectArray<mirror::Class>* args = in UnstartedClassGetDeclaredMethod()
321 shadow_frame->GetVRegReference(arg_offset + 2)->AsObjectArray<mirror::Class>(); in UnstartedClassGetDeclaredMethod()
323 result->SetL(mirror::Class::GetDeclaredMethodInternal<true>(self, klass, name, args)); in UnstartedClassGetDeclaredMethod()
325 result->SetL(mirror::Class::GetDeclaredMethodInternal<false>(self, klass, name, args)); in UnstartedClassGetDeclaredMethod()
332 mirror::Class* klass = shadow_frame->GetVRegReference(arg_offset)->AsClass(); in UnstartedClassGetDeclaredConstructor()
337 mirror::ObjectArray<mirror::Class>* args = in UnstartedClassGetDeclaredConstructor()
338 shadow_frame->GetVRegReference(arg_offset + 1)->AsObjectArray<mirror::Class>(); in UnstartedClassGetDeclaredConstructor()
340 result->SetL(mirror::Class::GetDeclaredConstructorInternal<true>(self, klass, args)); in UnstartedClassGetDeclaredConstructor()
342 result->SetL(mirror::Class::GetDeclaredConstructorInternal<false>(self, klass, args)); in UnstartedClassGetDeclaredConstructor()
349 Handle<mirror::Class> klass(hs.NewHandle(shadow_frame->GetVRegReference(arg_offset)->AsClass())); in UnstartedClassGetEnclosingClass()
359 Handle<mirror::Class> klass(hs.NewHandle( in UnstartedClassGetInnerClassFlags()
360 reinterpret_cast<mirror::Class*>(shadow_frame->GetVRegReference(arg_offset)))); in UnstartedClassGetInnerClassFlags()
362 result->SetI(mirror::Class::GetInnerClassFlags(klass, default_value)); in UnstartedClassGetInnerClassFlags()
394 mirror::Object* resource_obj = shadow_frame->GetVRegReference(arg_offset + 1); in GetResourceAsStream()
400 mirror::String* resource_name = resource_obj->AsString(); in GetResourceAsStream()
449 Handle<mirror::ByteArray> h_array(hs.NewHandle(mirror::ByteArray::Alloc(self, map_size))); in GetResourceAsStream()
460 Handle<mirror::Class> h_class(hs.NewHandle( in GetResourceAsStream()
463 ScopedNullHandle<mirror::ClassLoader>()))); in GetResourceAsStream()
473 Handle<mirror::Object> h_obj(hs.NewHandle(h_class->AllocObject(self))); in GetResourceAsStream()
502 mirror::Object* this_obj = shadow_frame->GetVRegReference(arg_offset); in UnstartedClassLoaderGetResourceAsStream()
507 Handle<mirror::Class> this_classloader_class(hs.NewHandle(this_obj->GetClass())); in UnstartedClassLoaderGetResourceAsStream()
523 mirror::String* class_name = shadow_frame->GetVRegReference(arg_offset + 1)->AsString(); in UnstartedVmClassLoaderFindLoadedClass()
524 mirror::ClassLoader* class_loader = in UnstartedVmClassLoaderFindLoadedClass()
525 down_cast<mirror::ClassLoader*>(shadow_frame->GetVRegReference(arg_offset)); in UnstartedVmClassLoaderFindLoadedClass()
527 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedVmClassLoaderFindLoadedClass()
528 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(class_loader)); in UnstartedVmClassLoaderFindLoadedClass()
552 mirror::Array* src_array, int32_t src_pos, in PrimitiveArrayCopy()
553 mirror::Array* dst_array, int32_t dst_pos, in PrimitiveArrayCopy()
562 mirror::PrimitiveArray<T>* src = down_cast<mirror::PrimitiveArray<T>*>(src_array); in PrimitiveArrayCopy()
563 mirror::PrimitiveArray<T>* dst = down_cast<mirror::PrimitiveArray<T>*>(dst_array); in PrimitiveArrayCopy()
583 mirror::Object* src_obj = shadow_frame->GetVRegReference(arg_offset); in UnstartedSystemArraycopy()
584 mirror::Object* dst_obj = shadow_frame->GetVRegReference(arg_offset + 2); in UnstartedSystemArraycopy()
600 mirror::Array* src_array = src_obj->AsArray(); in UnstartedSystemArraycopy()
601 mirror::Array* dst_array = dst_obj->AsArray(); in UnstartedSystemArraycopy()
615 mirror::Class* src_type = shadow_frame->GetVRegReference(arg_offset)->GetClass()-> in UnstartedSystemArraycopy()
620 mirror::Class* trg_type = shadow_frame->GetVRegReference(arg_offset + 2)->GetClass()-> in UnstartedSystemArraycopy()
629 mirror::ObjectArray<mirror::Object>* src = src_array->AsObjectArray<mirror::Object>(); in UnstartedSystemArraycopy()
630 mirror::ObjectArray<mirror::Object>* dst = dst_array->AsObjectArray<mirror::Object>(); in UnstartedSystemArraycopy()
701 Handle<mirror::String> h_key( in GetSystemProperty()
702 hs.NewHandle(reinterpret_cast<mirror::String*>(shadow_frame->GetVRegReference(arg_offset)))); in GetSystemProperty()
714 Handle<mirror::Class> h_props_class(hs.NewHandle( in GetSystemProperty()
717 ScopedNullHandle<mirror::ClassLoader>()))); in GetSystemProperty()
737 Handle<mirror::ObjectArray<mirror::ObjectArray<mirror::String>>> h_2string_array( in GetSystemProperty()
738 hs.NewHandle(reinterpret_cast<mirror::ObjectArray<mirror::ObjectArray<mirror::String>>*>( in GetSystemProperty()
748 MutableHandle<mirror::ObjectArray<mirror::String>> h_string_array( in GetSystemProperty()
749 hs.NewHandle<mirror::ObjectArray<mirror::String>>(nullptr)); in GetSystemProperty()
794 result->SetL(mirror::CharArray::Alloc(self, 26)); in UnstartedThreadLocalGet()
800 Handle<mirror::Class> h_real_to_string_class(hs.NewHandle( in UnstartedThreadLocalGet()
802 Handle<mirror::Object> h_real_to_string_obj(hs.NewHandle( in UnstartedThreadLocalGet()
809 h_real_to_string_class->DumpClass(LOG(FATAL), mirror::Class::kDumpClassFullDetail); in UnstartedThreadLocalGet()
855 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset); in UnstartedObjectHashCode()
865 static mirror::Object* GetDexFromDexCache(Thread* self, mirror::DexCache* dex_cache) in GetDexFromDexCache()
897 mirror::Object* src = shadow_frame->GetVRegReference(arg_offset); in UnstartedDexCacheGetDexNative()
900 mirror::Object* dex = GetDexFromDexCache(self, reinterpret_cast<mirror::DexCache*>(src)); in UnstartedDexCacheGetDexNative()
979 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset + 2); in UnstartedMemoryPeekArray()
984 mirror::Array* array = obj->AsArray(); in UnstartedMemoryPeekArray()
998 mirror::ByteArray* byte_array = array->AsByteArray(); in UnstartedMemoryPeekArray()
1035 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringGetCharsNoCheck()
1043 Handle<mirror::CharArray> h_char_array( in UnstartedStringGetCharsNoCheck()
1054 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringCharAt()
1067 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringSetCharAt()
1082 Handle<mirror::CharArray> h_char_array( in UnstartedStringFactoryNewStringFromChars()
1086 …result->SetL(mirror::String::AllocFromCharArray<true>(self, char_count, h_char_array, offset, allo… in UnstartedStringFactoryNewStringFromChars()
1092 mirror::String* to_copy = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringFactoryNewStringFromString()
1098 Handle<mirror::String> h_string(hs.NewHandle(to_copy)); in UnstartedStringFactoryNewStringFromString()
1101 result->SetL(mirror::String::AllocFromString<true>(self, h_string->GetLength(), h_string, 0, in UnstartedStringFactoryNewStringFromString()
1112 Handle<mirror::String> h_string( in UnstartedStringFastSubstring()
1118 result->SetL(mirror::String::AllocFromString<true>(self, length, h_string, start, allocator)); in UnstartedStringFastSubstring()
1125 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); in UnstartedStringToCharArray()
1136 mirror::Reference* const ref = down_cast<mirror::Reference*>( in UnstartedReferenceGetReferent()
1142 mirror::Object* const referent = in UnstartedReferenceGetReferent()
1175 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset + 1); in UnstartedUnsafeCompareAndSwapLong()
1188 mirror::HeapReference<mirror::Object>* field_addr = in UnstartedUnsafeCompareAndSwapLong()
1189 reinterpret_cast<mirror::HeapReference<mirror::Object>*>( in UnstartedUnsafeCompareAndSwapLong()
1191 ReadBarrier::Barrier<mirror::Object, kWithReadBarrier, /*kAlwaysUpdateField*/true>( in UnstartedUnsafeCompareAndSwapLong()
1213 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset + 1); in UnstartedUnsafeCompareAndSwapObject()
1219 mirror::Object* expected_value = shadow_frame->GetVRegReference(arg_offset + 4); in UnstartedUnsafeCompareAndSwapObject()
1220 mirror::Object* newValue = shadow_frame->GetVRegReference(arg_offset + 5); in UnstartedUnsafeCompareAndSwapObject()
1226 mirror::HeapReference<mirror::Object>* field_addr = in UnstartedUnsafeCompareAndSwapObject()
1227 reinterpret_cast<mirror::HeapReference<mirror::Object>*>( in UnstartedUnsafeCompareAndSwapObject()
1229 ReadBarrier::Barrier<mirror::Object, kWithReadBarrier, /*kAlwaysUpdateField*/true>( in UnstartedUnsafeCompareAndSwapObject()
1252 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset + 1); in UnstartedUnsafeGetObjectVolatile()
1258 mirror::Object* value = obj->GetFieldObjectVolatile<mirror::Object>(MemberOffset(offset)); in UnstartedUnsafeGetObjectVolatile()
1266 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset + 1); in UnstartedUnsafePutObjectVolatile()
1272 mirror::Object* value = shadow_frame->GetVRegReference(arg_offset + 4); in UnstartedUnsafePutObjectVolatile()
1284 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset + 1); in UnstartedUnsafePutOrderedObject()
1290 mirror::Object* newValue = shadow_frame->GetVRegReference(arg_offset + 4); in UnstartedUnsafePutOrderedObject()
1304 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset); in UnstartedIntegerParseInt()
1348 mirror::Object* obj = shadow_frame->GetVRegReference(arg_offset); in UnstartedLongParseLong()
1392 mirror::Object* java_method_obj = shadow_frame->GetVRegReference(arg_offset); in UnstartedMethodInvoke()
1396 mirror::Object* java_receiver_obj = shadow_frame->GetVRegReference(arg_offset + 1); in UnstartedMethodInvoke()
1400 mirror::Object* java_args_obj = shadow_frame->GetVRegReference(arg_offset + 2); in UnstartedMethodInvoke()
1418 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIVMRuntimeNewUnpaddedArray()
1422 mirror::Class* element_class = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1424 mirror::Class* array_class = runtime->GetClassLinker()->FindArrayClass(self, &element_class); in UnstartedJNIVMRuntimeNewUnpaddedArray()
1427 result->SetL(mirror::Array::Alloc<true, true>(self, array_class, length, in UnstartedJNIVMRuntimeNewUnpaddedArray()
1433 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args ATTRIBUTE_UNUSED, JValue* result) { in UnstartedJNIVMStackGetCallingClassLoader()
1438 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIVMStackGetStackClass2()
1449 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIMathLog()
1457 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIMathExp()
1466 mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIAtomicLongVMSupportsCS8()
1475 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIClassGetNameNative()
1478 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedJNIClassGetNameNative()
1483 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIDoubleLongBitsToDouble()
1490 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIFloatFloatToRawIntBits()
1496 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIFloatIntBitsToFloat()
1501 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIObjectInternalClone()
1507 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIObjectNotifyAll()
1513 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, uint32_t* args, in UnstartedJNIStringCompareTo()
1515 mirror::String* rhs = reinterpret_cast<mirror::Object*>(args[0])->AsString(); in UnstartedJNIStringCompareTo()
1523 Thread* self ATTRIBUTE_UNUSED, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIStringIntern()
1529 Thread* self ATTRIBUTE_UNUSED, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, in UnstartedJNIStringFastIndexOf()
1535 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIArrayCreateMultiArray()
1538 auto h_class(hs.NewHandle(reinterpret_cast<mirror::Class*>(args[0])->AsClass())); in UnstartedJNIArrayCreateMultiArray()
1539 auto h_dimensions(hs.NewHandle(reinterpret_cast<mirror::IntArray*>(args[1])->AsIntArray())); in UnstartedJNIArrayCreateMultiArray()
1540 result->SetL(mirror::Array::CreateMultiArray(self, h_class, h_dimensions)); in UnstartedJNIArrayCreateMultiArray()
1544 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIArrayCreateObjectArray()
1551 mirror::Class* element_class = reinterpret_cast<mirror::Class*>(args[0])->AsClass(); in UnstartedJNIArrayCreateObjectArray()
1554 mirror::Class* array_class = class_linker->FindArrayClass(self, &element_class); in UnstartedJNIArrayCreateObjectArray()
1560 mirror::Array* new_array = mirror::ObjectArray<mirror::Object*>::Alloc( in UnstartedJNIArrayCreateObjectArray()
1566 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIThrowableNativeFillInStackTrace()
1570 result->SetL(soa.Decode<mirror::Object*>(self->CreateInternalStackTrace<true>(soa))); in UnstartedJNIThrowableNativeFillInStackTrace()
1572 result->SetL(soa.Decode<mirror::Object*>(self->CreateInternalStackTrace<false>(soa))); in UnstartedJNIThrowableNativeFillInStackTrace()
1578 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNISystemIdentityHashCode()
1579 mirror::Object* obj = reinterpret_cast<mirror::Object*>(args[0]); in UnstartedJNISystemIdentityHashCode()
1585 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args ATTRIBUTE_UNUSED, JValue* result) { in UnstartedJNIByteOrderIsLittleEndian()
1591 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIUnsafeCompareAndSwapInt()
1592 mirror::Object* obj = reinterpret_cast<mirror::Object*>(args[0]); in UnstartedJNIUnsafeCompareAndSwapInt()
1608 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIUnsafeGetIntVolatile()
1610 mirror::Object* obj = reinterpret_cast<mirror::Object*>(args[0]); in UnstartedJNIUnsafeGetIntVolatile()
1622 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result ATTRIBUTE_UNUSED) { in UnstartedJNIUnsafePutObject()
1623 mirror::Object* obj = reinterpret_cast<mirror::Object*>(args[0]); in UnstartedJNIUnsafePutObject()
1625 mirror::Object* newValue = reinterpret_cast<mirror::Object*>(args[3]); in UnstartedJNIUnsafePutObject()
1635 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1636 mirror::Class* component = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1638 result->SetI(mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value()); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1643 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
1644 mirror::Class* component = reinterpret_cast<mirror::Object*>(args[0])->AsClass(); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
1652 typedef void (*JNIHandler)(Thread* self, ArtMethod* method, mirror::Object* receiver,
1713 void UnstartedRuntime::Jni(Thread* self, ArtMethod* method, mirror::Object* receiver, in Jni()