Lines Matching refs:vreg

2624 static JDWP::JdwpError FailGetLocalValue(const StackVisitor& visitor, uint16_t vreg,  in FailGetLocalValue()  argument
2627 LOG(ERROR) << "Failed to read " << tag << " local from register v" << vreg in FailGetLocalValue()
2636 uint16_t vreg = DemangleSlot(slot, m, &error); in GetLocalValue() local
2645 if (!visitor.GetVReg(m, vreg, kIntVReg, &intVal)) { in GetLocalValue()
2646 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2648 VLOG(jdwp) << "get boolean local " << vreg << " = " << intVal; in GetLocalValue()
2655 if (!visitor.GetVReg(m, vreg, kIntVReg, &intVal)) { in GetLocalValue()
2656 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2658 VLOG(jdwp) << "get byte local " << vreg << " = " << intVal; in GetLocalValue()
2666 if (!visitor.GetVReg(m, vreg, kIntVReg, &intVal)) { in GetLocalValue()
2667 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2669 VLOG(jdwp) << "get short/char local " << vreg << " = " << intVal; in GetLocalValue()
2676 if (!visitor.GetVReg(m, vreg, kIntVReg, &intVal)) { in GetLocalValue()
2677 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2679 VLOG(jdwp) << "get int local " << vreg << " = " << intVal; in GetLocalValue()
2686 if (!visitor.GetVReg(m, vreg, kFloatVReg, &intVal)) { in GetLocalValue()
2687 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2689 VLOG(jdwp) << "get float local " << vreg << " = " << intVal; in GetLocalValue()
2702 if (!visitor.GetVReg(m, vreg, kReferenceVReg, &intVal)) { in GetLocalValue()
2703 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2706 VLOG(jdwp) << "get " << tag << " object local " << vreg << " = " << o; in GetLocalValue()
2709 reinterpret_cast<uintptr_t>(o), vreg) in GetLocalValue()
2720 if (!visitor.GetVRegPair(m, vreg, kDoubleLoVReg, kDoubleHiVReg, &longVal)) { in GetLocalValue()
2721 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2723 VLOG(jdwp) << "get double local " << vreg << " = " << longVal; in GetLocalValue()
2730 if (!visitor.GetVRegPair(m, vreg, kLongLoVReg, kLongHiVReg, &longVal)) { in GetLocalValue()
2731 return FailGetLocalValue(visitor, vreg, tag); in GetLocalValue()
2733 VLOG(jdwp) << "get long local " << vreg << " = " << longVal; in GetLocalValue()
2784 static JDWP::JdwpError FailSetLocalValue(const StackVisitor& visitor, uint16_t vreg, in FailSetLocalValue() argument
2788 << " (0x" << std::hex << value << ") into register v" << vreg in FailSetLocalValue()
2797 uint16_t vreg = DemangleSlot(slot, m, &error); in SetLocalValue() local
2806 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(value), kIntVReg)) { in SetLocalValue()
2807 return FailSetLocalValue(visitor, vreg, tag, static_cast<uint32_t>(value)); in SetLocalValue()
2813 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(value), kIntVReg)) { in SetLocalValue()
2814 return FailSetLocalValue(visitor, vreg, tag, static_cast<uint32_t>(value)); in SetLocalValue()
2819 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(value), kIntVReg)) { in SetLocalValue()
2820 return FailSetLocalValue(visitor, vreg, tag, static_cast<uint32_t>(value)); in SetLocalValue()
2825 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(value), kFloatVReg)) { in SetLocalValue()
2826 return FailSetLocalValue(visitor, vreg, tag, static_cast<uint32_t>(value)); in SetLocalValue()
2843 if (!visitor.SetVReg(m, vreg, static_cast<uint32_t>(reinterpret_cast<uintptr_t>(o)), in SetLocalValue()
2845 return FailSetLocalValue(visitor, vreg, tag, reinterpret_cast<uintptr_t>(o)); in SetLocalValue()
2851 if (!visitor.SetVRegPair(m, vreg, value, kDoubleLoVReg, kDoubleHiVReg)) { in SetLocalValue()
2852 return FailSetLocalValue(visitor, vreg, tag, value); in SetLocalValue()
2858 if (!visitor.SetVRegPair(m, vreg, value, kLongLoVReg, kLongHiVReg)) { in SetLocalValue()
2859 return FailSetLocalValue(visitor, vreg, tag, value); in SetLocalValue()