Home
last modified time | relevance | path

Searched refs:ObjectArray (Results 1 – 25 of 98) sorted by relevance

1234

/art/compiler/optimizing/
Dintrinsic_objects.cc29 static ObjPtr<mirror::ObjectArray<mirror::Object>> LookupIntegerCache(Thread* self, in LookupIntegerCache()
40 ObjPtr<mirror::ObjectArray<mirror::Object>> integer_cache = in LookupIntegerCache()
41 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in LookupIntegerCache()
47 ObjPtr<mirror::ObjectArray<mirror::Object>> IntrinsicObjects::AllocateBootImageLiveObjects( in AllocateBootImageLiveObjects()
54 Handle<mirror::ObjectArray<mirror::Object>> integer_cache = in AllocateBootImageLiveObjects()
58 ObjPtr<mirror::ObjectArray<mirror::Object>> live_objects = in AllocateBootImageLiveObjects()
59 mirror::ObjectArray<mirror::Object>::Alloc( in AllocateBootImageLiveObjects()
60 self, GetClassRoot<mirror::ObjectArray<mirror::Object>>(class_linker), live_objects_size); in AllocateBootImageLiveObjects()
79 ObjPtr<mirror::ObjectArray<mirror::Object>> IntrinsicObjects::GetIntegerValueOfCache( in GetIntegerValueOfCache()
80 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects) { in GetIntegerValueOfCache()
[all …]
Dintrinsic_objects.h33 template <class T> class ObjectArray; variable
58 static ObjPtr<mirror::ObjectArray<mirror::Object>> AllocateBootImageLiveObjects(
63 static ObjPtr<mirror::ObjectArray<mirror::Object>> GetIntegerValueOfCache(
64 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects)
67 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects,
70 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects)
Dinliner.h135 /*out*/Handle<mirror::ObjectArray<mirror::Class>>* inline_cache)
144 /*out*/Handle<mirror::ObjectArray<mirror::Class>>* inline_cache)
153 /*out*/Handle<mirror::ObjectArray<mirror::Class>> inline_cache)
158 const Handle<mirror::ObjectArray<mirror::Class>>& classes)
167 Handle<mirror::ObjectArray<mirror::Class>> classes)
173 Handle<mirror::ObjectArray<mirror::Class>> classes)
178 Handle<mirror::ObjectArray<mirror::Class>> classes)
Dintrinsics.cc61 static ObjPtr<mirror::ObjectArray<mirror::Object>> GetBootImageLiveObjects() in GetBootImageLiveObjects()
67 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects = in GetBootImageLiveObjects()
68 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in GetBootImageLiveObjects()
86 static ObjPtr<mirror::ObjectArray<mirror::Object>> GetIntegerCacheArray( in GetIntegerCacheArray()
90 return ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast(cache_field->GetObject(cache_class)); in GetIntegerCacheArray()
102 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects, in CheckIntegerCache()
103 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_cache) in CheckIntegerCache()
115 ObjPtr<mirror::ObjectArray<mirror::Object>> current_cache = GetIntegerCacheArray(cache_class); in CheckIntegerCache()
186 ObjPtr<mirror::ObjectArray<mirror::Object>> current_cache = GetIntegerCacheArray(cache_class); in ComputeIntegerValueOfLocations()
212 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects = GetBootImageLiveObjects(); in ComputeIntegerValueOfLocations()
[all …]
/art/runtime/mirror/
Dobject_array-alloc-inl.h36 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(Thread* self, int32_t new_length) { in CopyOf()
68 Handle<ObjectArray<T>> h_this(hs.NewHandle(this)); in CopyOf()
72 ObjPtr<ObjectArray<T>> new_array = Alloc(self, GetClass(), new_length, allocator_type); in CopyOf()
Dmethod_type.cc31 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 …]
Dobject_array.h27 class MANAGED ObjectArray: public Array {
34 static ObjPtr<ObjectArray<T>> Alloc(Thread* self,
40 static ObjPtr<ObjectArray<T>> Alloc(Thread* self,
81 ObjPtr<ObjectArray<T>> src,
88 ObjPtr<ObjectArray<T>> src,
96 ObjPtr<ObjectArray<T>> src,
102 ObjPtr<ObjectArray<T>> CopyOf(Thread* self, int32_t new_length)
115 DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectArray);
Dobject_array-inl.h39 inline ObjPtr<T> ObjectArray<T>::Get(int32_t i) { in Get()
48 inline bool ObjectArray<T>::CheckAssignable(ObjPtr<T> object) { in CheckAssignable()
60 inline void ObjectArray<T>::Set(int32_t i, ObjPtr<T> object) { in Set()
70 inline void ObjectArray<T>::Set(int32_t i, ObjPtr<T> object) { in Set()
80 inline void ObjectArray<T>::SetWithoutChecks(int32_t i, ObjPtr<T> object) { in SetWithoutChecks()
88 inline void ObjectArray<T>::SetWithoutChecksAndWriteBarrier(int32_t i, ObjPtr<T> object) { in SetWithoutChecksAndWriteBarrier()
97 inline ObjPtr<T> ObjectArray<T>::GetWithoutChecks(int32_t i) { in GetWithoutChecks()
103 inline void ObjectArray<T>::AssignableMemmove(int32_t dst_pos, in AssignableMemmove()
104 ObjPtr<ObjectArray<T>> src, in AssignableMemmove()
128 src.Assign(reinterpret_cast<ObjectArray<T>*>( in AssignableMemmove()
[all …]
Demulated_stack_frame.cc37 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 …]
Dclass_ext.cc43 ObjPtr<ObjectArray<DexCache>> dex_caches) { in SetObsoleteArrays()
60 Handle<ObjectArray<DexCache>> old_dex_caches(hs.NewHandle(h_this->GetObsoleteDexCaches())); in ExtendObsoleteArrays()
77 Handle<ObjectArray<DexCache>> new_dex_caches(hs.NewHandle<ObjectArray<DexCache>>( in ExtendObsoleteArrays()
78 ObjectArray<DexCache>::Alloc(self, in ExtendObsoleteArrays()
Dmethod_type-inl.h27 inline ObjPtr<ObjectArray<Class>> MethodType::GetPTypes() { in GetPTypes()
28 return GetFieldObject<ObjectArray<Class>>(OFFSET_OF_OBJECT_MEMBER(MethodType, p_types_)); in GetPTypes()
Demulated_stack_frame-inl.h37 inline ObjPtr<mirror::ObjectArray<mirror::Object>> EmulatedStackFrame::GetReferences() { in GetReferences()
38 return GetFieldObject<mirror::ObjectArray<mirror::Object>>( in GetReferences()
Dclass_ext.h47 ObjPtr<ObjectArray<DexCache>> GetObsoleteDexCaches() REQUIRES_SHARED(Locks::mutator_lock_);
71 void SetObsoleteArrays(ObjPtr<PointerArray> methods, ObjPtr<ObjectArray<DexCache>> dex_caches)
86 HeapReference<ObjectArray<DexCache>> obsolete_dex_caches_;
Dmethod_type.h35 Handle<ObjectArray<Class>> param_types)
50 ObjPtr<ObjectArray<Class>> GetPTypes() REQUIRES_SHARED(Locks::mutator_lock_);
95 HeapReference<ObjectArray<Class>> p_types_;
Dclass_ext-inl.h32 inline ObjPtr<ObjectArray<DexCache>> ClassExt::GetObsoleteDexCaches() { in GetObsoleteDexCaches()
33 return GetFieldObject<ObjectArray<DexCache>>( in GetObsoleteDexCaches()
Dthrowable.cc88 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()
Dmethod_type_test.cc59 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()
/art/runtime/dex/
Ddex_file_annotations.h41 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(
/art/runtime/native/
Djava_lang_reflect_Method.cc62 ObjPtr<mirror::ObjectArray<mirror::Class>> declared_exceptions = in Method_getExceptionTypes()
66 ObjPtr<mirror::ObjectArray<mirror::Class>> result_array = in Method_getExceptionTypes()
70 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Method_getExceptionTypes()
72 ObjPtr<mirror::ObjectArray<mirror::Class>> empty_array = in Method_getExceptionTypes()
73 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Method_getExceptionTypes()
Djava_lang_reflect_Executable.cc49 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 …]
Djava_lang_reflect_Constructor.cc44 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()
Djava_lang_Class.cc234 GetClassRoot<mirror::ObjectArray<mirror::Class>>(linker); in Class_getInterfacesInternal()
235 ObjPtr<mirror::ObjectArray<mirror::Class>> ifaces = in Class_getInterfacesInternal()
236 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, num_ifaces); in Class_getInterfacesInternal()
256 static ObjPtr<mirror::ObjectArray<mirror::Field>> GetDeclaredFields( in GetDeclaredFields()
278 auto object_array = hs.NewHandle(mirror::ObjectArray<mirror::Field>::Alloc( in GetDeclaredFields()
279 self, GetClassRoot<mirror::ObjectArray<mirror::Field>>(), array_size)); in GetDeclaredFields()
504 soa.Decode<mirror::ObjectArray<mirror::Class>>(args))); in Class_getDeclaredConstructorInternal()
533 auto h_constructors = hs.NewHandle(mirror::ObjectArray<mirror::Constructor>::Alloc( in Class_getDeclaredConstructorsInternal()
534 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Constructor>>(), constructor_count)); in Class_getDeclaredConstructorsInternal()
567 soa.Decode<mirror::ObjectArray<mirror::Class>>(args), in Class_getDeclaredMethodInternal()
[all …]
/art/runtime/
Dclass_root.h58 … "[Ljava/lang/Class;", mirror::ObjectArray<mirror::Class>)…
59 … "[Ljava/lang/Object;", mirror::ObjectArray<mirror::Object>…
67 …ss, "[Ljava/lang/String;", mirror::ObjectArray<mirror::String>…
68 …ctorArrayClass, "[Ljava/lang/reflect/Constructor;", mirror::ObjectArray<mirror::Constru…
69 …rayClass, "[Ljava/lang/reflect/Field;", mirror::ObjectArray<mirror::Field>)…
70 …rrayClass, "[Ljava/lang/reflect/Method;", mirror::ObjectArray<mirror::Method>…
103 …entArrayClass, "[Ljava/lang/StackTraceElement;", mirror::ObjectArray<mirror::StackTr…
104 …ayClass, "[Ljava/lang/ClassLoader;", mirror::ObjectArray<mirror::ClassLo…
120 ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots) REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassRoot()
168 inline ObjPtr<mirror::Class> GetClassRoot(ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots) in GetClassRoot()
Dimage-inl.h33 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()
/art/runtime/gc/
Dheap_verification_test.cc39 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()

1234