Searched refs:m_packet (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/lldb/tools/debugserver/source/ |
D | StdStringExtractor.cpp | 25 StdStringExtractor::StdStringExtractor() : m_packet(), m_index(0) {} in StdStringExtractor() 28 : m_packet(), m_index(0) { in StdStringExtractor() 30 m_packet.assign(packet_cstr); in StdStringExtractor() 37 if (m_index < m_packet.size()) { in GetChar() 38 char ch = m_packet[m_index]; in GetChar() 57 const int hi_nibble = xdigit_to_sint(m_packet[m_index]); in DecodeHexU8() 58 const int lo_nibble = xdigit_to_sint(m_packet[m_index + 1]); in DecodeHexU8() 78 if (set_eof_on_fail || m_index >= m_packet.size()) in GetHexU8Ex() 88 if (m_index < m_packet.size()) { in GetU32() 90 const char *start = m_packet.c_str(); in GetU32() [all …]
|
D | StdStringExtractor.h | 35 m_packet.clear(); in Clear() 41 const std::string &GetStringRef() const { return m_packet; } in GetStringRef() 43 bool Empty() { return m_packet.empty(); } in Empty() 46 if (m_index < m_packet.size()) in GetBytesLeft() 47 return m_packet.size() - m_index; in GetBytesLeft() 91 if (m_index < m_packet.size()) in Peek() 92 return m_packet.c_str() + m_index; in Peek() 98 std::string m_packet; // The string in which to extract data.
|
D | JSON.cpp | 391 value = m_packet.substr(start_index, m_index - start_index); in GetToken()
|
/external/llvm-project/lldb/source/Utility/ |
D | StringExtractor.cpp | 29 StringExtractor::StringExtractor() : m_packet(), m_index(0) {} in StringExtractor() 32 : m_packet(), m_index(0) { in StringExtractor() 33 m_packet.assign(packet_str.begin(), packet_str.end()); in StringExtractor() 37 : m_packet(), m_index(0) { in StringExtractor() 39 m_packet.assign(packet_cstr); in StringExtractor() 46 if (m_index < m_packet.size()) { in GetChar() 47 char ch = m_packet[m_index]; in GetChar() 65 const int hi_nibble = xdigit_to_sint(m_packet[m_index]); in DecodeHexU8() 66 const int lo_nibble = xdigit_to_sint(m_packet[m_index + 1]); in DecodeHexU8() 86 if (set_eof_on_fail || m_index >= m_packet.size()) in GetHexU8Ex() [all …]
|
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()
|
D | StringExtractorGDBRemote.cpp | 16 if (m_packet.empty()) in GetResponseType() 19 switch (m_packet[0]) { in GetResponseType() 21 if (isxdigit(m_packet[1]) && isxdigit(m_packet[2])) { in GetResponseType() 22 if (m_packet.size() == 3) in GetResponseType() 24 llvm::StringRef packet_ref(m_packet); in GetResponseType() 36 if (m_packet.size() == 2 && m_packet[1] == 'K') in GetResponseType() 41 if (m_packet.size() == 1) in GetResponseType() 46 if (m_packet.size() == 1) in GetResponseType() 62 if (m_packet.empty()) in GetServerPacketType() 65 const size_t packet_size = m_packet.size(); in GetServerPacketType() [all …]
|
/external/llvm-project/lldb/include/lldb/Core/ |
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()
|
/external/llvm-project/lldb/include/lldb/Utility/ |
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
|
D | StreamString.h | 43 const char *GetData() const { return m_packet.c_str(); } in GetData() 48 std::string m_packet;
|