Lines Matching refs:reply
59 static JdwpError WriteTaggedObject(ExpandBuf* reply, ObjectId object_id) in WriteTaggedObject() argument
64 expandBufAdd1(reply, tag); in WriteTaggedObject()
65 expandBufAddObjectId(reply, object_id); in WriteTaggedObject()
70 static JdwpError WriteTaggedObjectList(ExpandBuf* reply, const std::vector<ObjectId>& objects) in WriteTaggedObjectList() argument
72 expandBufAdd4BE(reply, objects.size()); in WriteTaggedObjectList()
74 JdwpError rc = WriteTaggedObject(reply, objects[i]); in WriteTaggedObjectList()
316 static JdwpError VM_Capabilities(JdwpState*, Request*, ExpandBuf* reply) in VM_Capabilities() argument
318 expandBufAdd1(reply, true); // canWatchFieldModification in VM_Capabilities()
319 expandBufAdd1(reply, true); // canWatchFieldAccess in VM_Capabilities()
320 expandBufAdd1(reply, true); // canGetBytecodes in VM_Capabilities()
321 expandBufAdd1(reply, true); // canGetSyntheticAttribute in VM_Capabilities()
322 expandBufAdd1(reply, true); // canGetOwnedMonitorInfo in VM_Capabilities()
323 expandBufAdd1(reply, true); // canGetCurrentContendedMonitor in VM_Capabilities()
324 expandBufAdd1(reply, true); // canGetMonitorInfo in VM_Capabilities()
328 static JdwpError VM_CapabilitiesNew(JdwpState*, Request* request, ExpandBuf* reply) in VM_CapabilitiesNew() argument
331 VM_Capabilities(nullptr, request, reply); in VM_CapabilitiesNew()
333 expandBufAdd1(reply, false); // canRedefineClasses in VM_CapabilitiesNew()
334 expandBufAdd1(reply, false); // canAddMethod in VM_CapabilitiesNew()
335 expandBufAdd1(reply, false); // canUnrestrictedlyRedefineClasses in VM_CapabilitiesNew()
336 expandBufAdd1(reply, false); // canPopFrames in VM_CapabilitiesNew()
337 expandBufAdd1(reply, true); // canUseInstanceFilters in VM_CapabilitiesNew()
338 expandBufAdd1(reply, true); // canGetSourceDebugExtension in VM_CapabilitiesNew()
339 expandBufAdd1(reply, false); // canRequestVMDeathEvent in VM_CapabilitiesNew()
340 expandBufAdd1(reply, false); // canSetDefaultStratum in VM_CapabilitiesNew()
341 expandBufAdd1(reply, true); // 1.6: canGetInstanceInfo in VM_CapabilitiesNew()
342 expandBufAdd1(reply, false); // 1.6: canRequestMonitorEvents in VM_CapabilitiesNew()
343 expandBufAdd1(reply, true); // 1.6: canGetMonitorFrameInfo in VM_CapabilitiesNew()
344 expandBufAdd1(reply, false); // 1.6: canUseSourceNameFilters in VM_CapabilitiesNew()
345 expandBufAdd1(reply, false); // 1.6: canGetConstantPool in VM_CapabilitiesNew()
346 expandBufAdd1(reply, false); // 1.6: canForceEarlyReturn in VM_CapabilitiesNew()
350 expandBufAdd1(reply, false); in VM_CapabilitiesNew()
586 static JdwpError RT_Instances(JdwpState*, Request* request, ExpandBuf* reply) in RT_Instances() argument
600 return WriteTaggedObjectList(reply, instances); in RT_Instances()
750 static JdwpError M_Bytecodes(JdwpState*, Request* request, ExpandBuf* reply) in M_Bytecodes() argument
761 expandBufAdd4BE(reply, bytecodes.size()); in M_Bytecodes()
763 expandBufAdd1(reply, bytecodes[i]); in M_Bytecodes()
769 static JdwpError M_IsObsolete(JdwpState*, Request* request, ExpandBuf* reply) in M_IsObsolete() argument
773 expandBufAdd1(reply, Dbg::IsMethodObsolete(id)); in M_IsObsolete()
835 static JdwpError OR_MonitorInfo(JdwpState*, Request* request, ExpandBuf* reply) in OR_MonitorInfo() argument
838 return Dbg::GetMonitorInfo(object_id, reply); in OR_MonitorInfo()
884 static JdwpError OR_ReferringObjects(JdwpState*, Request* request, ExpandBuf* reply) in OR_ReferringObjects() argument
898 return WriteTaggedObjectList(reply, referring_objects); in OR_ReferringObjects()
1058 static JdwpError TR_OwnedMonitors(Request* request, ExpandBuf* reply, bool with_stack_depths) in TR_OwnedMonitors() argument
1069 expandBufAdd4BE(reply, monitors.size()); in TR_OwnedMonitors()
1071 rc = WriteTaggedObject(reply, monitors[i]); in TR_OwnedMonitors()
1076 expandBufAdd4BE(reply, stack_depths[i]); in TR_OwnedMonitors()
1082 static JdwpError TR_OwnedMonitors(JdwpState*, Request* request, ExpandBuf* reply) in TR_OwnedMonitors() argument
1084 return TR_OwnedMonitors(request, reply, false); in TR_OwnedMonitors()
1087 static JdwpError TR_OwnedMonitorsStackDepthInfo(JdwpState*, Request* request, ExpandBuf* reply) in TR_OwnedMonitorsStackDepthInfo() argument
1089 return TR_OwnedMonitors(request, reply, true); in TR_OwnedMonitorsStackDepthInfo()
1092 static JdwpError TR_CurrentContendedMonitor(JdwpState*, Request* request, ExpandBuf* reply) in TR_CurrentContendedMonitor() argument
1101 return WriteTaggedObject(reply, contended_monitor); in TR_CurrentContendedMonitor()
1104 static JdwpError TR_Interrupt(JdwpState*, Request* request, ExpandBuf* reply ATTRIBUTE_UNUSED) in TR_Interrupt()
1384 static JdwpError SF_ThisObject(JdwpState*, Request* request, ExpandBuf* reply) in SF_ThisObject() argument
1395 return WriteTaggedObject(reply, object_id); in SF_ThisObject()
1435 typedef JdwpError (*JdwpRequestHandler)(JdwpState* state, Request* request, ExpandBuf* reply);