Home
last modified time | relevance | path

Searched refs:m_packets (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationHistory.cpp22 : m_packets() { in GDBRemoteCommunicationHistory()
24 m_packets.resize(size); in GDBRemoteCommunicationHistory()
32 const size_t size = m_packets.size(); in AddPacket()
38 m_packets[idx].type = type; in AddPacket()
40 m_packets[idx].packet_idx = m_total_packet_count; in AddPacket()
41 m_packets[idx].tid = llvm::get_threadid(); in AddPacket()
43 m_recorder->Record(m_packets[idx]); in AddPacket()
50 const size_t size = m_packets.size(); in AddPacket()
56 m_packets[idx].type = type; in AddPacket()
59 m_packets[idx].tid = llvm::get_threadid(); in AddPacket()
[all …]
H A DGDBRemoteCommunicationHistory.h52 if (m_total_packet_count < m_packets.size()) in GetFirstSavedPacketIndex()
59 if (m_total_packet_count < m_packets.size()) in GetNumPacketsInHistory()
62 return (uint32_t)m_packets.size(); in GetNumPacketsInHistory()
73 return m_packets.empty() ? 0 : i % m_packets.size(); in NormalizeIndex()
76 std::vector<GDBRemotePacket> m_packets; variable
/llvm-project-15.0.7/lldb/unittests/Process/gdb-remote/
H A DGDBRemoteTestUtils.h28 MockConnection(std::vector<std::string> &packets) { m_packets = &packets; }; in MockConnection()
45 m_packets->emplace_back(static_cast<const char *>(dst), dst_len); in Write()
51 std::vector<std::string> *m_packets; variable
79 SetConnection(std::make_unique<MockConnection>(m_packets)); in MockServerWithMockConnection()
82 llvm::ArrayRef<std::string> GetPackets() { return m_packets; }; in GetPackets()
84 std::vector<std::string> m_packets; variable
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DRNBRemote.h383 Packet::collection m_packets; variable
H A DRNBRemote.cpp168 m_qSymbol_index(UINT32_MAX), m_packets_recvd(0), m_packets(), in RNBRemote()
207 std::vector<Packet> &t = m_packets; in CreatePacketTable()
923 for (it = m_packets.begin(); it != m_packets.end(); ++it) { in GetPacket()
931 if (it == m_packets.end()) { in GetPacket()
H A DChangeLog71 packet definition to m_packets.
864 * RNBRemote.cpp (m_packets): Made the vCont functions call
961 to m_packets.