Lines Matching refs:vreg
2696 static JDWP::JdwpError FailGetLocalValue(const StackVisitor& visitor, uint16_t vreg, in FailGetLocalValue() argument
2699 LOG(ERROR) << "Failed to read " << tag << " local from register v" << vreg in FailGetLocalValue()
2708 uint16_t vreg = DemangleSlot(slot, m, &error); in GetLocalValue() local
2717 if (!visitor.GetVReg(m, vreg, kIntVReg, &intVal)) { in GetLocalValue()
2718 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2720 VLOG(jdwp) << "get boolean local " << vreg << " = " << intVal; in GetLocalValue()
2727 if (!visitor.GetVReg(m, vreg, kIntVReg, &intVal)) { in GetLocalValue()
2728 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2730 VLOG(jdwp) << "get byte local " << vreg << " = " << intVal; in GetLocalValue()
2738 if (!visitor.GetVReg(m, vreg, kIntVReg, &intVal)) { in GetLocalValue()
2739 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2741 VLOG(jdwp) << "get short/char local " << vreg << " = " << intVal; in GetLocalValue()
2748 if (!visitor.GetVReg(m, vreg, kIntVReg, &intVal)) { in GetLocalValue()
2749 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2751 VLOG(jdwp) << "get int local " << vreg << " = " << intVal; in GetLocalValue()
2758 if (!visitor.GetVReg(m, vreg, kFloatVReg, &intVal)) { in GetLocalValue()
2759 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2761 VLOG(jdwp) << "get float local " << vreg << " = " << intVal; in GetLocalValue()
2774 if (!visitor.GetVReg(m, vreg, kReferenceVReg, &intVal)) { in GetLocalValue()
2775 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2778 VLOG(jdwp) << "get " << tag << " object local " << vreg << " = " << o; in GetLocalValue()
2781 reinterpret_cast<uintptr_t>(o), vreg) in GetLocalValue()
2792 if (!visitor.GetVRegPair(m, vreg, kDoubleLoVReg, kDoubleHiVReg, &longVal)) { in GetLocalValue()
2793 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2795 VLOG(jdwp) << "get double local " << vreg << " = " << longVal; in GetLocalValue()
2802 if (!visitor.GetVRegPair(m, vreg, kLongLoVReg, kLongHiVReg, &longVal)) { in GetLocalValue()
2803 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2805 VLOG(jdwp) << "get long local " << vreg << " = " << longVal; in GetLocalValue()
2858 static JDWP::JdwpError FailSetLocalValue(const StackVisitor& visitor, uint16_t vreg, in FailSetLocalValue() argument
2862 << " (0x" << std::hex << value << ") into register v" << vreg in FailSetLocalValue()
2871 uint16_t vreg = DemangleSlot(slot, m, &error); in SetLocalValue() local
2880 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(value), kIntVReg)) { in SetLocalValue()
2881 return FailSetLocalValue(visitor, vreg, tag, static_cast<uint32_t>(value)); in SetLocalValue()
2887 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(value), kIntVReg)) { in SetLocalValue()
2888 return FailSetLocalValue(visitor, vreg, tag, static_cast<uint32_t>(value)); in SetLocalValue()
2893 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(value), kIntVReg)) { in SetLocalValue()
2894 return FailSetLocalValue(visitor, vreg, tag, static_cast<uint32_t>(value)); in SetLocalValue()
2899 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(value), kFloatVReg)) { in SetLocalValue()
2900 return FailSetLocalValue(visitor, vreg, tag, static_cast<uint32_t>(value)); in SetLocalValue()
2917 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(reinterpret_cast<uintptr_t>(o)), in SetLocalValue()
2919 return FailSetLocalValue(visitor, vreg, tag, reinterpret_cast<uintptr_t>(o)); in SetLocalValue()
2925 if (!visitor.SetVRegPair(m, vreg, value, kDoubleLoVReg, kDoubleHiVReg)) { in SetLocalValue()
2926 return FailSetLocalValue(visitor, vreg, tag, value); in SetLocalValue()
2932 if (!visitor.SetVRegPair(m, vreg, value, kLongLoVReg, kLongHiVReg)) { in SetLocalValue()
2933 return FailSetLocalValue(visitor, vreg, tag, value); in SetLocalValue()