Lines Matching refs:pointer_size
533 template<size_t pointer_size>
534 static ThreadOffset<pointer_size> ThinLockIdOffset() {
535 return ThreadOffset<pointer_size>(
540 template<size_t pointer_size>
541 static ThreadOffset<pointer_size> ThreadFlagsOffset() {
542 return ThreadOffset<pointer_size>(
547 template<size_t pointer_size>
548 static ThreadOffset<pointer_size> IsGcMarkingOffset() {
549 return ThreadOffset<pointer_size>(
558 template<size_t pointer_size>
559 static ThreadOffset<pointer_size> ThreadOffsetFromTlsPtr(size_t tls_ptr_offset) {
563 if (pointer_size == sizeof(void*)) {
566 } else if (pointer_size > sizeof(void*)) {
567 scale = pointer_size / sizeof(void*);
570 DCHECK_GT(sizeof(void*), pointer_size);
572 shrink = sizeof(void*) / pointer_size;
574 return ThreadOffset<pointer_size>(base + ((tls_ptr_offset * scale) / shrink));
579 size_t pointer_size) {
580 DCHECK(pointer_size == 4 || pointer_size == 8) << pointer_size;
581 if (pointer_size == 4) {
588 template<size_t pointer_size>
589 static ThreadOffset<pointer_size> QuickEntryPointOffset(size_t quick_entrypoint_offset) {
590 return ThreadOffsetFromTlsPtr<pointer_size>(
594 template<size_t pointer_size>
595 static ThreadOffset<pointer_size> JniEntryPointOffset(size_t jni_entrypoint_offset) {
596 return ThreadOffsetFromTlsPtr<pointer_size>(
600 template<size_t pointer_size>
601 static ThreadOffset<pointer_size> SelfOffset() {
602 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, self));
605 template<size_t pointer_size>
606 static ThreadOffset<pointer_size> MterpCurrentIBaseOffset() {
607 return ThreadOffsetFromTlsPtr<pointer_size>(
611 template<size_t pointer_size>
612 static ThreadOffset<pointer_size> MterpDefaultIBaseOffset() {
613 return ThreadOffsetFromTlsPtr<pointer_size>(
617 template<size_t pointer_size>
618 static ThreadOffset<pointer_size> MterpAltIBaseOffset() {
619 return ThreadOffsetFromTlsPtr<pointer_size>(
623 template<size_t pointer_size>
624 static ThreadOffset<pointer_size> ExceptionOffset() {
625 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, exception));
628 template<size_t pointer_size>
629 static ThreadOffset<pointer_size> PeerOffset() {
630 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, opeer));
634 template<size_t pointer_size>
635 static ThreadOffset<pointer_size> CardTableOffset() {
636 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, card_table));
639 template<size_t pointer_size>
640 static ThreadOffset<pointer_size> ThreadSuspendTriggerOffset() {
641 return ThreadOffsetFromTlsPtr<pointer_size>(
645 template<size_t pointer_size>
646 static ThreadOffset<pointer_size> ThreadLocalPosOffset() {
647 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, thread_local_pos));
650 template<size_t pointer_size>
651 static ThreadOffset<pointer_size> ThreadLocalEndOffset() {
652 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, thread_local_end));
655 template<size_t pointer_size>
656 static ThreadOffset<pointer_size> ThreadLocalObjectsOffset() {
657 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values, thread_local_objects));
660 template<size_t pointer_size>
661 static ThreadOffset<pointer_size> RosAllocRunsOffset() {
662 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values,
666 template<size_t pointer_size>
667 static ThreadOffset<pointer_size> ThreadLocalAllocStackTopOffset() {
668 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values,
672 template<size_t pointer_size>
673 static ThreadOffset<pointer_size> ThreadLocalAllocStackEndOffset() {
674 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values,
714 template<size_t pointer_size>
715 static ThreadOffset<pointer_size> StackEndOffset() {
716 return ThreadOffsetFromTlsPtr<pointer_size>(
720 template<size_t pointer_size>
721 static ThreadOffset<pointer_size> JniEnvOffset() {
722 return ThreadOffsetFromTlsPtr<pointer_size>(
726 template<size_t pointer_size>
727 static ThreadOffset<pointer_size> TopOfManagedStackOffset() {
728 return ThreadOffsetFromTlsPtr<pointer_size>(
753 template<size_t pointer_size>
754 static ThreadOffset<pointer_size> TopShadowFrameOffset() {
755 return ThreadOffsetFromTlsPtr<pointer_size>(
795 template<size_t pointer_size>
796 static ThreadOffset<pointer_size> TopHandleScopeOffset() {
797 return ThreadOffsetFromTlsPtr<pointer_size>(OFFSETOF_MEMBER(tls_ptr_sized_values,