Lines Matching refs:pointer_size
131 inline ArraySlice<ArtMethod> Class::GetDirectMethodsSlice(PointerSize pointer_size) { in GetDirectMethodsSlice() argument
133 return GetDirectMethodsSliceUnchecked(pointer_size); in GetDirectMethodsSlice()
136 inline ArraySlice<ArtMethod> Class::GetDirectMethodsSliceUnchecked(PointerSize pointer_size) { in GetDirectMethodsSliceUnchecked() argument
138 pointer_size, in GetDirectMethodsSliceUnchecked()
144 inline ArraySlice<ArtMethod> Class::GetDeclaredMethodsSlice(PointerSize pointer_size) { in GetDeclaredMethodsSlice() argument
146 return GetDeclaredMethodsSliceUnchecked(pointer_size); in GetDeclaredMethodsSlice()
149 inline ArraySlice<ArtMethod> Class::GetDeclaredMethodsSliceUnchecked(PointerSize pointer_size) { in GetDeclaredMethodsSliceUnchecked() argument
151 pointer_size, in GetDeclaredMethodsSliceUnchecked()
157 inline ArraySlice<ArtMethod> Class::GetDeclaredVirtualMethodsSlice(PointerSize pointer_size) { in GetDeclaredVirtualMethodsSlice() argument
159 return GetDeclaredVirtualMethodsSliceUnchecked(pointer_size); in GetDeclaredVirtualMethodsSlice()
163 PointerSize pointer_size) { in GetDeclaredVirtualMethodsSliceUnchecked() argument
165 pointer_size, in GetDeclaredVirtualMethodsSliceUnchecked()
171 inline ArraySlice<ArtMethod> Class::GetVirtualMethodsSlice(PointerSize pointer_size) { in GetVirtualMethodsSlice() argument
173 return GetVirtualMethodsSliceUnchecked(pointer_size); in GetVirtualMethodsSlice()
176 inline ArraySlice<ArtMethod> Class::GetVirtualMethodsSliceUnchecked(PointerSize pointer_size) { in GetVirtualMethodsSliceUnchecked() argument
179 pointer_size, in GetVirtualMethodsSliceUnchecked()
185 inline ArraySlice<ArtMethod> Class::GetCopiedMethodsSlice(PointerSize pointer_size) { in GetCopiedMethodsSlice() argument
187 return GetCopiedMethodsSliceUnchecked(pointer_size); in GetCopiedMethodsSlice()
190 inline ArraySlice<ArtMethod> Class::GetCopiedMethodsSliceUnchecked(PointerSize pointer_size) { in GetCopiedMethodsSliceUnchecked() argument
193 pointer_size, in GetCopiedMethodsSliceUnchecked()
204 inline ArraySlice<ArtMethod> Class::GetMethodsSlice(PointerSize pointer_size) { in GetMethodsSlice() argument
207 return GetMethodsSliceRangeUnchecked(methods, pointer_size, 0, NumMethods(methods)); in GetMethodsSlice()
212 PointerSize pointer_size, in GetMethodsSliceRangeUnchecked() argument
223 size_t method_size = ArtMethod::Size(pointer_size); in GetMethodsSliceRangeUnchecked()
224 size_t method_alignment = ArtMethod::Alignment(pointer_size); in GetMethodsSliceRangeUnchecked()
239 inline ArtMethod* Class::GetDirectMethodUnchecked(size_t i, PointerSize pointer_size) { in GetDirectMethodUnchecked() argument
240 CheckPointerSize(pointer_size); in GetDirectMethodUnchecked()
241 return &GetDirectMethodsSliceUnchecked(pointer_size)[i]; in GetDirectMethodUnchecked()
244 inline ArtMethod* Class::GetDirectMethod(size_t i, PointerSize pointer_size) { in GetDirectMethod() argument
245 CheckPointerSize(pointer_size); in GetDirectMethod()
246 return &GetDirectMethodsSlice(pointer_size)[i]; in GetDirectMethod()
270 inline ArtMethod* Class::GetVirtualMethod(size_t i, PointerSize pointer_size) { in GetVirtualMethod() argument
271 CheckPointerSize(pointer_size); in GetVirtualMethod()
274 return GetVirtualMethodUnchecked(i, pointer_size); in GetVirtualMethod()
277 inline ArtMethod* Class::GetVirtualMethodDuringLinking(size_t i, PointerSize pointer_size) { in GetVirtualMethodDuringLinking() argument
278 CheckPointerSize(pointer_size); in GetVirtualMethodDuringLinking()
280 return GetVirtualMethodUnchecked(i, pointer_size); in GetVirtualMethodDuringLinking()
283 inline ArtMethod* Class::GetVirtualMethodUnchecked(size_t i, PointerSize pointer_size) { in GetVirtualMethodUnchecked() argument
284 CheckPointerSize(pointer_size); in GetVirtualMethodUnchecked()
285 return &GetVirtualMethodsSliceUnchecked(pointer_size)[i]; in GetVirtualMethodUnchecked()
332 inline ArtMethod* Class::GetVTableEntry(uint32_t i, PointerSize pointer_size) { in GetVTableEntry() argument
334 return GetEmbeddedVTableEntry(i, pointer_size); in GetVTableEntry()
338 return vtable->GetElementPtrSize<ArtMethod*, kVerifyFlags>(i, pointer_size); in GetVTableEntry()
350 inline ImTable* Class::GetImt(PointerSize pointer_size) { in GetImt() argument
351 return GetFieldPtrWithSize<ImTable*>(ImtPtrOffset(pointer_size), pointer_size); in GetImt()
354 inline void Class::SetImt(ImTable* imt, PointerSize pointer_size) { in SetImt() argument
355 return SetFieldPtrWithSize<false>(ImtPtrOffset(pointer_size), imt, pointer_size); in SetImt()
358 inline MemberOffset Class::EmbeddedVTableEntryOffset(uint32_t i, PointerSize pointer_size) { in EmbeddedVTableEntryOffset() argument
360 EmbeddedVTableOffset(pointer_size).Uint32Value() + i * VTableEntrySize(pointer_size)); in EmbeddedVTableEntryOffset()
363 inline ArtMethod* Class::GetEmbeddedVTableEntry(uint32_t i, PointerSize pointer_size) { in GetEmbeddedVTableEntry() argument
364 return GetFieldPtrWithSize<ArtMethod*>(EmbeddedVTableEntryOffset(i, pointer_size), pointer_size); in GetEmbeddedVTableEntry()
368 uint32_t i, ArtMethod* method, PointerSize pointer_size) { in SetEmbeddedVTableEntryUnchecked() argument
369 SetFieldPtrWithSize<false>(EmbeddedVTableEntryOffset(i, pointer_size), method, pointer_size); in SetEmbeddedVTableEntryUnchecked()
372 inline void Class::SetEmbeddedVTableEntry(uint32_t i, ArtMethod* method, PointerSize pointer_size) { in SetEmbeddedVTableEntry() argument
374 CHECK_EQ(method, vtable->GetElementPtrSize<ArtMethod*>(i, pointer_size)); in SetEmbeddedVTableEntry()
375 SetEmbeddedVTableEntryUnchecked(i, method, pointer_size); in SetEmbeddedVTableEntry()
596 PointerSize pointer_size) { in FindVirtualMethodForInterface() argument
602 return FindVirtualMethodForVirtual(method, pointer_size); in FindVirtualMethodForInterface()
611 method->GetMethodIndex(), pointer_size); in FindVirtualMethodForInterface()
617 inline ArtMethod* Class::FindVirtualMethodForVirtual(ArtMethod* method, PointerSize pointer_size) { in FindVirtualMethodForVirtual() argument
622 return GetVTableEntry(method->GetMethodIndex(), pointer_size); in FindVirtualMethodForVirtual()
625 inline ArtMethod* Class::FindVirtualMethodForSuper(ArtMethod* method, PointerSize pointer_size) { in FindVirtualMethodForSuper() argument
627 return GetSuperClass()->GetVTableEntry(method->GetMethodIndex(), pointer_size); in FindVirtualMethodForSuper()
631 PointerSize pointer_size) { in FindVirtualMethodForVirtualOrInterface() argument
636 return FindVirtualMethodForInterface(method, pointer_size); in FindVirtualMethodForVirtualOrInterface()
638 return FindVirtualMethodForVirtual(method, pointer_size); in FindVirtualMethodForVirtualOrInterface()
674 inline MemberOffset Class::GetFirstReferenceStaticFieldOffset(PointerSize pointer_size) { in GetFirstReferenceStaticFieldOffset() argument
680 true, GetEmbeddedVTableLength<kVerifyFlags>(), 0, 0, 0, 0, 0, pointer_size); in GetFirstReferenceStaticFieldOffset()
686 PointerSize pointer_size) { in GetFirstReferenceStaticFieldOffsetDuringLinking() argument
692 0, 0, 0, 0, 0, pointer_size); in GetFirstReferenceStaticFieldOffsetDuringLinking()
787 PointerSize pointer_size) { in ComputeClassSize() argument
792 size = RoundUp(size + sizeof(uint32_t), static_cast<size_t>(pointer_size)); in ComputeClassSize()
793 size += static_cast<size_t>(pointer_size); // size of pointer to IMT in ComputeClassSize()
794 size += num_vtable_entries * VTableEntrySize(pointer_size); in ComputeClassSize()
944 inline ArraySlice<ArtMethod> Class::GetDirectMethods(PointerSize pointer_size) { in GetDirectMethods() argument
945 CheckPointerSize(pointer_size); in GetDirectMethods()
946 return GetDirectMethodsSliceUnchecked(pointer_size); in GetDirectMethods()
949 inline ArraySlice<ArtMethod> Class::GetDeclaredMethods(PointerSize pointer_size) { in GetDeclaredMethods() argument
950 return GetDeclaredMethodsSliceUnchecked(pointer_size); in GetDeclaredMethods()
953 inline ArraySlice<ArtMethod> Class::GetDeclaredVirtualMethods(PointerSize pointer_size) { in GetDeclaredVirtualMethods() argument
954 return GetDeclaredVirtualMethodsSliceUnchecked(pointer_size); in GetDeclaredVirtualMethods()
957 inline ArraySlice<ArtMethod> Class::GetVirtualMethods(PointerSize pointer_size) { in GetVirtualMethods() argument
958 CheckPointerSize(pointer_size); in GetVirtualMethods()
959 return GetVirtualMethodsSliceUnchecked(pointer_size); in GetVirtualMethods()
962 inline ArraySlice<ArtMethod> Class::GetCopiedMethods(PointerSize pointer_size) { in GetCopiedMethods() argument
963 CheckPointerSize(pointer_size); in GetCopiedMethods()
964 return GetCopiedMethodsSliceUnchecked(pointer_size); in GetCopiedMethods()
968 inline ArraySlice<ArtMethod> Class::GetMethods(PointerSize pointer_size) { in GetMethods() argument
969 CheckPointerSize(pointer_size); in GetMethods()
971 return GetMethodsSliceRangeUnchecked(methods, pointer_size, 0u, NumMethods(methods)); in GetMethods()
990 inline MemberOffset Class::EmbeddedVTableOffset(PointerSize pointer_size) { in EmbeddedVTableOffset() argument
991 return MemberOffset(ImtPtrOffset(pointer_size).Uint32Value() + static_cast<size_t>(pointer_size)); in EmbeddedVTableOffset()
994 inline void Class::CheckPointerSize(PointerSize pointer_size) { in CheckPointerSize() argument
995 DCHECK_EQ(pointer_size, Runtime::Current()->GetClassLinker()->GetImagePointerSize()); in CheckPointerSize()
1102 Class* dest, PointerSize pointer_size, const Visitor& visitor, MemberOffset member_offset) { in FixupNativePointer() argument
1105 T old_value = GetFieldPtrWithSize<T, kVerifyFlags>(member_offset, pointer_size); in FixupNativePointer()
1110 kVerifyNone>(member_offset, new_value, pointer_size); in FixupNativePointer()
1116 PointerSize pointer_size, in FixupNativePointers() argument
1120 dest, pointer_size, visitor, OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); in FixupNativePointers()
1122 dest, pointer_size, visitor, OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); in FixupNativePointers()
1125 dest, pointer_size, visitor, OFFSET_OF_OBJECT_MEMBER(Class, methods_)); in FixupNativePointers()
1130 dest, pointer_size, visitor, EmbeddedVTableEntryOffset(i, pointer_size)); in FixupNativePointers()
1135 dest, pointer_size, visitor, ImtPtrOffset(pointer_size)); in FixupNativePointers()