Home
last modified time | relevance | path

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

12345

/art/runtime/mirror/
Dobject_array.h30 template <typename T> using ConstObjPtrArrayIter = ArrayIter<T, const ObjPtr<ObjectArray<T>>>;
31 template <typename T> using ConstHandleArrayIter = ArrayIter<T, const Handle<ObjectArray<T>>>;
32 template <typename T> using ObjPtrArrayIter = ArrayIter<T, ObjPtr<ObjectArray<T>>>;
33 template <typename T> using HandleArrayIter = ArrayIter<T, Handle<ObjectArray<T>>>;
36 class MANAGED ObjectArray: public Array {
45 static ObjPtr<ObjectArray<T>> Alloc(Thread* self,
51 static ObjPtr<ObjectArray<T>> Alloc(Thread* self,
92 ObjPtr<ObjectArray<T>> src,
99 ObjPtr<ObjectArray<T>> src,
107 ObjPtr<ObjectArray<T>> src,
[all …]
Dobject_array-inl.h40 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 …]
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(Handle<ObjectArray<T>> h_this, in CopyOf()
72 ObjPtr<ObjectArray<T>> new_array = Alloc(self, h_this->GetClass(), new_length, allocator_type); in CopyOf()
Dmethod_type.cc33 ObjPtr<ObjectArray<Class>> AllocatePTypesArray(Thread* self, int count) in AllocatePTypesArray()
35 ObjPtr<Class> class_array_type = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in AllocatePTypesArray()
36 return ObjectArray<Class>::Alloc(self, class_array_type, count); in AllocatePTypesArray()
43 Handle<ObjectArray<Class>> parameter_types) { in Create()
64 Handle<mirror::ObjectArray<mirror::Class>> method_params = hs.NewHandle( in Create()
65 mirror::ObjectArray<mirror::Class>::Alloc( in Create()
66 self, GetClassRoot<mirror::ObjectArray<mirror::Class>>(), num_method_args)); in Create()
82 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CloneWithoutLeadingParameter()
85 Handle<ObjectArray<Class>> dst_ptypes = hs.NewHandle(AllocatePTypesArray(self, dst_ptypes_count)); in CloneWithoutLeadingParameter()
107 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CollectTrailingArguments()
[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_;
155 Handle<mirror::ObjectArray<mirror::Class>> p_types(hs.NewHandle(callee_type->GetPTypes())); in CreateFromShadowFrameAndArgs()
165 ObjPtr<mirror::Class> array_class(GetClassRoot<mirror::ObjectArray<mirror::Object>>()); in CreateFromShadowFrameAndArgs()
167 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle( in CreateFromShadowFrameAndArgs()
168 mirror::ObjectArray<mirror::Object>::Alloc(self, array_class, refs_size))); in CreateFromShadowFrameAndArgs()
202 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle(GetReferences())); in WriteToShadowFrame()
217 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle(GetReferences())); in GetReturnValue()
241 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle(GetReferences())); in SetReturnValue()
Dmethod_type.h60 Handle<ObjectArray<Class>> param_types)
79 ObjPtr<ObjectArray<Class>> GetPTypes() REQUIRES_SHARED(Locks::mutator_lock_);
116 static_assert(std::is_same_v<PTypesType, ObjPtr<ObjectArray<Class>>> ||
117 std::is_same_v<PTypesType, Handle<ObjectArray<Class>>>);
122 using ObjPtrPTypesAccessor = PTypesAccessor<ObjPtr<ObjectArray<Class>>>;
123 using HandlePTypesAccessor = PTypesAccessor<Handle<ObjectArray<Class>>>;
194 HeapReference<ObjectArray<Class>> p_types_;
Dclass_ext.cc45 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()
Demulated_stack_frame-inl.h37 inline ObjPtr<mirror::ObjectArray<mirror::Object>> EmulatedStackFrame::GetReferences() { in GetReferences()
38 return GetFieldObject<mirror::ObjectArray<mirror::Object>>( in GetReferences()
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()
Demulated_stack_frame.h68 ObjPtr<mirror::ObjectArray<mirror::Object>> GetReferences() REQUIRES_SHARED(Locks::mutator_lock_);
84 HeapReference<mirror::ObjectArray<mirror::Object>> references_;
Dmethod_type-inl.h72 inline ObjPtr<ObjectArray<Class>> MethodType::GetPTypes() { in GetPTypes()
73 return GetFieldObject<ObjectArray<Class>>(OFFSET_OF_OBJECT_MEMBER(MethodType, p_types_)); in GetPTypes()
115 Handle<ObjectArray<mirror::Class>> p_types = hs->NewHandle(method_type->GetPTypes()); in NewHandlePTypes()
/art/runtime/native/
Dstring_array_utils.h37 ObjPtr<mirror::ObjectArray<mirror::String>> CreateStringArray( in CreateStringArray()
40 Handle<mirror::ObjectArray<mirror::String>> array = hs.NewHandle( in CreateStringArray()
41 mirror::ObjectArray<mirror::String>::Alloc( in CreateStringArray()
42 self, GetClassRoot<mirror::ObjectArray<mirror::String>>(), size)); in CreateStringArray()
69 ObjPtr<mirror::ObjectArray<mirror::String>> CreateStringArray( in CreateStringArray()
74 inline ObjPtr<mirror::ObjectArray<mirror::String>> CreateStringArray( in CreateStringArray()
Djava_lang_reflect_Method.cc62 Handle<mirror::ObjectArray<mirror::Class>> declared_exceptions = in Method_getExceptionTypes()
65 mirror::ObjectArray<mirror::Class>::Clone(declared_exceptions, soa.Self())); in Method_getExceptionTypes()
67 ObjPtr<mirror::ObjectArray<mirror::Class>> result_array = in Method_getExceptionTypes()
71 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Method_getExceptionTypes()
73 ObjPtr<mirror::ObjectArray<mirror::Class>> empty_array = in Method_getExceptionTypes()
74 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Method_getExceptionTypes()
Ddalvik_system_BaseDexClassLoader.cc31 Handle<mirror::ObjectArray<mirror::String>> array, in append_string()
54 Handle<mirror::ObjectArray<mirror::String>> array = hs.NewHandle( in BaseDexClassLoader_computeClassLoaderContextsNative()
55 mirror::ObjectArray<mirror::String>::Alloc( in BaseDexClassLoader_computeClassLoaderContextsNative()
56 self, GetClassRoot<mirror::ObjectArray<mirror::String>>(), 2 * context_map.size())); in BaseDexClassLoader_computeClassLoaderContextsNative()
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 = hs.NewHandle( in Executable_getParameters0()
[all …]
Djava_lang_reflect_Constructor.cc43 ObjPtr<mirror::ObjectArray<mirror::Class>> result_array = in Constructor_getExceptionTypes()
47 ObjPtr<mirror::Class> class_array_class = GetClassRoot<mirror::ObjectArray<mirror::Class>>(); in Constructor_getExceptionTypes()
49 ObjPtr<mirror::ObjectArray<mirror::Class>> empty_array = in Constructor_getExceptionTypes()
50 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Constructor_getExceptionTypes()
Djava_lang_Class.cc173 Handle<mirror::ObjectArray<mirror::Class>> interfaces = in Class_getInterfacesInternal()
176 mirror::ObjectArray<mirror::Class>::Clone(interfaces, soa.Self())); in Class_getInterfacesInternal()
187 GetClassRoot<mirror::ObjectArray<mirror::Class>>(linker); in Class_getInterfacesInternal()
188 ObjPtr<mirror::ObjectArray<mirror::Class>> ifaces = in Class_getInterfacesInternal()
189 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, num_ifaces); in Class_getInterfacesInternal()
421 soa.Decode<mirror::ObjectArray<mirror::Class>>(args))); in Class_getDeclaredConstructorInternal()
454 auto h_constructors = hs.NewHandle(mirror::ObjectArray<mirror::Constructor>::Alloc( in Class_getDeclaredConstructorsInternal()
455 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Constructor>>(), constructor_count)); in Class_getDeclaredConstructorsInternal()
493 soa.Decode<mirror::ObjectArray<mirror::Class>>(args), in Class_getDeclaredMethodInternal()
523 auto ret = hs.NewHandle(mirror::ObjectArray<mirror::Method>::Alloc( in Class_getDeclaredMethodsUnchecked()
[all …]
/art/compiler/optimizing/
Dintrinsic_objects.cc35 ObjPtr<mirror::ObjectArray<mirror::Object>> live_objects, in FillIntrinsicsObjects()
41 ObjPtr<mirror::ObjectArray<mirror::Object>> cache = in FillIntrinsicsObjects()
42 ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast( in FillIntrinsicsObjects()
55 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects, size_t start_index) { in FillIntrinsicObjects()
74 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects) in HasIntrinsicObjects()
83 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects, in GetValueOfObject()
96 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects, in GetValueOfArrayDataOffset()
100 mirror::ObjectArray<mirror::Object>::OffsetOfElement(kIntrinsicObjectsOffset + start_index); in GetValueOfArrayDataOffset()
Dintrinsic_objects.h35 template <class T> class ObjectArray; variable
76 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects, \
81 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects) \
89 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects, size_t start_index)
97 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects,
102 ObjPtr<mirror::ObjectArray<mirror::Object>> boot_image_live_objects,
/art/runtime/
Dclass_root.h49 template<class T> class ObjectArray; variable
63 … "[Ljava/lang/Class;", mirror::ObjectArray<mirror::Class>)…
64 … "[Ljava/lang/Object;", mirror::ObjectArray<mirror::Object>…
72 …ss, "[Ljava/lang/String;", mirror::ObjectArray<mirror::String>…
73 …ctorArrayClass, "[Ljava/lang/reflect/Constructor;", mirror::ObjectArray<mirror::Constru…
74 …rayClass, "[Ljava/lang/reflect/Field;", mirror::ObjectArray<mirror::Field>)…
75 …rrayClass, "[Ljava/lang/reflect/Method;", mirror::ObjectArray<mirror::Method>…
99 …entArrayClass, "[Ljava/lang/StackTraceElement;", mirror::ObjectArray<mirror::StackTr…
100 …ayClass, "[Ljava/lang/ClassLoader;", mirror::ObjectArray<mirror::ClassLo…
131 ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots)
[all …]
Dhandle.h38 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/
Ddex_file_annotations.h41 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForField(ArtField* field)
43 EXPORT 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 EXPORT ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForMethod(
132 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForClass(Handle<mirror::Class> klass)
134 ObjPtr<mirror::ObjectArray<mirror::Class>> GetDeclaredClasses(Handle<mirror::Class> klass)
146 EXPORT ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForClass(
[all …]
/art/runtime/oat/
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.cc41 ObjPtr<mirror::ObjectArray<T>> AllocObjectArray(Thread* self, size_t length) in AllocObjectArray()
43 return mirror::ObjectArray<T>::Alloc( in AllocObjectArray()
45 GetClassRoot<mirror::ObjectArray<mirror::Object>>(), in AllocObjectArray()
130 Handle<mirror::ObjectArray<mirror::Object>> arr( in TEST_F()
156 using ObjArray = mirror::ObjectArray<mirror::Object>; in TEST_F()
174 Handle<mirror::ObjectArray<mirror::Object>> arr( in TEST_F()
/art/test/1985-structural-redefine-stack-scope/
Dstack_scope.cc60 Handle<mirror::ObjectArray<mirror::Class>> mt_arr( in Java_Main_NativeFieldScopeCheck()
61 hs.NewHandle(mirror::ObjectArray<mirror::Class>::Alloc( in Java_Main_NativeFieldScopeCheck()

12345