Searched refs:m_packet (Results 1 – 7 of 7) sorted by relevance
29 StringExtractor::StringExtractor() : m_packet() {} in StringExtractor() 31 StringExtractor::StringExtractor(llvm::StringRef packet_str) : m_packet() { in StringExtractor() 32 m_packet.assign(packet_str.begin(), packet_str.end()); in StringExtractor() 35 StringExtractor::StringExtractor(const char *packet_cstr) : m_packet() { in StringExtractor() 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() 63 const int hi_nibble = xdigit_to_sint(m_packet[m_index]); in DecodeHexU8() 64 const int lo_nibble = xdigit_to_sint(m_packet[m_index + 1]); in DecodeHexU8() 84 if (set_eof_on_fail || m_index >= m_packet in GetHexU8Ex() [all...]
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 in FillLastLineToColumn() [all...]
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()69 const size_t packet_size = m_packet.size(); in GetServerPacketType()[all …]
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
45 const char *GetData() const { return m_packet.c_str(); } in GetData()52 std::string m_packet; variable
113 *s << reinterpret_cast<StreamString *>(stream.m_opaque_up.get())->m_packet; in GetOpaqueTypeFromSBStream()