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