Searched refs:m_packet (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | StringExtractor.cpp | 37 m_packet.assign(packet_cstr); in StringExtractor() 44 if (m_index < m_packet.size()) { in GetChar() 45 char ch = m_packet[m_index]; in GetChar() 94 if (m_index < m_packet.size()) { in GetU32() 161 while (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU32() 171 if (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU32() 185 while (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU32() 212 while (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU64() 222 if (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU64() 236 while (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU64() [all …]
|
| H A D | StreamString.cpp | 18 : Stream(flags, addr_size, byte_order), m_packet() {} in StreamString() 27 m_packet.append(static_cast<const char *>(s), length); in WriteImpl() 32 m_packet.clear(); in Clear() 38 size_t StreamString::GetSize() const { return m_packet.size(); } in GetSize() 41 const size_t length = m_packet.size(); in GetSizeOfLastLine() 42 size_t last_line_begin_pos = m_packet.find_last_of("\r\n"); in GetSizeOfLastLine() 51 llvm::StringRef StreamString::GetString() const { return m_packet; } in GetString() 54 const size_t length = m_packet.size(); in FillLastLineToColumn() 55 size_t last_line_begin_pos = m_packet.find_last_of("\r\n"); in FillLastLineToColumn() 64 m_packet.append(column - line_columns, fill_char); in FillLastLineToColumn()
|
| H A D | StringExtractorGDBRemote.cpp | 20 if (m_packet.empty()) in GetResponseType() 23 switch (m_packet[0]) { in GetResponseType() 25 if (isxdigit(m_packet[1]) && isxdigit(m_packet[2])) { in GetResponseType() 26 if (m_packet.size() == 3) in GetResponseType() 28 llvm::StringRef packet_ref(m_packet); in GetResponseType() 40 if (m_packet.size() == 2 && m_packet[1] == 'K') in GetResponseType() 45 if (m_packet.size() == 1) in GetResponseType() 50 if (m_packet.size() == 1) in GetResponseType() 66 if (m_packet.empty()) in GetServerPacketType() 71 switch (m_packet[0]) { in GetServerPacketType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | StreamBuffer.h | 21 StreamBuffer() : Stream(0, 4, lldb::eByteOrderBig), m_packet() {} in StreamBuffer() 24 : Stream(flags, addr_size, byte_order), m_packet() {} in StreamBuffer() 32 void Clear() { m_packet.clear(); } in Clear() 38 const char *GetData() const { return m_packet.data(); } in GetData() 40 size_t GetSize() const { return m_packet.size(); } in GetSize() 43 llvm::SmallVector<char, N> m_packet; 47 m_packet.append((const char *)s, ((const char *)s) + length); in WriteImpl()
|
| H A D | StringExtractor.h | 29 m_packet = std::string(str); in Reset() 42 m_packet.clear(); in Clear() 48 llvm::StringRef GetStringRef() const { return m_packet; } in GetStringRef() 50 bool Empty() { return m_packet.empty(); } in Empty() 53 if (m_index < m_packet.size()) in GetBytesLeft() 54 return m_packet.size() - m_index; in GetBytesLeft() 101 if (m_index < m_packet.size()) in Peek() 102 return m_packet.c_str() + m_index; in Peek() 113 std::string m_packet; variable
|
| H A D | StreamString.h | 43 const char *GetData() const { return m_packet.c_str(); } in GetData() 48 std::string m_packet;
|