Lines Matching refs:m_packet

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()
96 if (m_index < m_packet.size()) { in GetU32()
98 const char *start = m_packet.c_str(); in GetU32()
111 if (m_index < m_packet.size()) { in GetS32()
113 const char *start = m_packet.c_str(); in GetS32()
126 if (m_index < m_packet.size()) { in GetU64()
128 const char *start = m_packet.c_str(); in GetU64()
141 if (m_index < m_packet.size()) { in GetS64()
143 const char *start = m_packet.c_str(); in GetS64()
163 while (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU32()
171 uint8_t nibble_hi = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU32()
173 if (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU32()
174 nibble_lo = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU32()
187 while (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU32()
194 uint8_t nibble = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU32()
214 while (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU64()
222 uint8_t nibble_hi = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU64()
224 if (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU64()
225 nibble_lo = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU64()
238 while (m_index < m_packet.size() && ::isxdigit(m_packet[m_index])) { in GetHexMaxU64()
245 uint8_t nibble = xdigit_to_sint(m_packet[m_index]); in GetHexMaxU64()
340 if (m_index >= m_packet.size()) in GetNameColonValue()
343 llvm::StringRef view(m_packet); in GetNameColonValue()
359 m_index = m_packet.size(); in GetNameColonValue()
368 const size_t n = m_packet.size(); in SkipSpaces()
369 while (m_index < n && llvm::isSpace(m_packet[m_index])) in SkipSpaces()