Lines Matching refs:total_length
661 size_t total_length = 0; in CheckForPacket() local
677 content_length = total_length = 1; // The command is one byte long... in CheckForPacket()
697 total_length = in CheckForPacket()
738 } else if (total_length > 0) { in CheckForPacket()
742 assert(total_length <= m_bytes.size()); in CheckForPacket()
743 assert(content_length <= total_length); in CheckForPacket()
758 if (m_bytes[0] == '$' && total_length > 4) { in CheckForPacket()
759 for (size_t i = 0; !binary && i < total_length; ++i) { in CheckForPacket()
771 (uint64_t)original_packet_size, (uint64_t)total_length, in CheckForPacket()
775 (uint64_t)total_length, m_bytes[0]); in CheckForPacket()
789 strm.Printf("%c%c%c", m_bytes[total_length - 3], in CheckForPacket()
790 m_bytes[total_length - 2], m_bytes[total_length - 1]); in CheckForPacket()
795 (uint64_t)original_packet_size, (uint64_t)total_length, in CheckForPacket()
796 (int)(total_length), m_bytes.c_str()); in CheckForPacket()
799 (uint64_t)total_length, (int)(total_length), in CheckForPacket()
804 m_history.AddPacket(m_bytes, total_length, in CheckForPacket()
805 GDBRemotePacket::ePacketTypeRecv, total_length); in CheckForPacket()
827 (int)(total_length), m_bytes.c_str(), in CheckForPacket()
843 m_bytes.erase(0, total_length); in CheckForPacket()