Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Ddex_cache.h47 ObjectArray<String>* strings,
48 ObjectArray<Class>* types,
49 ObjectArray<ArtMethod>* methods,
50 ObjectArray<ArtField>* fields,
51 ObjectArray<StaticStorageBase>* initialized_static_storage)
131 ObjectArray<String>* GetStrings() const in GetStrings()
133 return GetFieldObject< ObjectArray<String>* >(StringsOffset(), false); in GetStrings()
136 ObjectArray<Class>* GetResolvedTypes() const in GetResolvedTypes()
138 return GetFieldObject< ObjectArray<Class>* >( in GetResolvedTypes()
142 ObjectArray<ArtMethod>* GetResolvedMethods() const in GetResolvedMethods()
[all …]
Dproxy.h32 ObjectArray<Class>* GetInterfaces() { in GetInterfaces()
36 ObjectArray<ObjectArray<Class> >* GetThrows() { in GetThrows()
41 ObjectArray<Class>* interfaces_;
42 ObjectArray<ObjectArray<Class> >* throws_;
Dclass-inl.h57 inline ObjectArray<ArtMethod>* Class::GetDirectMethods() const { in GetDirectMethods()
59 return GetFieldObject<ObjectArray<ArtMethod>*>( in GetDirectMethods()
63 inline void Class::SetDirectMethods(ObjectArray<ArtMethod>* new_direct_methods) in SetDirectMethods()
65 DCHECK(NULL == GetFieldObject<ObjectArray<ArtMethod>*>( in SetDirectMethods()
79 ObjectArray<ArtMethod>* direct_methods = in SetDirectMethod()
80 GetFieldObject<ObjectArray<ArtMethod>*>( in SetDirectMethod()
90 inline ObjectArray<ArtMethod>* Class::GetVirtualMethods() const { in GetVirtualMethods()
92 return GetFieldObject<ObjectArray<ArtMethod>*>( in GetVirtualMethods()
96 inline void Class::SetVirtualMethods(ObjectArray<ArtMethod>* new_virtual_methods) { in SetVirtualMethods()
122 ObjectArray<ArtMethod>* virtual_methods = in SetVirtualMethod()
[all …]
Dobject_array-inl.h32 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, int32_t lengt… in Alloc()
42 inline T* ObjectArray<T>::Get(int32_t i) const { in Get()
51 inline bool ObjectArray<T>::CheckAssignable(T* object) { in CheckAssignable()
63 inline void ObjectArray<T>::Set(int32_t i, T* object) { in Set()
73 inline void ObjectArray<T>::SetWithoutChecks(int32_t i, T* object) { in SetWithoutChecks()
80 inline void ObjectArray<T>::SetPtrWithoutChecks(int32_t i, T* object) { in SetPtrWithoutChecks()
87 inline T* ObjectArray<T>::GetWithoutChecks(int32_t i) const { in GetWithoutChecks()
94 inline void ObjectArray<T>::Copy(const ObjectArray<T>* src, int src_pos, in Copy()
95 ObjectArray<T>* dst, int dst_pos, in Copy()
136 inline ObjectArray<T>* ObjectArray<T>::CopyOf(Thread* self, int32_t new_length) { in CopyOf()
[all …]
Diftable.h25 class MANAGED IfTable : public ObjectArray<Object> {
35 ObjectArray<ArtMethod>* GetMethodArray(int32_t i) const 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 {
28 static ObjectArray<T>* Alloc(Thread* self, Class* object_array_class, int32_t length)
49 static void Copy(const ObjectArray<T>* src, int src_pos,
50 ObjectArray<T>* dst, int dst_pos,
54 ObjectArray<T>* CopyOf(Thread* self, int32_t new_length)
58 DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectArray);
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()
40 ObjectArray<StaticStorageBase>* initialized_static_storage) { in Init()
72 ObjectArray<ArtMethod>* resolved_methods = GetResolvedMethods(); in Fixup()
Dart_method-inl.h61 inline ObjectArray<String>* ArtMethod::GetDexCacheStrings() const { in GetDexCacheStrings()
62 return GetFieldObject<ObjectArray<String>*>( in GetDexCacheStrings()
66 inline ObjectArray<ArtMethod>* ArtMethod::GetDexCacheResolvedMethods() const { in GetDexCacheResolvedMethods()
67 return GetFieldObject<ObjectArray<ArtMethod>*>( in GetDexCacheResolvedMethods()
71 inline ObjectArray<Class>* ArtMethod::GetDexCacheResolvedTypes() const { in GetDexCacheResolvedTypes()
72 return GetFieldObject<ObjectArray<Class>*>( in GetDexCacheResolvedTypes()
76 inline ObjectArray<StaticStorageBase>* ArtMethod::GetDexCacheInitializedStaticStorage() const { in GetDexCacheInitializedStaticStorage()
77 return GetFieldObject<ObjectArray<StaticStorageBase>*>( in GetDexCacheInitializedStaticStorage()
Dart_method.h166 ObjectArray<String>* GetDexCacheStrings() const;
167 void SetDexCacheStrings(ObjectArray<String>* new_dex_cache_strings)
187 ObjectArray<ArtMethod>* GetDexCacheResolvedMethods() const;
188 void SetDexCacheResolvedMethods(ObjectArray<ArtMethod>* new_dex_cache_methods)
191 ObjectArray<Class>* GetDexCacheResolvedTypes() const;
192 void SetDexCacheResolvedTypes(ObjectArray<Class>* new_dex_cache_types)
195 ObjectArray<StaticStorageBase>* GetDexCacheInitializedStaticStorage() const;
196 void SetDexCacheInitializedStaticStorage(ObjectArray<StaticStorageBase>* new_value)
384 ObjectArray<StaticStorageBase>* dex_cache_initialized_static_storage_;
387 ObjectArray<ArtMethod>* dex_cache_resolved_methods_;
[all …]
Dclass.h505 ObjectArray<ArtMethod>* GetDirectMethods() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
507 void SetDirectMethods(ObjectArray<ArtMethod>* new_direct_methods)
518 ObjectArray<ArtMethod>* GetVirtualMethods() const
521 void SetVirtualMethods(ObjectArray<ArtMethod>* new_virtual_methods)
536 ObjectArray<ArtMethod>* GetVTable() const;
538 ObjectArray<ArtMethod>* GetVTableDuringLinking() const;
540 void SetVTable(ObjectArray<ArtMethod>* new_vtable)
603 ObjectArray<ArtField>* GetIFields() const;
605 void SetIFields(ObjectArray<ArtField>* new_ifields) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
665 ObjectArray<ArtField>* GetSFields() const;
[all …]
Dobject.cc63 const ObjectArray<Object>* array = copy->AsObjectArray<Object>(); in Clone()
93 ObjectArray<ArtField>* fields = cur->GetIFields(); in CheckFieldAssignmentImpl()
111 ObjectArray<ArtField>* fields = AsClass()->GetSFields(); in CheckFieldAssignmentImpl()
Dthrowable.cc63 ObjectArray<Object>* method_trace = down_cast<ObjectArray<Object>*>(stack_state); in Dump()
Dobject-inl.h106 inline ObjectArray<T>* Object::AsObjectArray() { in AsObjectArray()
108 return down_cast<ObjectArray<T>*>(this); in AsObjectArray()
112 inline const ObjectArray<T>* Object::AsObjectArray() const { in AsObjectArray()
114 return down_cast<const ObjectArray<T>*>(this); in AsObjectArray()
Dart_method.cc67 void ArtMethod::SetDexCacheStrings(ObjectArray<String>* new_dex_cache_strings) { in SetDexCacheStrings()
72 void ArtMethod::SetDexCacheResolvedMethods(ObjectArray<ArtMethod>* new_dex_cache_methods) { in SetDexCacheResolvedMethods()
77 void ArtMethod::SetDexCacheResolvedTypes(ObjectArray<Class>* new_dex_cache_classes) { in SetDexCacheResolvedTypes()
82 void ArtMethod::SetDexCacheInitializedStaticStorage(ObjectArray<StaticStorageBase>* new_value) { in SetDexCacheInitializedStaticStorage()
112 ObjectArray<ArtMethod>* super_class_vtable = super_class->GetVTable(); in FindOverriddenMethod()
Dobject.h38 template<class T> class ObjectArray; variable
130 ObjectArray<T>* AsObjectArray();
133 const ObjectArray<T>* AsObjectArray() const;
/art/runtime/native/
Djava_lang_reflect_Proxy.cc31 mirror::ObjectArray<mirror::Class>* interfaces = in Proxy_generateProxy()
32 soa.Decode<mirror::ObjectArray<mirror::Class>*>(javaInterfaces); in Proxy_generateProxy()
34 mirror::ObjectArray<mirror::ArtMethod>* methods = in Proxy_generateProxy()
35 soa.Decode<mirror::ObjectArray<mirror::ArtMethod>*>(javaMethods); in Proxy_generateProxy()
36 mirror::ObjectArray<mirror::ObjectArray<mirror::Class> >* throws = in Proxy_generateProxy()
37 soa.Decode<mirror::ObjectArray<mirror::ObjectArray<mirror::Class> >*>(javaThrows); in Proxy_generateProxy()
Djava_lang_reflect_Method.cc56 mirror::ObjectArray<mirror::Class>* declared_exceptions = in Method_getExceptionTypesNative()
/art/runtime/
Dclass_linker-inl.h97 inline mirror::ObjectArray<T>* ClassLinker::AllocObjectArray(Thread* self, size_t length) { in AllocObjectArray()
98 return mirror::ObjectArray<T>::Alloc(self, GetClassRoot(kObjectArrayClass), length); in AllocObjectArray()
101 inline mirror::ObjectArray<mirror::Class>* ClassLinker::AllocClassArray(Thread* self, in AllocClassArray()
103 return mirror::ObjectArray<mirror::Class>::Alloc(self, GetClassRoot(kClassArrayClass), length); in AllocClassArray()
106 inline mirror::ObjectArray<mirror::String>* ClassLinker::AllocStringArray(Thread* self, in AllocStringArray()
108 return mirror::ObjectArray<mirror::String>::Alloc(self, GetClassRoot(kJavaLangStringArrayClass), in AllocStringArray()
112 inline mirror::ObjectArray<mirror::ArtMethod>* ClassLinker::AllocArtMethodArray(Thread* self, in AllocArtMethodArray()
114 return mirror::ObjectArray<mirror::ArtMethod>::Alloc(self, in AllocArtMethodArray()
123 inline mirror::ObjectArray<mirror::ArtField>* ClassLinker::AllocArtFieldArray(Thread* self, in AllocArtFieldArray()
125 return mirror::ObjectArray<mirror::ArtField>::Alloc(self, in AllocArtFieldArray()
Dclass_linker.h42 template<class T> class ObjectArray; variable
287 mirror::ObjectArray<T>* AllocObjectArray(Thread* self, size_t length)
290 mirror::ObjectArray<mirror::Class>* AllocClassArray(Thread* self, size_t length)
293 mirror::ObjectArray<mirror::String>* AllocStringArray(Thread* self, size_t length)
296 mirror::ObjectArray<mirror::ArtMethod>* AllocArtMethodArray(Thread* self, size_t length)
302 mirror::ObjectArray<mirror::ArtField>* AllocArtFieldArray(Thread* self, size_t length)
305 mirror::ObjectArray<mirror::StackTraceElement>* AllocStackTraceElementArray(Thread* self,
318 …mirror::Class* CreateProxyClass(mirror::String* name, mirror::ObjectArray<mirror::Class>* interfac…
320 mirror::ObjectArray<mirror::ArtMethod>* methods,
321 mirror::ObjectArray<mirror::ObjectArray<mirror::Class> >* throws)
[all …]
Dimage.cc80 mirror::ObjectArray<mirror::Object>* ImageHeader::GetImageRoots() const { in GetImageRoots()
81 return reinterpret_cast<mirror::ObjectArray<mirror::Object>*>(image_roots_); in GetImageRoots()
Dclass_linker.cc252 …class_roots_ = mirror::ObjectArray<mirror::Class>::Alloc(self, object_array_class.get(), kClassRoo… in InitFromCompiler()
1027 mirror::ObjectArray<mirror::DexCache>* dex_caches = in InitFromImage()
1030 mirror::ObjectArray<mirror::Class>* class_roots = in InitFromImage()
1191 SirtRef<mirror::ObjectArray<mirror::String> > in AllocDexCache()
1196 SirtRef<mirror::ObjectArray<mirror::Class> > in AllocDexCache()
1201 SirtRef<mirror::ObjectArray<mirror::ArtMethod> > in AllocDexCache()
1206 SirtRef<mirror::ObjectArray<mirror::ArtField> > in AllocDexCache()
1211 SirtRef<mirror::ObjectArray<mirror::StaticStorageBase> > in AllocDexCache()
1257 mirror::ObjectArray<mirror::StackTraceElement>* ClassLinker::AllocStackTraceElementArray(Thread* se… in AllocStackTraceElementArray()
1259 return mirror::ObjectArray<mirror::StackTraceElement>::Alloc(self, in AllocStackTraceElementArray()
[all …]
/art/runtime/gc/
Dheap_test.cc48 SirtRef<mirror::ObjectArray<mirror::Object> > array(soa.Self(), in TEST_F()
49 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), c, 2048)); in TEST_F()
/art/compiler/
Dimage_writer.h147 mirror::ObjectArray<mirror::Object>* CreateImageRoots() const
162 void FixupObjectArray(const mirror::ObjectArray<mirror::Object>* orig,
163 mirror::ObjectArray<mirror::Object>* copy)
Dimage_writer.cc62 using ::art::mirror::ObjectArray;
370 ObjectArray<Object>* ImageWriter::CreateImageRoots() const { in CreateImageRoots()
377 ObjectArray<Object>* dex_caches = ObjectArray<Object>::Alloc(self, object_array_class, in CreateImageRoots()
385 SirtRef<ObjectArray<Object> > in CreateImageRoots()
387 ObjectArray<Object>::Alloc(self, object_array_class, in CreateImageRoots()
411 SirtRef<ObjectArray<Object> > image_roots(self, CreateImageRoots()); in CalculateNewObjectOffsets()
501 FixupObjectArray(orig->AsObjectArray<Object>(), down_cast<ObjectArray<Object>*>(copy)); in FixupObject()
576 void ImageWriter::FixupObjectArray(const ObjectArray<Object>* orig, ObjectArray<Object>* copy) { in FixupObjectArray()
/art/runtime/gc/accounting/
Dspace_bitmap.cc189 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetIFields(); in WalkInstanceFields()
219 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetSFields(); in WalkFieldsInOrder()
234 mirror::ObjectArray<mirror::Object>* obj_array = obj->AsObjectArray<mirror::Object>(); in WalkFieldsInOrder()

12