/art/runtime/mirror/ |
D | object_array.h | 29 template <typename T> using ConstObjPtrArrayIter = ArrayIter<T, const ObjPtr<ObjectArray<T>>>; 30 template <typename T> using ConstHandleArrayIter = ArrayIter<T, const Handle<ObjectArray<T>>>; 31 template <typename T> using ObjPtrArrayIter = ArrayIter<T, ObjPtr<ObjectArray<T>>>; 32 template <typename T> using HandleArrayIter = ArrayIter<T, Handle<ObjectArray<T>>>; 35 class MANAGED ObjectArray: public Array { 44 static ObjPtr<ObjectArray<T>> Alloc(Thread* self, 50 static ObjPtr<ObjectArray<T>> Alloc(Thread* self, 91 ObjPtr<ObjectArray<T>> src, 98 ObjPtr<ObjectArray<T>> src, 106 ObjPtr<ObjectArray<T>> src, [all …]
|
D | object_array-inl.h | 40 inline ObjPtr<T> ObjectArray<T>::Get(int32_t i) { in Get() 49 inline bool ObjectArray<T>::CheckAssignable(ObjPtr<T> object) { in CheckAssignable() 61 inline void ObjectArray<T>::Set(int32_t i, ObjPtr<T> object) { in Set() 71 inline void ObjectArray<T>::Set(int32_t i, ObjPtr<T> object) { in Set() 81 inline void ObjectArray<T>::SetWithoutChecks(int32_t i, ObjPtr<T> object) { in SetWithoutChecks() 89 inline void ObjectArray<T>::SetWithoutChecksAndWriteBarrier(int32_t i, ObjPtr<T> object) { in SetWithoutChecksAndWriteBarrier() 98 inline ObjPtr<T> ObjectArray<T>::GetWithoutChecks(int32_t i) { in GetWithoutChecks() 104 inline void ObjectArray<T>::AssignableMemmove(int32_t dst_pos, in AssignableMemmove() 105 ObjPtr<ObjectArray<T>> src, in AssignableMemmove() 129 src.Assign(reinterpret_cast<ObjectArray<T>*>( in AssignableMemmove() [all …]
|
D | object_array-alloc-inl.h | 36 inline ObjPtr<ObjectArray<T>> ObjectArray<T>::Alloc(Thread* self, in Alloc() 54 inline ObjPtr<ObjectArray<T>> ObjectArray<T>::Alloc(Thread* self, in Alloc() 64 inline ObjPtr<ObjectArray<T>> ObjectArray<T>::CopyOf(Handle<ObjectArray<T>> h_this, in CopyOf() 72 ObjPtr<ObjectArray<T>> new_array = Alloc(self, h_this->GetClass(), new_length, allocator_type); in CopyOf()
|
D | method_type.cc | 31 ObjPtr<ObjectArray<Class>> AllocatePTypesArray(Thread* self, int count) in AllocatePTypesArray() 33 ObjPtr<Class> class_array_type = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in AllocatePTypesArray() 34 return ObjectArray<Class>::Alloc(self, class_array_type, count); in AllocatePTypesArray() 41 Handle<ObjectArray<Class>> parameter_types) { in Create() 61 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CloneWithoutLeadingParameter() 64 Handle<ObjectArray<Class>> dst_ptypes = hs.NewHandle(AllocatePTypesArray(self, dst_ptypes_count)); in CloneWithoutLeadingParameter() 86 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CollectTrailingArguments() 87 Handle<ObjectArray<Class>> dst_ptypes = hs.NewHandle(AllocatePTypesArray(self, start_index + 1)); in CollectTrailingArguments() 99 const ObjPtr<ObjectArray<Class>> p_types = GetPTypes(); in NumberOfVRegs() 115 const ObjPtr<ObjectArray<Class>> p_types = GetPTypes(); in IsExactMatch() [all …]
|
D | emulated_stack_frame.cc | 37 static void CalculateFrameAndReferencesSize(ObjPtr<mirror::ObjectArray<mirror::Class>> p_types, in CalculateFrameAndReferencesSize() 78 EmulatedStackFrameAccessor(Handle<mirror::ObjectArray<mirror::Object>> references, in EmulatedStackFrameAccessor() 136 Handle<mirror::ObjectArray<mirror::Object>> references_; 156 Handle<mirror::ObjectArray<mirror::Class>> from_types(hs.NewHandle(caller_type->GetPTypes())); in CreateFromShadowFrameAndArgs() 157 Handle<mirror::ObjectArray<mirror::Class>> to_types(hs.NewHandle(callee_type->GetPTypes())); in CreateFromShadowFrameAndArgs() 173 ObjPtr<mirror::Class> array_class(GetClassRoot<mirror::ObjectArray<mirror::Object>>()); in CreateFromShadowFrameAndArgs() 175 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle( in CreateFromShadowFrameAndArgs() 176 mirror::ObjectArray<mirror::Object>::Alloc(self, array_class, refs_size))); in CreateFromShadowFrameAndArgs() 211 ObjPtr<mirror::ObjectArray<mirror::Class>> from_types(GetType()->GetPTypes()); in WriteToShadowFrame() 212 ObjPtr<mirror::ObjectArray<mirror::Class>> to_types(callee_type->GetPTypes()); in WriteToShadowFrame() [all …]
|
D | method_type-inl.h | 27 inline ObjPtr<ObjectArray<Class>> MethodType::GetPTypes() { in GetPTypes() 28 return GetFieldObject<ObjectArray<Class>>(OFFSET_OF_OBJECT_MEMBER(MethodType, p_types_)); in GetPTypes()
|
D | class_ext.cc | 45 ObjPtr<ObjectArray<DexCache>> dex_caches) { in SetObsoleteArrays() 68 Handle<ObjectArray<DexCache>> old_dex_caches(hs.NewHandle(h_this->GetObsoleteDexCaches())); in ExtendObsoleteArrays() 85 Handle<ObjectArray<DexCache>> new_dex_caches(hs.NewHandle<ObjectArray<DexCache>>( in ExtendObsoleteArrays() 86 ObjectArray<DexCache>::Alloc(self, in ExtendObsoleteArrays()
|
D | emulated_stack_frame-inl.h | 37 inline ObjPtr<mirror::ObjectArray<mirror::Object>> EmulatedStackFrame::GetReferences() { in GetReferences() 38 return GetFieldObject<mirror::ObjectArray<mirror::Object>>( in GetReferences()
|
D | method_type.h | 37 Handle<ObjectArray<Class>> param_types) 52 ObjPtr<ObjectArray<Class>> GetPTypes() REQUIRES_SHARED(Locks::mutator_lock_); 97 HeapReference<ObjectArray<Class>> p_types_;
|
D | throwable.cc | 88 const ObjPtr<mirror::ObjectArray<Object>> trace = stack_state->AsObjectArray<Object>(); in GetStackDepth() 106 ObjPtr<ObjectArray<Object>> object_array = stack_state->AsObjectArray<Object>(); in Dump() 133 ObjPtr<ObjectArray<StackTraceElement>> ste_array = in Dump() 134 ObjPtr<ObjectArray<StackTraceElement>>::DownCast(stack_trace); in Dump()
|
D | method_type_test.cc | 59 GetClassRoot<mirror::ObjectArray<mirror::Class>>(class_linker); in CreateMethodType() 60 Handle<mirror::ObjectArray<mirror::Class>> param_classes = hs.NewHandle( in CreateMethodType() 61 mirror::ObjectArray<mirror::Class>::Alloc(self, class_array_type, param_types.size())); in CreateMethodType()
|
D | emulated_stack_frame.h | 67 ObjPtr<mirror::ObjectArray<mirror::Object>> GetReferences() REQUIRES_SHARED(Locks::mutator_lock_); 88 HeapReference<mirror::ObjectArray<mirror::Object>> references_;
|
/art/compiler/optimizing/ |
D | intrinsic_objects.cc | 30 ObjPtr<mirror::ObjectArray<mirror::Object>> IntrinsicObjects::LookupIntegerCache( in LookupIntegerCache() 40 ObjPtr<mirror::ObjectArray<mirror::Object>> integer_cache = in LookupIntegerCache() 41 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in LookupIntegerCache() 48 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects) in HasIntrinsicObjects() 56 ObjPtr<mirror::ObjectArray<mirror::Object>> IntrinsicObjects::GetIntegerValueOfCache( in GetIntegerValueOfCache() 57 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects) { in GetIntegerValueOfCache() 68 return ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast(result); in GetIntegerValueOfCache() 72 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects, in GetIntegerValueOfObject() 88 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects) { in GetIntegerValueOfArrayDataOffset() 91 mirror::ObjectArray<mirror::Object>::OffsetOfElement(kIntrinsicObjectsOffset + 1u); in GetIntegerValueOfArrayDataOffset()
|
D | intrinsic_objects.h | 33 template <class T> class ObjectArray; variable 59 static ObjPtr<mirror::ObjectArray<mirror::Object>> LookupIntegerCache( 61 static ObjPtr<mirror::ObjectArray<mirror::Object>> GetIntegerValueOfCache( 62 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects) 65 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects, 68 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects)
|
D | intrinsics.cc | 62 static ObjPtr<mirror::ObjectArray<mirror::Object>> GetBootImageLiveObjects() in GetBootImageLiveObjects() 68 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects = in GetBootImageLiveObjects() 69 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in GetBootImageLiveObjects() 87 static ObjPtr<mirror::ObjectArray<mirror::Object>> GetIntegerCacheArray( in GetIntegerCacheArray() 91 return ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast(cache_field->GetObject(cache_class)); in GetIntegerCacheArray() 103 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects, in CheckIntegerCache() 104 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_cache) in CheckIntegerCache() 116 ObjPtr<mirror::ObjectArray<mirror::Object>> current_cache = GetIntegerCacheArray(cache_class); in CheckIntegerCache() 200 ObjPtr<mirror::ObjectArray<mirror::Object>> current_cache = GetIntegerCacheArray(cache_class); in ComputeIntegerValueOfLocations() 223 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects = GetBootImageLiveObjects(); in ComputeIntegerValueOfLocations() [all …]
|
/art/runtime/native/ |
D | java_lang_reflect_Method.cc | 63 Handle<mirror::ObjectArray<mirror::Class>> declared_exceptions = in Method_getExceptionTypes() 66 mirror::ObjectArray<mirror::Class>::Clone(declared_exceptions, soa.Self())); in Method_getExceptionTypes() 68 ObjPtr<mirror::ObjectArray<mirror::Class>> result_array = in Method_getExceptionTypes() 72 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Method_getExceptionTypes() 74 ObjPtr<mirror::ObjectArray<mirror::Class>> empty_array = in Method_getExceptionTypes() 75 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Method_getExceptionTypes()
|
D | java_lang_reflect_Executable.cc | 49 ObjPtr<mirror::ObjectArray<mirror::Object>> empty_array = in Executable_getDeclaredAnnotationsNative() 50 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), annotation_array_class, 0); in Executable_getDeclaredAnnotationsNative() 88 Handle<mirror::ObjectArray<mirror::Object>> annotations = in Executable_getParameterAnnotationsNative() 115 Handle<mirror::ObjectArray<mirror::Object>> resized_annotations = hs.NewHandle( in Executable_getParameterAnnotationsNative() 116 mirror::ObjectArray<mirror::Object>::Alloc( in Executable_getParameterAnnotationsNative() 132 Handle<mirror::ObjectArray<mirror::Object>> empty_annotations = hs.NewHandle( in Executable_getParameterAnnotationsNative() 133 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), annotation_array_class, 0)); in Executable_getParameterAnnotationsNative() 169 MutableHandle<mirror::ObjectArray<mirror::String>> names = in Executable_getParameters0() 170 hs.NewHandle<mirror::ObjectArray<mirror::String>>(nullptr); in Executable_getParameters0() 201 Handle<mirror::ObjectArray<mirror::Object>> parameter_array = in Executable_getParameters0() [all …]
|
D | java_lang_reflect_Constructor.cc | 44 ObjPtr<mirror::ObjectArray<mirror::Class>> result_array = in Constructor_getExceptionTypes() 48 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Constructor_getExceptionTypes() 50 ObjPtr<mirror::ObjectArray<mirror::Class>> empty_array = in Constructor_getExceptionTypes() 51 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Constructor_getExceptionTypes()
|
D | java_lang_Class.cc | 247 Handle<mirror::ObjectArray<mirror::Class>> interfaces = in Class_getInterfacesInternal() 250 mirror::ObjectArray<mirror::Class>::Clone(interfaces, soa.Self())); in Class_getInterfacesInternal() 261 GetClassRoot<mirror::ObjectArray<mirror::Class>>(linker); in Class_getInterfacesInternal() 262 ObjPtr<mirror::ObjectArray<mirror::Class>> ifaces = in Class_getInterfacesInternal() 263 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, num_ifaces); in Class_getInterfacesInternal() 283 static ObjPtr<mirror::ObjectArray<mirror::Field>> GetDeclaredFields( in GetDeclaredFields() 309 auto object_array = hs.NewHandle(mirror::ObjectArray<mirror::Field>::Alloc( in GetDeclaredFields() 310 self, GetClassRoot<mirror::ObjectArray<mirror::Field>>(), array_size)); in GetDeclaredFields() 548 soa.Decode<mirror::ObjectArray<mirror::Class>>(args))); in Class_getDeclaredConstructorInternal() 581 auto h_constructors = hs.NewHandle(mirror::ObjectArray<mirror::Constructor>::Alloc( in Class_getDeclaredConstructorsInternal() [all …]
|
/art/runtime/ |
D | class_root.h | 48 template<class T> class ObjectArray; variable 61 … "[Ljava/lang/Class;", mirror::ObjectArray<mirror::Class>)… 62 … "[Ljava/lang/Object;", mirror::ObjectArray<mirror::Object>… 70 …ss, "[Ljava/lang/String;", mirror::ObjectArray<mirror::String>… 71 …ctorArrayClass, "[Ljava/lang/reflect/Constructor;", mirror::ObjectArray<mirror::Constru… 72 …rayClass, "[Ljava/lang/reflect/Field;", mirror::ObjectArray<mirror::Field>)… 73 …rrayClass, "[Ljava/lang/reflect/Method;", mirror::ObjectArray<mirror::Method>… 96 …entArrayClass, "[Ljava/lang/StackTraceElement;", mirror::ObjectArray<mirror::StackTr… 97 …ayClass, "[Ljava/lang/ClassLoader;", mirror::ObjectArray<mirror::ClassLo… 128 ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots) [all …]
|
D | image-inl.h | 33 ObjPtr<mirror::ObjectArray<mirror::Object>> image_roots = GetImageRoots<kReadBarrierOption>(); in GetImageRoot() 38 inline ObjPtr<mirror::ObjectArray<mirror::Object>> ImageHeader::GetImageRoots() const { in GetImageRoots() 43 mirror::ObjectArray<mirror::Object>* image_roots = in GetImageRoots() 44 reinterpret_cast<mirror::ObjectArray<mirror::Object>*>(image_roots_); in GetImageRoots() 45 mirror::ObjectArray<mirror::Object>* result = in GetImageRoots() 46 ReadBarrier::BarrierForRoot<mirror::ObjectArray<mirror::Object>, kReadBarrierOption>( in GetImageRoots()
|
D | handle.h | 38 template<typename T> class ObjectArray; variable 40 template<typename T> using HandleArrayIter = ArrayIter<T, Handle<ObjectArray<T>>>; 41 template<typename T> using ConstHandleArrayIter = ArrayIter<T, const Handle<ObjectArray<T>>>; 79 typename = typename std::enable_if_t<std::is_same_v<mirror::ObjectArray<Type>, T>>> 85 typename = typename std::enable_if_t<std::is_same_v<mirror::ObjectArray<Type>, T>>>
|
/art/runtime/dex/ |
D | dex_file_annotations.h | 41 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForField(ArtField* field) 43 ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForField(ArtField* field) 54 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForMethod(ArtMethod* method) 56 ObjPtr<mirror::ObjectArray<mirror::Class>> GetExceptionTypesForMethod(ArtMethod* method) 58 ObjPtr<mirror::ObjectArray<mirror::Object>> GetParameterAnnotations(ArtMethod* method) 68 /*out*/ MutableHandle<mirror::ObjectArray<mirror::String>>* names, 70 ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForMethod(ArtMethod* method) 116 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForClass(Handle<mirror::Class> klass) 118 ObjPtr<mirror::ObjectArray<mirror::Class>> GetDeclaredClasses(Handle<mirror::Class> klass) 130 ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForClass(
|
D | dex_file_annotations.cc | 381 ObjPtr<mirror::ObjectArray<mirror::Object>> element_array = nullptr; in ProcessEncodedAnnotation() 384 mirror::ObjectArray<mirror::Object>::Alloc(self, annotation_member_array_class, size); in ProcessEncodedAnnotation() 391 Handle<mirror::ObjectArray<mirror::Object>> h_element_array(hs.NewHandle(element_array)); in ProcessEncodedAnnotation() 844 static ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureValue( in GetSignatureValue() 857 hs.NewHandle(GetClassRoot<mirror::ObjectArray<mirror::String>>()); in GetSignatureValue() 868 ObjPtr<mirror::ObjectArray<mirror::Class>> GetThrowsValue(const ClassData& klass, in GetThrowsValue() 880 hs.NewHandle(GetClassRoot<mirror::ObjectArray<mirror::Class>>()); in GetThrowsValue() 891 ObjPtr<mirror::ObjectArray<mirror::Object>> ProcessAnnotationSet( in ProcessAnnotationSet() 903 return mirror::ObjectArray<mirror::Object>::Alloc(self, annotation_array_class.Get(), 0); in ProcessAnnotationSet() 907 Handle<mirror::ObjectArray<mirror::Object>> result(hs.NewHandle( in ProcessAnnotationSet() [all …]
|
/art/runtime/gc/ |
D | heap_verification_test.cc | 39 ObjPtr<mirror::ObjectArray<T>> AllocObjectArray(Thread* self, size_t length) in AllocObjectArray() 41 return mirror::ObjectArray<T>::Alloc( in AllocObjectArray() 43 GetClassRoot<mirror::ObjectArray<mirror::Object>>(), in AllocObjectArray() 128 Handle<mirror::ObjectArray<mirror::Object>> arr( in TEST_F() 154 using ObjArray = mirror::ObjectArray<mirror::Object>; in TEST_F() 172 Handle<mirror::ObjectArray<mirror::Object>> arr( in TEST_F()
|