Home
last modified time | relevance | path

Searched refs:pointer_size (Results 1 – 11 of 11) sorted by relevance

/art/runtime/mirror/
Dart_method.h245 EntryPointFromInterpreter* GetEntryPointFromInterpreterPtrSize(size_t pointer_size) in GetEntryPointFromInterpreterPtrSize() argument
248 EntryPointFromInterpreterOffset(pointer_size), pointer_size); in GetEntryPointFromInterpreterPtrSize()
259 size_t pointer_size) in SetEntryPointFromInterpreterPtrSize() argument
262 EntryPointFromInterpreterOffset(pointer_size), entry_point_from_interpreter, pointer_size); in SetEntryPointFromInterpreterPtrSize()
266 ALWAYS_INLINE static MemberOffset EntryPointFromPortableCompiledCodeOffset(size_t pointer_size) { in EntryPointFromPortableCompiledCodeOffset() argument
268 PtrSizedFields, entry_point_from_portable_compiled_code_) / sizeof(void*) * pointer_size); in EntryPointFromPortableCompiledCodeOffset()
279 ALWAYS_INLINE const void* GetEntryPointFromPortableCompiledCodePtrSize(size_t pointer_size) in GetEntryPointFromPortableCompiledCodePtrSize() argument
282 EntryPointFromPortableCompiledCodeOffset(pointer_size), pointer_size); in GetEntryPointFromPortableCompiledCodePtrSize()
295 const void* entry_point_from_portable_compiled_code, size_t pointer_size) in SetEntryPointFromPortableCompiledCodePtrSize() argument
298 EntryPointFromPortableCompiledCodeOffset(pointer_size), in SetEntryPointFromPortableCompiledCodePtrSize()
[all …]
Dart_method-inl.h229 inline const void* ArtMethod::GetQuickOatEntryPoint(size_t pointer_size) { in GetQuickOatEntryPoint() argument
234 const void* entry_point = runtime->GetInstrumentation()->GetQuickCodeFor(this, pointer_size); in GetQuickOatEntryPoint()
246 inline const void* ArtMethod::GetQuickOatCodePointer(size_t pointer_size) { in GetQuickOatCodePointer() argument
247 return EntryPointToCodePointer(GetQuickOatEntryPoint(pointer_size)); in GetQuickOatCodePointer()
250 inline const uint8_t* ArtMethod::GetMappingTable(size_t pointer_size) { in GetMappingTable() argument
251 const void* code_pointer = GetQuickOatCodePointer(pointer_size); in GetMappingTable()
255 return GetMappingTable(code_pointer, pointer_size); in GetMappingTable()
258 inline const uint8_t* ArtMethod::GetMappingTable(const void* code_pointer, size_t pointer_size) { in GetMappingTable() argument
260 DCHECK_EQ(code_pointer, GetQuickOatCodePointer(pointer_size)); in GetMappingTable()
269 inline const uint8_t* ArtMethod::GetVmapTable(size_t pointer_size) { in GetVmapTable() argument
[all …]
Dobject.h326 size_t pointer_size) in SetFieldPtrWithSize() argument
328 DCHECK(pointer_size == 4 || pointer_size == 8) << pointer_size; in SetFieldPtrWithSize()
329 if (pointer_size == 4) { in SetFieldPtrWithSize()
360 ALWAYS_INLINE T GetFieldPtrWithSize(MemberOffset field_offset, size_t pointer_size) in GetFieldPtrWithSize() argument
362 DCHECK(pointer_size == 4 || pointer_size == 8) << pointer_size; in GetFieldPtrWithSize()
363 if (pointer_size == 4) { in GetFieldPtrWithSize()
/art/runtime/
Dthread.h490 template<size_t pointer_size>
491 static ThreadOffset<pointer_size> ThinLockIdOffset() { in ThinLockIdOffset()
492 return ThreadOffset<pointer_size>( in ThinLockIdOffset()
497 template<size_t pointer_size>
498 static ThreadOffset<pointer_size> ThreadFlagsOffset() { in ThreadFlagsOffset()
499 return ThreadOffset<pointer_size>( in ThreadFlagsOffset()
505 template<size_t pointer_size>
506 static ThreadOffset<pointer_size> ThreadOffsetFromTlsPtr(size_t tls_ptr_offset) { in ThreadOffsetFromTlsPtr()
510 if (pointer_size == sizeof(void*)) { in ThreadOffsetFromTlsPtr()
513 } else if (pointer_size > sizeof(void*)) { in ThreadOffsetFromTlsPtr()
[all …]
Dhandle_scope.h57 static size_t SizeOf(size_t pointer_size, uint32_t num_references) { in SizeOf() argument
59 size_t header_size = pointer_size + sizeof(number_of_references_); in SizeOf()
108 static size_t LinkOffset(size_t pointer_size) { in LinkOffset() argument
113 static size_t NumberOfReferencesOffset(size_t pointer_size) { in NumberOfReferencesOffset() argument
114 return pointer_size; in NumberOfReferencesOffset()
118 static size_t ReferencesOffset(size_t pointer_size) { in ReferencesOffset() argument
119 return pointer_size + sizeof(number_of_references_); in ReferencesOffset()
Doffsets.h53 template<size_t pointer_size>
Dinstrumentation.h203 const void* GetQuickCodeFor(mirror::ArtMethod* method, size_t pointer_size) const
Dinstrumentation.cc921 const void* Instrumentation::GetQuickCodeFor(mirror::ArtMethod* method, size_t pointer_size) const { in GetQuickCodeFor()
924 const void* code = method->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size); in GetQuickCodeFor()
/art/runtime/entrypoints/quick/
Dquick_entrypoints_enum.h38 template <size_t pointer_size>
39 static ThreadOffset<pointer_size> GetThreadOffset(QuickEntrypointEnum trampoline) { in GetThreadOffset()
43 return QUICK_ENTRYPOINT_OFFSET(pointer_size, p ## name); in GetThreadOffset()
50 return ThreadOffset<pointer_size>(-1); in GetThreadOffset()
/art/compiler/
Dcompilers.cc87 size_t pointer_size = InstructionSetPointerSize(GetCompilerDriver()->GetInstructionSet()); in GetEntryPointOf() local
89 pointer_size)); in GetEntryPointOf()
/art/patchoat/
Dpatchoat.cc531 const size_t pointer_size = InstructionSetPointerSize(isa_); in FixupMethod() local
536 object->GetEntryPointFromPortableCompiledCodePtrSize<kVerifyNone>(pointer_size)); in FixupMethod()
539 pointer_size); in FixupMethod()
543 object->GetEntryPointFromQuickCompiledCodePtrSize<kVerifyNone>(pointer_size)); in FixupMethod()
546 pointer_size); in FixupMethod()
549 object->GetEntryPointFromInterpreterPtrSize<kVerifyNone>(pointer_size)); in FixupMethod()
552 reinterpret_cast<mirror::EntryPointFromInterpreter*>(interpreter + delta_), pointer_size); in FixupMethod()
556 object->GetEntryPointFromJniPtrSize(pointer_size)); in FixupMethod()
559 pointer_size); in FixupMethod()