Lines Matching refs:total_sent
2791 total_sent = 0
2794 while total_sent < len(self.DATA):
2799 total_sent += sent
2801 self.assertEqual(offset, total_sent)
2803 self.assertEqual(total_sent, len(self.DATA))
2813 total_sent = 0
2817 while total_sent < must_send:
2822 total_sent += sent
2830 self.assertEqual(total_sent, len(expected))
2868 total_sent = 0
2873 total_sent += sent
2875 while total_sent < len(expected_data):
2876 nbytes = min(len(expected_data) - total_sent, 4096)
2882 total_sent += sent
2885 self.assertEqual(total_sent, len(expected_data))