Lines Matching refs:pReply
818 JDWP::JdwpError Dbg::GetClassLoader(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply) { in GetClassLoader() argument
824 expandBufAddObjectId(pReply, gRegistry->Add(c->GetClassLoader())); in GetClassLoader()
828 JDWP::JdwpError Dbg::GetModifiers(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply) { in GetModifiers() argument
844 expandBufAdd4BE(pReply, access_flags); in GetModifiers()
1065 JDWP::JdwpError Dbg::GetReflectedType(JDWP::RefTypeId class_id, JDWP::ExpandBuf* pReply) { in GetReflectedType() argument
1073 expandBufAdd1(pReply, type_tag); in GetReflectedType()
1074 expandBufAddRefTypeId(pReply, class_id); in GetReflectedType()
1137 JDWP::JdwpError Dbg::GetReferenceType(JDWP::ObjectId object_id, JDWP::ExpandBuf* pReply) { in GetReferenceType() argument
1147 expandBufAdd1(pReply, type_tag); in GetReferenceType()
1148 expandBufAddRefTypeId(pReply, type_id); in GetReferenceType()
1250 JDWP::ExpandBuf* pReply) { in OutputArray() argument
1262 expandBufAdd1(pReply, element_tag); in OutputArray()
1263 expandBufAdd4BE(pReply, count); in OutputArray()
1267 uint8_t* dst = expandBufAddSpace(pReply, count * width); in OutputArray()
1288 expandBufAdd1(pReply, specific_tag); in OutputArray()
1289 expandBufAddObjectId(pReply, gRegistry->Add(element)); in OutputArray()
1597 JDWP::ExpandBuf* pReply) { in OutputDeclaredFields() argument
1607 expandBufAdd4BE(pReply, instance_field_count + static_field_count); in OutputDeclaredFields()
1612 expandBufAddFieldId(pReply, ToFieldId(f)); in OutputDeclaredFields()
1613 expandBufAddUtf8String(pReply, f->GetName()); in OutputDeclaredFields()
1614 expandBufAddUtf8String(pReply, f->GetTypeDescriptor()); in OutputDeclaredFields()
1617 expandBufAddUtf8String(pReply, genericSignature); in OutputDeclaredFields()
1619 expandBufAdd4BE(pReply, MangleAccessFlags(f->GetAccessFlags())); in OutputDeclaredFields()
1625 JDWP::ExpandBuf* pReply) { in OutputDeclaredMethods() argument
1632 expandBufAdd4BE(pReply, c->NumMethods()); in OutputDeclaredMethods()
1637 expandBufAddMethodId(pReply, ToMethodId(&m)); in OutputDeclaredMethods()
1638 expandBufAddUtf8String(pReply, m.GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetName()); in OutputDeclaredMethods()
1640 pReply, m.GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetSignature().ToString()); in OutputDeclaredMethods()
1643 expandBufAddUtf8String(pReply, generic_signature); in OutputDeclaredMethods()
1645 expandBufAdd4BE(pReply, MangleAccessFlags(m.GetAccessFlags())); in OutputDeclaredMethods()
1650 JDWP::JdwpError Dbg::OutputDeclaredInterfaces(JDWP::RefTypeId class_id, JDWP::ExpandBuf* pReply) { in OutputDeclaredInterfaces() argument
1658 expandBufAdd4BE(pReply, interface_count); in OutputDeclaredInterfaces()
1662 expandBufAddRefTypeId(pReply, gRegistry->AddRefType(interface)); in OutputDeclaredInterfaces()
1667 void Dbg::OutputLineTable(JDWP::RefTypeId, JDWP::MethodId method_id, JDWP::ExpandBuf* pReply) { in OutputLineTable() argument
1681 expandBufAdd8BE(pReply, start); in OutputLineTable()
1682 expandBufAdd8BE(pReply, end); in OutputLineTable()
1685 size_t numLinesOffset = expandBufGetLength(pReply); in OutputLineTable()
1686 expandBufAdd4BE(pReply, 0); in OutputLineTable()
1690 expandBufAdd8BE(pReply, entry.address_); in OutputLineTable()
1691 expandBufAdd4BE(pReply, entry.line_); in OutputLineTable()
1696 JDWP::Set4BE(expandBufGetBuffer(pReply) + numLinesOffset, numItems); in OutputLineTable()
1700 JDWP::ExpandBuf* pReply) { in OutputVariableTable() argument
1706 expandBufAdd4BE(pReply, GetMethodNumArgRegistersIncludingThis(m)); in OutputVariableTable()
1709 size_t variable_count_offset = expandBufGetLength(pReply); in OutputVariableTable()
1710 expandBufAdd4BE(pReply, 0); in OutputVariableTable()
1731 expandBufAdd8BE(pReply, entry.start_address_); in OutputVariableTable()
1732 expandBufAddUtf8String(pReply, entry.name_); in OutputVariableTable()
1733 expandBufAddUtf8String(pReply, entry.descriptor_); in OutputVariableTable()
1735 expandBufAddUtf8String(pReply, entry.signature_); in OutputVariableTable()
1737 expandBufAdd4BE(pReply, entry.end_address_- entry.start_address_); in OutputVariableTable()
1738 expandBufAdd4BE(pReply, slot); in OutputVariableTable()
1744 JDWP::Set4BE(expandBufGetBuffer(pReply) + variable_count_offset, variable_count); in OutputVariableTable()
1748 JDWP::ExpandBuf* pReply) { in OutputMethodReturnValue() argument
1751 OutputJValue(tag, return_value, pReply); in OutputMethodReturnValue()
1755 JDWP::ExpandBuf* pReply) { in OutputFieldValue() argument
1758 OutputJValue(tag, field_value, pReply); in OutputFieldValue()
1831 JDWP::FieldId field_id, JDWP::ExpandBuf* pReply, in GetFieldValueImpl() argument
1886 Dbg::OutputJValue(tag, &field_value, pReply); in GetFieldValueImpl()
1891 JDWP::ExpandBuf* pReply) { in GetFieldValue() argument
1892 return GetFieldValueImpl(0, object_id, field_id, pReply, false); in GetFieldValue()
1896 JDWP::ExpandBuf* pReply) { in GetStaticFieldValue() argument
1897 return GetFieldValueImpl(ref_type_id, 0, field_id, pReply, true); in GetStaticFieldValue()
2039 void Dbg::OutputJValue(JDWP::JdwpTag tag, const JValue* return_value, JDWP::ExpandBuf* pReply) { in OutputJValue() argument
2041 expandBufAdd1(pReply, tag); in OutputJValue()
2043 expandBufAdd1(pReply, return_value->GetI()); in OutputJValue()
2045 expandBufAdd2BE(pReply, return_value->GetI()); in OutputJValue()
2047 expandBufAdd4BE(pReply, return_value->GetI()); in OutputJValue()
2049 expandBufAdd8BE(pReply, return_value->GetJ()); in OutputJValue()
2056 expandBufAdd1(pReply, TagFromObject(soa, value)); in OutputJValue()
2057 expandBufAddObjectId(pReply, gRegistry->Add(value)); in OutputJValue()
2081 JDWP::JdwpError Dbg::GetThreadGroup(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) { in GetThreadGroup() argument
2093 expandBufAddObjectId(pReply, JDWP::ObjectId(0)); in GetThreadGroup()
2103 expandBufAddObjectId(pReply, thread_group_id); in GetThreadGroup()
2132 JDWP::JdwpError Dbg::GetThreadGroupName(JDWP::ObjectId thread_group_id, JDWP::ExpandBuf* pReply) { in GetThreadGroupName() argument
2145 expandBufAddUtf8String(pReply, thread_group_name); in GetThreadGroupName()
2149 JDWP::JdwpError Dbg::GetThreadGroupParent(JDWP::ObjectId thread_group_id, JDWP::ExpandBuf* pReply) { in GetThreadGroupParent() argument
2164 expandBufAddObjectId(pReply, parent_group_id); in GetThreadGroupParent()
2199 JDWP::ExpandBuf* pReply) { in GetThreadGroupChildren() argument
2211 expandBufAdd4BE(pReply, child_thread_ids.size()); in GetThreadGroupChildren()
2213 expandBufAddObjectId(pReply, child_thread_id); in GetThreadGroupChildren()
2221 expandBufAdd4BE(pReply, child_thread_groups_ids.size()); in GetThreadGroupChildren()
2223 expandBufAddObjectId(pReply, child_thread_group_id); in GetThreadGroupChildren()
2302 JDWP::JdwpError Dbg::GetThreadDebugSuspendCount(JDWP::ObjectId thread_id, JDWP::ExpandBuf* pReply) { in GetThreadDebugSuspendCount() argument
2310 expandBufAdd4BE(pReply, thread->GetDebugSuspendCount()); in GetThreadDebugSuspendCount()
2578 JDWP::JdwpError Dbg::GetLocalValues(JDWP::Request* request, JDWP::ExpandBuf* pReply) { in GetLocalValues() argument
2598 expandBufAdd4BE(pReply, slot_count); /* "int values" */ in GetLocalValues()
2606 uint8_t* ptr = expandBufAddSpace(pReply, width + 1); in GetLocalValues()
4012 static void WriteValue(JDWP::ExpandBuf* pReply, int width, uint64_t value) { in WriteValue() argument
4015 expandBufAdd1(pReply, value); in WriteValue()
4018 expandBufAdd2BE(pReply, value); in WriteValue()
4021 expandBufAdd4BE(pReply, value); in WriteValue()
4024 expandBufAdd8BE(pReply, value); in WriteValue()
4150 void Dbg::BuildInvokeReply(JDWP::ExpandBuf* pReply, uint32_t request_id, JDWP::JdwpTag result_tag, in BuildInvokeReply() argument
4153 JDWP::expandBufAddSpace(pReply, kJDWPHeaderLen); in BuildInvokeReply()
4156 JDWP::expandBufAdd1(pReply, result_tag); in BuildInvokeReply()
4158 WriteValue(pReply, width, result_value); in BuildInvokeReply()
4160 JDWP::expandBufAdd1(pReply, JDWP::JT_OBJECT); in BuildInvokeReply()
4161 JDWP::expandBufAddObjectId(pReply, exception); in BuildInvokeReply()
4164 uint8_t* buf = expandBufGetBuffer(pReply); in BuildInvokeReply()
4165 JDWP::Set4BE(buf + kJDWPHeaderSizeOffset, expandBufGetLength(pReply)); in BuildInvokeReply()
4174 JDWP::ExpandBuf* const pReply = pReq->reply; in FinishInvokeMethod() local
4175 CHECK(pReply != nullptr) << "No reply attached to DebugInvokeReq"; in FinishInvokeMethod()
4184 const size_t replyDataLength = expandBufGetLength(pReply) - kJDWPHeaderLen; in FinishInvokeMethod()
4188 gJdwpState->SendRequest(pReply); in FinishInvokeMethod()