Home
last modified time | relevance | path

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

123

/art/runtime/mirror/
Ddex_cache.h50 ObjectArray<String>* strings,
51 ObjectArray<Class>* types,
52 ObjectArray<ArtMethod>* methods,
53 ObjectArray<ArtField>* fields)
130 ObjectArray<String>* GetStrings() ALWAYS_INLINE SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetStrings()
131 return GetFieldObject< ObjectArray<String>>(StringsOffset()); in GetStrings()
134 ObjectArray<Class>* GetResolvedTypes() ALWAYS_INLINE SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetResolvedTypes()
135 return GetFieldObject<ObjectArray<Class>>( in GetResolvedTypes()
139 ObjectArray<ArtMethod>* GetResolvedMethods() ALWAYS_INLINE in GetResolvedMethods()
141 return GetFieldObject< ObjectArray<ArtMethod>>(ResolvedMethodsOffset()); in GetResolvedMethods()
[all …]
Dobject_array-inl.h35 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, in Alloc()
47 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, in Alloc()
54 inline T* ObjectArray<T>::Get(int32_t i) { in Get()
63 inline bool ObjectArray<T>::CheckAssignable(T* object) { in CheckAssignable()
75 inline void ObjectArray<T>::Set(int32_t i, T* object) { in Set()
85 inline void ObjectArray<T>::Set(int32_t i, T* object) { in Set()
95 inline void ObjectArray<T>::SetWithoutChecks(int32_t i, T* object) { in SetWithoutChecks()
103 inline void ObjectArray<T>::SetWithoutChecksAndWriteBarrier(int32_t i, T* object) { in SetWithoutChecksAndWriteBarrier()
112 inline T* ObjectArray<T>::GetWithoutChecks(int32_t i) { in GetWithoutChecks()
118 inline void ObjectArray<T>::AssignableMemmove(int32_t dst_pos, ObjectArray<T>* src, in AssignableMemmove()
[all …]
Diftable.h26 class MANAGED IfTable FINAL : public ObjectArray<Object> {
36 ObjectArray<ArtMethod>* GetMethodArray(int32_t i) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetMethodArray()
37 ObjectArray<ArtMethod>* method_array = in GetMethodArray()
38 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArray()
44 ObjectArray<ArtMethod>* method_array = in GetMethodArrayCount()
45 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArrayCount()
52 void SetMethodArray(int32_t i, ObjectArray<ArtMethod>* new_ma) in SetMethodArray()
Dobject_array.h26 class MANAGED ObjectArray: public Array {
33 static ObjectArray<T>* Alloc(Thread* self, Class* object_array_class, int32_t length,
37 static ObjectArray<T>* Alloc(Thread* self, Class* object_array_class, int32_t length)
71 void AssignableMemmove(int32_t dst_pos, ObjectArray<T>* src, int32_t src_pos,
75 void AssignableMemcpy(int32_t dst_pos, ObjectArray<T>* src, int32_t src_pos,
79 void AssignableCheckingMemcpy(int32_t dst_pos, ObjectArray<T>* src, int32_t src_pos,
83 ObjectArray<T>* CopyOf(Thread* self, int32_t new_length)
94 DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectArray);
Dclass-inl.h67 inline ObjectArray<ArtMethod>* Class::GetDirectMethods() { in GetDirectMethods()
69 return GetFieldObject<ObjectArray<ArtMethod>>(OFFSET_OF_OBJECT_MEMBER(Class, direct_methods_)); in GetDirectMethods()
72 inline void Class::SetDirectMethods(ObjectArray<ArtMethod>* new_direct_methods) in SetDirectMethods()
74 DCHECK(NULL == GetFieldObject<ObjectArray<ArtMethod>>( in SetDirectMethods()
86 ObjectArray<ArtMethod>* direct_methods = in SetDirectMethod()
87 GetFieldObject<ObjectArray<ArtMethod>>(OFFSET_OF_OBJECT_MEMBER(Class, direct_methods_)); in SetDirectMethod()
97 inline ObjectArray<ArtMethod>* Class::GetVirtualMethods() { in GetVirtualMethods()
99 return GetFieldObject<ObjectArray<ArtMethod>>(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_)); in GetVirtualMethods()
102 inline void Class::SetVirtualMethods(ObjectArray<ArtMethod>* new_virtual_methods) { in SetVirtualMethods()
126 ObjectArray<ArtMethod>* virtual_methods = in SetVirtualMethod()
[all …]
Ddex_cache.cc36 ObjectArray<String>* strings, in Init()
37 ObjectArray<Class>* resolved_types, in Init()
38 ObjectArray<ArtMethod>* resolved_methods, in Init()
39 ObjectArray<ArtField>* resolved_fields) { in Init()
68 ObjectArray<ArtMethod>* resolved_methods = GetResolvedMethods(); in Fixup()
Dart_method.h203 ObjectArray<String>* GetDexCacheStrings() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
204 void SetDexCacheStrings(ObjectArray<String>* new_dex_cache_strings)
223 void SetDexCacheResolvedMethods(ObjectArray<ArtMethod>* new_dex_cache_methods)
227 bool HasSameDexCacheResolvedMethods(ObjectArray<ArtMethod>* other_cache)
232 void SetDexCacheResolvedTypes(ObjectArray<Class>* new_dex_cache_types)
236 bool HasSameDexCacheResolvedTypes(ObjectArray<Class>* other_cache)
488 HeapReference<ObjectArray<ArtMethod>> dex_cache_resolved_methods_;
491 HeapReference<ObjectArray<Class>> dex_cache_resolved_types_;
494 HeapReference<ObjectArray<String>> dex_cache_strings_;
539 ObjectArray<ArtMethod>* GetDexCacheResolvedMethods() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
[all …]
Dclass.h641 ObjectArray<ArtMethod>* GetDirectMethods() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
643 void SetDirectMethods(ObjectArray<ArtMethod>* new_direct_methods)
655 ObjectArray<ArtMethod>* GetVirtualMethods() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
657 void SetVirtualMethods(ObjectArray<ArtMethod>* new_virtual_methods)
671 ObjectArray<ArtMethod>* GetVTable() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
673 ObjectArray<ArtMethod>* GetVTableDuringLinking() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
675 void SetVTable(ObjectArray<ArtMethod>* new_vtable)
682 void SetImTable(ObjectArray<ArtMethod>* new_imtable)
798 ObjectArray<ArtField>* GetIFields() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
800 void SetIFields(ObjectArray<ArtField>* new_ifields) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
[all …]
Dthrowable.cc84 ObjectArray<Object>* method_trace = down_cast<ObjectArray<Object>*>(stack_state); in Dump()
104 ObjectArray<StackTraceElement>* ste_array = in Dump()
105 down_cast<ObjectArray<StackTraceElement>*>(stack_trace); in Dump()
Dart_method-inl.h82 inline ObjectArray<String>* ArtMethod::GetDexCacheStrings() { in GetDexCacheStrings()
83 return GetFieldObject<ObjectArray<String>>( in GetDexCacheStrings()
87 inline ObjectArray<ArtMethod>* ArtMethod::GetDexCacheResolvedMethods() { in GetDexCacheResolvedMethods()
88 return GetFieldObject<ObjectArray<ArtMethod>>( in GetDexCacheResolvedMethods()
109 inline bool ArtMethod::HasSameDexCacheResolvedMethods(ObjectArray<ArtMethod>* other_cache) { in HasSameDexCacheResolvedMethods()
118 inline ObjectArray<Class>* ArtMethod::GetDexCacheResolvedTypes() { in GetDexCacheResolvedTypes()
119 return GetFieldObject<ObjectArray<Class>>( in GetDexCacheResolvedTypes()
138 inline bool ArtMethod::HasSameDexCacheResolvedTypes(ObjectArray<Class>* other_cache) { in HasSameDexCacheResolvedTypes()
Dobject.cc88 ObjectArray<Object>* array = dest->AsObjectArray<Object>(); in CopyObject()
202 ObjectArray<ArtField>* fields = cur->GetIFields(); in CheckFieldAssignmentImpl()
221 ObjectArray<ArtField>* fields = AsClass()->GetSFields(); in CheckFieldAssignmentImpl()
Dart_field.cc67 ObjectArray<ArtField>* instance_fields = klass->GetIFields(); in FindInstanceFieldWithOffset()
Dart_method.cc92 void ArtMethod::SetDexCacheStrings(ObjectArray<String>* new_dex_cache_strings) { in SetDexCacheStrings()
97 void ArtMethod::SetDexCacheResolvedMethods(ObjectArray<ArtMethod>* new_dex_cache_methods) { in SetDexCacheResolvedMethods()
102 void ArtMethod::SetDexCacheResolvedTypes(ObjectArray<Class>* new_dex_cache_classes) { in SetDexCacheResolvedTypes()
/art/runtime/
Dclass_linker-inl.h159 inline mirror::ObjectArray<T>* ClassLinker::AllocObjectArray(Thread* self, size_t length) { in AllocObjectArray()
160 return mirror::ObjectArray<T>::Alloc(self, GetClassRoot(kObjectArrayClass), length); in AllocObjectArray()
163 inline mirror::ObjectArray<mirror::Class>* ClassLinker::AllocClassArray(Thread* self, in AllocClassArray()
165 return mirror::ObjectArray<mirror::Class>::Alloc(self, GetClassRoot(kClassArrayClass), length); in AllocClassArray()
168 inline mirror::ObjectArray<mirror::String>* ClassLinker::AllocStringArray(Thread* self, in AllocStringArray()
170 return mirror::ObjectArray<mirror::String>::Alloc(self, GetClassRoot(kJavaLangStringArrayClass), in AllocStringArray()
174 inline mirror::ObjectArray<mirror::ArtMethod>* ClassLinker::AllocArtMethodArray(Thread* self, in AllocArtMethodArray()
176 return mirror::ObjectArray<mirror::ArtMethod>::Alloc(self, in AllocArtMethodArray()
186 inline mirror::ObjectArray<mirror::ArtField>* ClassLinker::AllocArtFieldArray(Thread* self, in AllocArtFieldArray()
192 return mirror::ObjectArray<mirror::ArtField>::Alloc( in AllocArtFieldArray()
[all …]
Dclass_linker.h46 template<class T> class ObjectArray; variable
299 mirror::ObjectArray<T>* AllocObjectArray(Thread* self, size_t length)
302 mirror::ObjectArray<mirror::Class>* AllocClassArray(Thread* self, size_t length)
305 mirror::ObjectArray<mirror::String>* AllocStringArray(Thread* self, size_t length)
308 mirror::ObjectArray<mirror::ArtMethod>* AllocArtMethodArray(Thread* self, size_t length)
314 mirror::ObjectArray<mirror::ArtField>* AllocArtFieldArray(Thread* self, size_t length)
317 mirror::ObjectArray<mirror::StackTraceElement>* AllocStackTraceElementArray(Thread* self,
399 mirror::ObjectArray<mirror::Class>* GetClassRoots() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetClassRoots()
400 mirror::ObjectArray<mirror::Class>* class_roots = class_roots_.Read(); in GetClassRoots()
505 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
[all …]
Dimage.cc111 mirror::ObjectArray<mirror::Object>* ImageHeader::GetImageRoots() const { in GetImageRoots()
112 return reinterpret_cast<mirror::ObjectArray<mirror::Object>*>(image_roots_); in GetImageRoots()
Druntime.h51 template<class T> class ObjectArray; variable
325 mirror::ObjectArray<mirror::ArtMethod>* GetDefaultImt()
332 void SetDefaultImt(mirror::ObjectArray<mirror::ArtMethod>* imt) { in SetDefaultImt()
333 default_imt_ = GcRoot<mirror::ObjectArray<mirror::ArtMethod>>(imt); in SetDefaultImt()
336 mirror::ObjectArray<mirror::ArtMethod>* CreateDefaultImt(ClassLinker* cl)
518 GcRoot<mirror::ObjectArray<mirror::ArtMethod>> default_imt_;
Dproxy_test.cc53 mirror::ObjectArray<mirror::ArtMethod>* virtual_methods = interface->GetVirtualMethods(); in GenerateProxyClass()
84 mirror::ObjectArray<mirror::ArtMethod>* virtual_methods = interface->GetVirtualMethods(); in GenerateProxyClass()
169 Handle<mirror::ObjectArray<mirror::ArtField>> instance_fields( in TEST_F()
173 Handle<mirror::ObjectArray<mirror::ArtField>> static_fields( in TEST_F()
Dclass_linker.cc234 AllocClass(self, java_lang_Class.Get(), mirror::ObjectArray<mirror::Class>::ClassSize()))); in InitWithoutImage()
247 AllocClass(self, java_lang_Class.Get(), mirror::ObjectArray<mirror::Object>::ClassSize()))); in InitWithoutImage()
276 class_roots_ = GcRoot<mirror::ObjectArray<mirror::Class> >( in InitWithoutImage()
277 mirror::ObjectArray<mirror::Class>::Alloc(self, object_array_class.Get(), in InitWithoutImage()
339 mirror::ObjectArray<mirror::String>::ClassSize()))); in InitWithoutImage()
345 mirror::ObjectArray<mirror::ArtMethod>::ClassSize()))); in InitWithoutImage()
351 mirror::ObjectArray<mirror::ArtField>::ClassSize()))); in InitWithoutImage()
1604 mirror::ObjectArray<mirror::DexCache>* dex_caches = in InitFromImage()
1608 Handle<mirror::ObjectArray<mirror::Class>> class_roots(hs.NewHandle( in InitFromImage()
1611 class_roots_ = GcRoot<mirror::ObjectArray<mirror::Class>>(class_roots.Get()); in InitFromImage()
[all …]
Druntime-inl.h52 inline mirror::ObjectArray<mirror::ArtMethod>* Runtime::GetDefaultImt() in GetDefaultImt()
/art/runtime/gc/
Dheap_test.cc52 Handle<mirror::ObjectArray<mirror::Object>> array(hs.NewHandle( in TEST_F()
53 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), c.Get(), 2048))); in TEST_F()
/art/runtime/native/
Djava_lang_System.cc118 … mirror::ObjectArray<mirror::Object>* dstObjArray = dstArray->AsObjectArray<mirror::Object>(); in System_arraycopy()
119 … mirror::ObjectArray<mirror::Object>* srcObjArray = srcArray->AsObjectArray<mirror::Object>(); in System_arraycopy()
140 mirror::ObjectArray<mirror::Object>* dstObjArray = dstArray->AsObjectArray<mirror::Object>(); in System_arraycopy()
141 mirror::ObjectArray<mirror::Object>* srcObjArray = srcArray->AsObjectArray<mirror::Object>(); in System_arraycopy()
Djava_lang_reflect_Method.cc50 mirror::ObjectArray<mirror::Class>* declared_exceptions = in Method_getExceptionTypesNative()
/art/compiler/
Dimage_writer.cc66 using ::art::mirror::ObjectArray;
416 ObjectArray<Object>* ImageWriter::CreateImageRoots() const { in CreateImageRoots()
434 Handle<ObjectArray<Object>> dex_caches( in CreateImageRoots()
435 hs.NewHandle(ObjectArray<Object>::Alloc(self, object_array_class.Get(), in CreateImageRoots()
448 Handle<ObjectArray<Object>> image_roots(hs.NewHandle( in CreateImageRoots()
449 ObjectArray<Object>::Alloc(self, object_array_class.Get(), ImageHeader::kImageRootsMax))); in CreateImageRoots()
514 mirror::ObjectArray<mirror::Object>* obj_array = h_obj->AsObjectArray<mirror::Object>(); in WalkFieldsInOrder()
534 Handle<ObjectArray<Object>> image_roots(hs.NewHandle(CreateImageRoots())); in CalculateNewObjectOffsets()
/art/runtime/gc/accounting/
Dspace_bitmap.cc191 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetIFields(); in WalkInstanceFields()
220 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetSFields(); in WalkFieldsInOrder()
234 mirror::ObjectArray<mirror::Object>* obj_array = obj->AsObjectArray<mirror::Object>(); in WalkFieldsInOrder()

123