Lines Matching refs:reply_packet
66 DataExtractor &reply_packet) { in SendRequestAndGetReply() argument
89 reply_packet, in SendRequestAndGetReply()
92 const uint8_t reply_command = reply_packet.GetU8(&offset); in SendRequestAndGetReply()
93 const uint8_t reply_sequence_id = reply_packet.GetU8(&offset); in SendRequestAndGetReply()
104 reply_packet.Clear(); in SendRequestAndGetReply()
110 reply_packet.Clear(); in SendRequestAndGetReply()
126 reply_packet.Clear(); in SendRequestAndGetReply()
353 DataExtractor reply_packet; in SendRequestConnect() local
354 return SendRequestAndGetReply(command, request_packet, reply_packet); in SendRequestConnect()
377 DataExtractor reply_packet; in SendRequestReattach() local
378 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestReattach()
382 m_session_key = reply_packet.GetU32(&offset); in SendRequestReattach()
406 DataExtractor reply_packet; in SendRequestVersion() local
407 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestVersion()
409 m_kdp_version_version = reply_packet.GetU32(&offset); in SendRequestVersion()
410 m_kdp_version_feature = reply_packet.GetU32(&offset); in SendRequestVersion()
492 DataExtractor reply_packet; in SendRequestHostInfo() local
493 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestHostInfo()
495 m_kdp_hostinfo_cpu_mask = reply_packet.GetU32(&offset); in SendRequestHostInfo()
496 m_kdp_hostinfo_cpu_type = reply_packet.GetU32(&offset); in SendRequestHostInfo()
497 m_kdp_hostinfo_cpu_subtype = reply_packet.GetU32(&offset); in SendRequestHostInfo()
522 DataExtractor reply_packet; in SendRequestKernelVersion() local
523 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestKernelVersion()
524 const char *kernel_version_cstr = reply_packet.PeekCStr(8); in SendRequestKernelVersion()
538 DataExtractor reply_packet; in SendRequestDisconnect() local
539 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestDisconnect()
559 DataExtractor reply_packet; in SendRequestReadMemory() local
560 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestReadMemory()
562 uint32_t kdp_error = reply_packet.GetU32(&offset); in SendRequestReadMemory()
563 uint32_t src_len = reply_packet.GetByteSize() - 12; in SendRequestReadMemory()
566 const void *src = reply_packet.GetData(&offset, src_len); in SendRequestReadMemory()
600 DataExtractor reply_packet; in SendRequestWriteMemory() local
601 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestWriteMemory()
603 uint32_t kdp_error = reply_packet.GetU32(&offset); in SendRequestWriteMemory()
621 DataExtractor &reply_packet, Status &error) { in SendRawRequest() argument
630 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRawRequest()
632 uint32_t kdp_error = reply_packet.GetU32(&offset); in SendRawRequest()
1179 DataExtractor reply_packet; in SendRequestReadRegisters() local
1180 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestReadRegisters()
1182 uint32_t kdp_error = reply_packet.GetU32(&offset); in SendRequestReadRegisters()
1183 uint32_t src_len = reply_packet.GetByteSize() - 12; in SendRequestReadRegisters()
1187 const void *src = reply_packet.GetData(&offset, bytes_to_copy); in SendRequestReadRegisters()
1223 DataExtractor reply_packet; in SendRequestWriteRegisters() local
1224 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestWriteRegisters()
1226 uint32_t kdp_error = reply_packet.GetU32(&offset); in SendRequestWriteRegisters()
1246 DataExtractor reply_packet; in SendRequestResume() local
1247 return SendRequestAndGetReply(command, request_packet, reply_packet); in SendRequestResume()
1263 DataExtractor reply_packet; in SendRequestBreakpoint() local
1264 if (SendRequestAndGetReply(command, request_packet, reply_packet)) { in SendRequestBreakpoint()
1266 uint32_t kdp_error = reply_packet.GetU32(&offset); in SendRequestBreakpoint()
1279 DataExtractor reply_packet; in SendRequestSuspend() local
1280 return SendRequestAndGetReply(command, request_packet, reply_packet); in SendRequestSuspend()