/external/python/cpython3/Lib/ |
D | socket.py | 292 total_sent = 0 301 blocksize = count - total_sent 313 if total_sent == 0: 324 total_sent += sent 325 return total_sent 327 if total_sent > 0 and hasattr(file, 'seek'): 341 total_sent = 0 348 blocksize = min(count - total_sent, blocksize) 360 total_sent += sent 365 return total_sent [all …]
|
/external/python/cpython3/Lib/asyncio/ |
D | unix_events.py | 342 offset, count, blocksize, total_sent): argument 351 self._sock_sendfile_update_filepos(fileno, offset, total_sent) 354 blocksize = count - total_sent 356 self._sock_sendfile_update_filepos(fileno, offset, total_sent) 357 fut.set_result(total_sent) 367 offset, count, blocksize, total_sent) 380 if total_sent == 0: 387 self._sock_sendfile_update_filepos(fileno, offset, total_sent) 390 self._sock_sendfile_update_filepos(fileno, offset, total_sent) 393 self._sock_sendfile_update_filepos(fileno, offset, total_sent) [all …]
|
D | base_events.py | 824 total_sent = 0 828 blocksize = min(count - total_sent, blocksize) 836 total_sent += read 837 return total_sent 839 if total_sent > 0 and hasattr(file, 'seek'): 840 file.seek(offset + total_sent) 1077 total_sent = 0 1082 blocksize = min(count - total_sent, blocksize) 1084 return total_sent 1088 return total_sent # EOF [all …]
|
D | proactor_events.py | 575 total_sent = 0 580 return total_sent 583 total_sent += blocksize 585 if total_sent > 0:
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_ev_driver_windows.cc | 229 ares_ssize_t total_sent; in TrySendWriteBufSyncNonBlocking() local 264 ares_ssize_t total_sent = 0; in SendV() local 268 total_sent++; in SendV() 272 grpc_slice_sub_no_ref(currently_attempted, total_sent, in SendV() 275 total_sent += TrySendWriteBufSyncNonBlocking(); in SendV() 276 return total_sent; in SendV()
|
/external/webrtc/webrtc/call/ |
D | rampup_tests.cc | 252 size_t* total_sent, in AccumulateStats() argument 258 *total_sent += stream.rtp_stats.transmitted.TotalBytes() + in AccumulateStats() 274 size_t total_sent = 0; in TriggerTestDone() local 279 &total_sent, &padding_sent, &media_sent); in TriggerTestDone() 292 ReportResult("ramp-up-total-sent", total_sent, "bytes"); in TriggerTestDone()
|
D | rampup_tests.h | 52 size_t* total_sent,
|
/external/libxml2/ |
D | nanohttp.c | 461 int total_sent = 0; in xmlNanoHTTPSend() local 470 while (total_sent < outlen) { in xmlNanoHTTPSend() 471 int nsent = send(ctxt->fd, SEND_ARG2_CAST (xmt_ptr + total_sent), in xmlNanoHTTPSend() 472 outlen - total_sent, 0); in xmlNanoHTTPSend() 475 total_sent += nsent; in xmlNanoHTTPSend() 482 if (total_sent == 0) in xmlNanoHTTPSend() 483 total_sent = -1; in xmlNanoHTTPSend() 519 return total_sent; in xmlNanoHTTPSend()
|
/external/perfetto/src/base/ |
D | unix_socket.cc | 232 ssize_t total_sent = 0; in SendMsgAll() local 237 return total_sent; in SendMsgAll() 240 total_sent += sent; in SendMsgAll() 246 return total_sent; in SendMsgAll()
|
/external/python/cpython3/Lib/test/ |
D | test_os.py | 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 [all …]
|
/external/iperf3/src/ |
D | iperf_api.c | 2935 iperf_size_t bytes_sent, total_sent = 0; in iperf_print_results() local 3004 total_sent += bytes_sent; in iperf_print_results() 3186 unit_snprintf(ubuf, UNIT_LEN, (double) total_sent, 'A'); in iperf_print_results() 3189 bandwidth = (double) total_sent / (double) sender_time; in iperf_print_results() 3199 …ble) start_time, (double) sender_time, (double) sender_time, (int64_t) total_sent, bandwidth * 8, … in iperf_print_results() 3211 …ble) start_time, (double) sender_time, (double) sender_time, (int64_t) total_sent, bandwidth * 8, … in iperf_print_results() 3251 … start_time, (double) receiver_time, (double) receiver_time, (int64_t) total_sent, bandwidth * 8, … in iperf_print_results() 3259 unit_snprintf(ubuf, UNIT_LEN, (double) total_sent, 'A'); in iperf_print_results()
|
/external/mesa3d/src/glx/ |
D | indirect_vertex_array.c | 707 size_t total_sent = 0; in emit_DrawArrays_old() local 747 total_sent += (size_t) (pc - gc->pc); in emit_DrawArrays_old()
|