Lines Matching refs:pointer_size
490 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()
514 scale = pointer_size / sizeof(void*); in ThreadOffsetFromTlsPtr()
517 DCHECK_GT(sizeof(void*), pointer_size); in ThreadOffsetFromTlsPtr()
519 shrink = sizeof(void*) / pointer_size; in ThreadOffsetFromTlsPtr()
521 return ThreadOffset<pointer_size>(base + ((tls_ptr_offset * scale) / shrink)); in ThreadOffsetFromTlsPtr()
525 template<size_t pointer_size>
526 static ThreadOffset<pointer_size> QuickEntryPointOffset(size_t quick_entrypoint_offset) { in QuickEntryPointOffset()
527 return ThreadOffsetFromTlsPtr<pointer_size>( in QuickEntryPointOffset()
531 template<size_t pointer_size>
532 static ThreadOffset<pointer_size> InterpreterEntryPointOffset(size_t interp_entrypoint_offset) { in InterpreterEntryPointOffset()
533 return ThreadOffsetFromTlsPtr<pointer_size>( in InterpreterEntryPointOffset()
537 template<size_t pointer_size>
538 static ThreadOffset<pointer_size> JniEntryPointOffset(size_t jni_entrypoint_offset) { in JniEntryPointOffset()
539 return ThreadOffsetFromTlsPtr<pointer_size>( in JniEntryPointOffset()
543 template<size_t pointer_size>
544 static ThreadOffset<pointer_size> PortableEntryPointOffset(size_t port_entrypoint_offset) { in PortableEntryPointOffset()
545 return ThreadOffsetFromTlsPtr<pointer_size>( in PortableEntryPointOffset()
549 template<size_t pointer_size>
550 static ThreadOffset<pointer_size> SelfOffset() { in SelfOffset()
551 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, self)); in SelfOffset()
554 template<size_t pointer_size>
555 static ThreadOffset<pointer_size> ExceptionOffset() { in ExceptionOffset()
556 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, exception)); in ExceptionOffset()
559 template<size_t pointer_size>
560 static ThreadOffset<pointer_size> PeerOffset() { in PeerOffset()
561 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, opeer)); in PeerOffset()
565 template<size_t pointer_size>
566 static ThreadOffset<pointer_size> CardTableOffset() { in CardTableOffset()
567 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, card_table)); in CardTableOffset()
570 template<size_t pointer_size>
571 static ThreadOffset<pointer_size> ThreadSuspendTriggerOffset() { in ThreadSuspendTriggerOffset()
572 return ThreadOffsetFromTlsPtr<pointer_size>( in ThreadSuspendTriggerOffset()
612 template<size_t pointer_size>
613 static ThreadOffset<pointer_size> StackEndOffset() { in StackEndOffset()
614 return ThreadOffsetFromTlsPtr<pointer_size>( in StackEndOffset()
618 template<size_t pointer_size>
619 static ThreadOffset<pointer_size> JniEnvOffset() { in JniEnvOffset()
620 return ThreadOffsetFromTlsPtr<pointer_size>( in JniEnvOffset()
624 template<size_t pointer_size>
625 static ThreadOffset<pointer_size> TopOfManagedStackOffset() { in TopOfManagedStackOffset()
626 return ThreadOffsetFromTlsPtr<pointer_size>( in TopOfManagedStackOffset()
631 template<size_t pointer_size>
632 static ThreadOffset<pointer_size> TopOfManagedStackPcOffset() { in TopOfManagedStackPcOffset()
633 return ThreadOffsetFromTlsPtr<pointer_size>( in TopOfManagedStackPcOffset()
658 template<size_t pointer_size>
659 static ThreadOffset<pointer_size> TopShadowFrameOffset() { in TopShadowFrameOffset()
660 return ThreadOffsetFromTlsPtr<pointer_size>( in TopShadowFrameOffset()
700 template<size_t pointer_size>
701 static ThreadOffset<pointer_size> TopHandleScopeOffset() { in TopHandleScopeOffset()
702 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, in TopHandleScopeOffset()