Searched refs:total_sent (Results 1 – 10 of 10) sorted by relevance
/third_party/mbedtls/tests/scripts/ |
D | tcp_client.pl | 57 my $total_sent = 0; 58 while ($total_sent < length($data)) { 63 $total_sent += $sent;
|
/third_party/python/Lib/ |
D | socket.py | 374 total_sent = 0 383 blocksize = count - total_sent 395 if total_sent == 0: 406 total_sent += sent 407 return total_sent 409 if total_sent > 0 and hasattr(file, 'seek'): 423 total_sent = 0 430 blocksize = min(count - total_sent, blocksize) 442 total_sent += sent 447 return total_sent [all …]
|
/third_party/python/Lib/asyncio/ |
D | unix_events.py | 364 offset, count, blocksize, total_sent): argument 373 self._sock_sendfile_update_filepos(fileno, offset, total_sent) 376 blocksize = count - total_sent 378 self._sock_sendfile_update_filepos(fileno, offset, total_sent) 379 fut.set_result(total_sent) 389 offset, count, blocksize, total_sent) 402 if total_sent == 0: 409 self._sock_sendfile_update_filepos(fileno, offset, total_sent) 412 self._sock_sendfile_update_filepos(fileno, offset, total_sent) 417 self._sock_sendfile_update_filepos(fileno, offset, total_sent) [all …]
|
D | base_events.py | 891 total_sent = 0 895 blocksize = min(count - total_sent, blocksize) 903 total_sent += read 904 return total_sent 906 if total_sent > 0 and hasattr(file, 'seek'): 907 file.seek(offset + total_sent) 1173 total_sent = 0 1178 blocksize = min(count - total_sent, blocksize) 1180 return total_sent 1184 return total_sent # EOF [all …]
|
D | proactor_events.py | 725 total_sent = 0 730 return total_sent 733 total_sent += blocksize 735 if total_sent > 0:
|
/third_party/gettext/gnulib-local/lib/libxml/ |
D | nanohttp.c | 490 int total_sent = 0; in xmlNanoHTTPSend() local 499 while (total_sent < outlen) { in xmlNanoHTTPSend() 500 int nsent = send(ctxt->fd, SEND_ARG2_CAST (xmt_ptr + total_sent), in xmlNanoHTTPSend() 501 outlen - total_sent, 0); in xmlNanoHTTPSend() 504 total_sent += nsent; in xmlNanoHTTPSend() 511 if (total_sent == 0) in xmlNanoHTTPSend() 512 total_sent = -1; in xmlNanoHTTPSend() 548 return total_sent; in xmlNanoHTTPSend()
|
/third_party/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()
|
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_ev_driver_windows.cc | 408 ares_ssize_t total_sent = 0; in SendVTCP() local 412 total_sent++; in SendVTCP() 416 return total_sent; in SendVTCP()
|
/third_party/python/Lib/test/ |
D | test_os.py | 3357 total_sent = 0 3360 while total_sent < len(self.DATA): 3365 total_sent += sent 3367 self.assertEqual(offset, total_sent) 3369 self.assertEqual(total_sent, len(self.DATA)) 3379 total_sent = 0 3383 while total_sent < must_send: 3388 total_sent += sent 3396 self.assertEqual(total_sent, len(expected)) 3435 total_sent = 0 [all …]
|
/third_party/mesa3d/src/glx/ |
D | indirect_vertex_array.c | 709 size_t total_sent = 0; in emit_DrawArrays_old() local 749 total_sent += (size_t) (pc - gc->pc); in emit_DrawArrays_old()
|