Lines Matching refs:reply
55 static JdwpError WriteTaggedObject(ExpandBuf* reply, ObjectId object_id) in WriteTaggedObject() argument
60 expandBufAdd1(reply, tag); in WriteTaggedObject()
61 expandBufAddObjectId(reply, object_id); in WriteTaggedObject()
66 static JdwpError WriteTaggedObjectList(ExpandBuf* reply, const std::vector<ObjectId>& objects) in WriteTaggedObjectList() argument
68 expandBufAdd4BE(reply, objects.size()); in WriteTaggedObjectList()
70 JdwpError rc = WriteTaggedObject(reply, objects[i]); in WriteTaggedObjectList()
313 static JdwpError VM_Capabilities(JdwpState*, Request*, ExpandBuf* reply) in VM_Capabilities() argument
315 expandBufAdd1(reply, true); // canWatchFieldModification in VM_Capabilities()
316 expandBufAdd1(reply, true); // canWatchFieldAccess in VM_Capabilities()
317 expandBufAdd1(reply, true); // canGetBytecodes in VM_Capabilities()
318 expandBufAdd1(reply, true); // canGetSyntheticAttribute in VM_Capabilities()
319 expandBufAdd1(reply, true); // canGetOwnedMonitorInfo in VM_Capabilities()
320 expandBufAdd1(reply, true); // canGetCurrentContendedMonitor in VM_Capabilities()
321 expandBufAdd1(reply, true); // canGetMonitorInfo in VM_Capabilities()
325 static JdwpError VM_CapabilitiesNew(JdwpState*, Request* request, ExpandBuf* reply) in VM_CapabilitiesNew() argument
328 VM_Capabilities(nullptr, request, reply); in VM_CapabilitiesNew()
330 expandBufAdd1(reply, false); // canRedefineClasses in VM_CapabilitiesNew()
331 expandBufAdd1(reply, false); // canAddMethod in VM_CapabilitiesNew()
332 expandBufAdd1(reply, false); // canUnrestrictedlyRedefineClasses in VM_CapabilitiesNew()
333 expandBufAdd1(reply, false); // canPopFrames in VM_CapabilitiesNew()
334 expandBufAdd1(reply, true); // canUseInstanceFilters in VM_CapabilitiesNew()
335 expandBufAdd1(reply, false); // canGetSourceDebugExtension in VM_CapabilitiesNew()
336 expandBufAdd1(reply, false); // canRequestVMDeathEvent in VM_CapabilitiesNew()
337 expandBufAdd1(reply, false); // canSetDefaultStratum in VM_CapabilitiesNew()
338 expandBufAdd1(reply, true); // 1.6: canGetInstanceInfo in VM_CapabilitiesNew()
339 expandBufAdd1(reply, false); // 1.6: canRequestMonitorEvents in VM_CapabilitiesNew()
340 expandBufAdd1(reply, true); // 1.6: canGetMonitorFrameInfo in VM_CapabilitiesNew()
341 expandBufAdd1(reply, false); // 1.6: canUseSourceNameFilters in VM_CapabilitiesNew()
342 expandBufAdd1(reply, false); // 1.6: canGetConstantPool in VM_CapabilitiesNew()
343 expandBufAdd1(reply, false); // 1.6: canForceEarlyReturn in VM_CapabilitiesNew()
347 expandBufAdd1(reply, false); in VM_CapabilitiesNew()
578 static JdwpError RT_Instances(JdwpState*, Request* request, ExpandBuf* reply) in RT_Instances() argument
592 return WriteTaggedObjectList(reply, instances); in RT_Instances()
729 static JdwpError M_Bytecodes(JdwpState*, Request* request, ExpandBuf* reply) in M_Bytecodes() argument
740 expandBufAdd4BE(reply, bytecodes.size()); in M_Bytecodes()
742 expandBufAdd1(reply, bytecodes[i]); in M_Bytecodes()
806 static JdwpError OR_MonitorInfo(JdwpState*, Request* request, ExpandBuf* reply) in OR_MonitorInfo() argument
809 return Dbg::GetMonitorInfo(object_id, reply); in OR_MonitorInfo()
855 static JdwpError OR_ReferringObjects(JdwpState*, Request* request, ExpandBuf* reply) in OR_ReferringObjects() argument
869 return WriteTaggedObjectList(reply, referring_objects); in OR_ReferringObjects()
1030 static JdwpError TR_OwnedMonitors(Request* request, ExpandBuf* reply, bool with_stack_depths) in TR_OwnedMonitors() argument
1041 expandBufAdd4BE(reply, monitors.size()); in TR_OwnedMonitors()
1043 rc = WriteTaggedObject(reply, monitors[i]); in TR_OwnedMonitors()
1048 expandBufAdd4BE(reply, stack_depths[i]); in TR_OwnedMonitors()
1054 static JdwpError TR_OwnedMonitors(JdwpState*, Request* request, ExpandBuf* reply) in TR_OwnedMonitors() argument
1056 return TR_OwnedMonitors(request, reply, false); in TR_OwnedMonitors()
1059 static JdwpError TR_OwnedMonitorsStackDepthInfo(JdwpState*, Request* request, ExpandBuf* reply) in TR_OwnedMonitorsStackDepthInfo() argument
1061 return TR_OwnedMonitors(request, reply, true); in TR_OwnedMonitorsStackDepthInfo()
1064 static JdwpError TR_CurrentContendedMonitor(JdwpState*, Request* request, ExpandBuf* reply) in TR_CurrentContendedMonitor() argument
1073 return WriteTaggedObject(reply, contended_monitor); in TR_CurrentContendedMonitor()
1076 static JdwpError TR_Interrupt(JdwpState*, Request* request, ExpandBuf* reply) in TR_Interrupt() argument
1078 UNUSED(reply); in TR_Interrupt()
1351 static JdwpError SF_ThisObject(JdwpState*, Request* request, ExpandBuf* reply) in SF_ThisObject() argument
1362 return WriteTaggedObject(reply, object_id); in SF_ThisObject()
1402 typedef JdwpError (*JdwpRequestHandler)(JdwpState* state, Request* request, ExpandBuf* reply);