/art/runtime/mirror/ |
D | object_array-inl.h | 37 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, in Alloc() 52 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, in Alloc() 59 inline T* ObjectArray<T>::Get(int32_t i) { in Get() 68 inline bool ObjectArray<T>::CheckAssignable(T* object) { in CheckAssignable() 80 inline void ObjectArray<T>::Set(int32_t i, T* object) { in Set() 90 inline void ObjectArray<T>::Set(int32_t i, T* object) { in Set() 100 inline void ObjectArray<T>::SetWithoutChecks(int32_t i, T* object) { in SetWithoutChecks() 108 inline void ObjectArray<T>::SetWithoutChecksAndWriteBarrier(int32_t i, T* object) { in SetWithoutChecksAndWriteBarrier() 117 inline T* ObjectArray<T>::GetWithoutChecks(int32_t i) { in GetWithoutChecks() 123 inline void ObjectArray<T>::AssignableMemmove(int32_t dst_pos, ObjectArray<T>* src, in AssignableMemmove() [all …]
|
D | object_array.h | 26 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);
|
D | dex_cache.h | 49 void Init(const DexFile* dex_file, String* location, ObjectArray<String>* strings, 50 ObjectArray<Class>* types, PointerArray* methods, PointerArray* fields, 124 ObjectArray<String>* GetStrings() ALWAYS_INLINE SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetStrings() 125 return GetFieldObject<ObjectArray<String>>(StringsOffset()); in GetStrings() 128 ObjectArray<Class>* GetResolvedTypes() ALWAYS_INLINE SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetResolvedTypes() 129 return GetFieldObject<ObjectArray<Class>>( in GetResolvedTypes() 156 HeapReference<ObjectArray<Class>> resolved_types_; 157 HeapReference<ObjectArray<String>> strings_;
|
D | dex_cache.cc | 34 void DexCache::Init(const DexFile* dex_file, String* location, ObjectArray<String>* strings, in Init() 35 ObjectArray<Class>* resolved_types, PointerArray* resolved_methods, in Init()
|
D | class-inl.h | 721 inline ObjectArray<Class>* Class::GetInterfaces() { in GetInterfaces() 727 return GetFieldObject<ObjectArray<Class>>(field_offset); in GetInterfaces() 730 inline ObjectArray<ObjectArray<Class>>* Class::GetThrows() { in GetThrows() 736 return GetFieldObject<ObjectArray<ObjectArray<Class>>>(field_offset); in GetThrows() 790 mirror::ObjectArray<mirror::Class>* interfaces = GetInterfaces(); in NumDirectInterfaces() 802 inline void Class::SetDexCacheStrings(ObjectArray<String>* new_dex_cache_strings) { in SetDexCacheStrings() 806 inline ObjectArray<String>* Class::GetDexCacheStrings() { in GetDexCacheStrings() 807 return GetFieldObject<ObjectArray<String>>(DexCacheStringsOffset()); in GetDexCacheStrings()
|
D | iftable.h | 26 class MANAGED IfTable FINAL : public ObjectArray<Object> {
|
D | class.h | 1096 ObjectArray<Class>* GetInterfaces() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 1099 ObjectArray<ObjectArray<Class>>* GetThrows() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 1107 ObjectArray<String>* GetDexCacheStrings() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 1108 void SetDexCacheStrings(ObjectArray<String>* new_dex_cache_strings) 1116 Thread* self, Handle<mirror::ObjectArray<mirror::Class>> args) 1196 HeapReference<ObjectArray<String>> dex_cache_strings_;
|
D | throwable.cc | 124 auto* ste_array = down_cast<ObjectArray<StackTraceElement>*>(stack_trace); in Dump()
|
/art/runtime/ |
D | image.cc | 117 mirror::ObjectArray<mirror::Object>* ImageHeader::GetImageRoots() const { in GetImageRoots() 122 mirror::ObjectArray<mirror::Object>* image_roots = in GetImageRoots() 123 reinterpret_cast<mirror::ObjectArray<mirror::Object>*>(image_roots_); in GetImageRoots() 124 mirror::ObjectArray<mirror::Object>* result = in GetImageRoots() 125 ReadBarrier::BarrierForRoot<mirror::ObjectArray<mirror::Object>, kWithReadBarrier, true>( in GetImageRoots()
|
D | class_linker-inl.h | 164 inline mirror::ObjectArray<T>* ClassLinker::AllocObjectArray(Thread* self, size_t length) { in AllocObjectArray() 165 return mirror::ObjectArray<T>::Alloc(self, GetClassRoot(kObjectArrayClass), length); in AllocObjectArray() 168 inline mirror::ObjectArray<mirror::Class>* ClassLinker::AllocClassArray(Thread* self, in AllocClassArray() 170 return mirror::ObjectArray<mirror::Class>::Alloc(self, GetClassRoot(kClassArrayClass), length); in AllocClassArray() 173 inline mirror::ObjectArray<mirror::String>* ClassLinker::AllocStringArray(Thread* self, in AllocStringArray() 175 return mirror::ObjectArray<mirror::String>::Alloc(self, GetClassRoot(kJavaLangStringArrayClass), in AllocStringArray() 188 mirror::ObjectArray<mirror::Class>* class_roots = class_roots_.Read(); in GetClassRoot()
|
D | class_linker.h | 48 template<class T> class ObjectArray; variable 350 mirror::ObjectArray<T>* AllocObjectArray(Thread* self, size_t length) 353 mirror::ObjectArray<mirror::Class>* AllocClassArray(Thread* self, size_t length) 356 mirror::ObjectArray<mirror::String>* AllocStringArray(Thread* self, size_t length) 370 mirror::ObjectArray<mirror::StackTraceElement>* AllocStackTraceElementArray(Thread* self, 445 mirror::ObjectArray<mirror::Class>* GetClassRoots() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetClassRoots() 446 mirror::ObjectArray<mirror::Class>* class_roots = class_roots_.Read(); in GetClassRoots() 581 Handle<mirror::ObjectArray<mirror::Class>> interfaces, 592 Handle<mirror::ObjectArray<mirror::Class>> interfaces, 600 Handle<mirror::ObjectArray<mirror::Class>> interfaces, [all …]
|
D | art_method-inl.h | 121 inline mirror::ObjectArray<mirror::Class>* ArtMethod::GetDexCacheResolvedTypes() { in GetDexCacheResolvedTypes() 138 mirror::ObjectArray<mirror::Class>* other_cache) { in HasSameDexCacheResolvedTypes() 470 mirror::ObjectArray<mirror::Class>* new_dex_cache_types) { in SetDexCacheResolvedTypes() 471 dex_cache_resolved_types_ = GcRoot<mirror::ObjectArray<mirror::Class>>(new_dex_cache_types); in SetDexCacheResolvedTypes() 501 dex_cache_resolved_types_ = GcRoot<mirror::ObjectArray<mirror::Class>>( in CopyFrom()
|
D | art_method.h | 250 void SetDexCacheResolvedTypes(mirror::ObjectArray<mirror::Class>* new_dex_cache_types) 254 bool HasSameDexCacheResolvedTypes(mirror::ObjectArray<mirror::Class>* other_cache) 526 bool EqualParameters(Handle<mirror::ObjectArray<mirror::Class>> params) 538 ALWAYS_INLINE mirror::ObjectArray<mirror::Class>* GetDexCacheResolvedTypes() 550 GcRoot<mirror::ObjectArray<mirror::Class>> dex_cache_resolved_types_;
|
D | utils_test.cc | 120 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F() 130 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F() 139 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F()
|
D | class_linker.cc | 320 auto class_array_class_size = mirror::ObjectArray<mirror::Class>::ClassSize(image_pointer_size_); in InitWithoutImage() 336 mirror::ObjectArray<mirror::Object>::ClassSize(image_pointer_size_)))); in InitWithoutImage() 371 class_roots_ = GcRoot<mirror::ObjectArray<mirror::Class>>( in InitWithoutImage() 372 mirror::ObjectArray<mirror::Class>::Alloc(self, object_array_class.Get(), in InitWithoutImage() 422 mirror::ObjectArray<mirror::String>::ClassSize(image_pointer_size_)))); in InitWithoutImage() 1122 mirror::ObjectArray<mirror::DexCache>* dex_caches = in InitFromImage() 1126 Handle<mirror::ObjectArray<mirror::Class>> class_roots(hs.NewHandle( in InitFromImage() 1129 class_roots_ = GcRoot<mirror::ObjectArray<mirror::Class>>(class_roots.Get()); in InitFromImage() 1211 class_roots_ = GcRoot<mirror::ObjectArray<mirror::Class>>(class_roots.Get()); in InitFromImage() 1372 Handle<mirror::ObjectArray<mirror::Class>>* classes; [all …]
|
D | image.h | 160 mirror::ObjectArray<mirror::Object>* GetImageRoots() const
|
D | intern_table.cc | 163 mirror::ObjectArray<mirror::DexCache>* dex_caches = root->AsObjectArray<mirror::DexCache>(); in AddImageStringsToTable() 195 mirror::ObjectArray<mirror::DexCache>* dex_caches = root->AsObjectArray<mirror::DexCache>(); in LookupStringFromImage()
|
/art/runtime/gc/ |
D | heap_test.cc | 53 Handle<mirror::ObjectArray<mirror::Object>> array(hs2.NewHandle( in TEST_F() 54 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), c.Get(), 2048))); in TEST_F()
|
/art/runtime/native/ |
D | java_lang_System.cc | 118 … 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() 139 mirror::ObjectArray<mirror::Object>* dstObjArray = dstArray->AsObjectArray<mirror::Object>(); in System_arraycopy() 140 mirror::ObjectArray<mirror::Object>* srcObjArray = srcArray->AsObjectArray<mirror::Object>(); in System_arraycopy()
|
D | java_lang_Class.cc | 109 static mirror::ObjectArray<mirror::Field>* GetDeclaredFields( in GetDeclaredFields() 132 auto object_array = hs.NewHandle(mirror::ObjectArray<mirror::Field>::Alloc( in GetDeclaredFields() 266 auto* params = soa.Decode<mirror::ObjectArray<mirror::Class>*>(args); in Class_getDeclaredConstructorInternal() 292 auto h_constructors = hs.NewHandle(mirror::ObjectArray<mirror::Constructor>::Alloc( in Class_getDeclaredConstructorsInternal() 328 auto h_args = hs.NewHandle(soa.Decode<mirror::ObjectArray<mirror::Class>*>(args)); in Class_getDeclaredMethodInternal() 401 auto ret = hs.NewHandle(mirror::ObjectArray<mirror::Method>::Alloc( in Class_getDeclaredMethodsUnchecked() 454 soa.Self(), NullHandle<mirror::ObjectArray<mirror::Class>>()); in Class_newInstance()
|
D | java_lang_reflect_Method.cc | 52 mirror::ObjectArray<mirror::Class>* declared_exceptions = in Method_getExceptionTypesNative()
|
D | java_lang_reflect_Array.cc | 65 mirror::Array* new_array = mirror::ObjectArray<mirror::Object*>::Alloc( in Array_createObjectArray()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 47 mirror::ObjectArray<mirror::Object>* AllocObjectArray( in AllocObjectArray() 53 auto* obj = down_cast<mirror::ObjectArray<mirror::Object>*>( in AllocObjectArray()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 256 soa.Decode<mirror::ObjectArray<mirror::Object>* >(args_jobj)->Set<false>(i, val); in InvokeProxyInvocationHandler() 305 mirror::ObjectArray<mirror::Class>* declared_exceptions = in InvokeProxyInvocationHandler()
|
/art/compiler/ |
D | image_writer.cc | 66 using ::art::mirror::ObjectArray; 735 ObjectArray<Object>* ImageWriter::CreateImageRoots() const { in CreateImageRoots() 753 Handle<ObjectArray<Object>> dex_caches( in CreateImageRoots() 754 hs.NewHandle(ObjectArray<Object>::Alloc(self, object_array_class.Get(), in CreateImageRoots() 768 ObjectArray<Object>::Alloc(self, object_array_class.Get(), ImageHeader::kImageRootsMax))); in CreateImageRoots() 860 mirror::ObjectArray<mirror::Object>* obj_array = h_obj->AsObjectArray<mirror::Object>(); in WalkFieldsInOrder() 905 Handle<ObjectArray<Object>> image_roots(hs.NewHandle(CreateImageRoots())); in CalculateNewObjectOffsets()
|