Lines Matching refs:total_length
641 size_t total_length = 0; in CheckForPacket() local
657 content_length = total_length = 1; // The command is one byte long... in CheckForPacket()
677 total_length = in CheckForPacket()
718 } else if (total_length > 0) { in CheckForPacket()
722 assert(total_length <= m_bytes.size()); in CheckForPacket()
723 assert(content_length <= total_length); in CheckForPacket()
738 if (m_bytes[0] == '$' && total_length > 4) { in CheckForPacket()
739 for (size_t i = 0; !binary && i < total_length; ++i) { in CheckForPacket()
751 (uint64_t)original_packet_size, (uint64_t)total_length, in CheckForPacket()
755 (uint64_t)total_length, m_bytes[0]); in CheckForPacket()
769 strm.Printf("%c%c%c", m_bytes[total_length - 3], in CheckForPacket()
770 m_bytes[total_length - 2], m_bytes[total_length - 1]); in CheckForPacket()
775 (uint64_t)original_packet_size, (uint64_t)total_length, in CheckForPacket()
776 (int)(total_length), m_bytes.c_str()); in CheckForPacket()
779 (uint64_t)total_length, (int)(total_length), in CheckForPacket()
784 m_history.AddPacket(m_bytes, total_length, in CheckForPacket()
785 GDBRemotePacket::ePacketTypeRecv, total_length); in CheckForPacket()
807 (int)(total_length), m_bytes.c_str(), in CheckForPacket()
823 m_bytes.erase(0, total_length); in CheckForPacket()