Home
last modified time | relevance | path

Searched refs:total_sent (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Lib/
Dsocket.py372 total_sent = 0
381 blocksize = count - total_sent
393 if total_sent == 0:
404 total_sent += sent
405 return total_sent
407 if total_sent > 0 and hasattr(file, 'seek'):
421 total_sent = 0
428 blocksize = min(count - total_sent, blocksize)
440 total_sent += sent
445 return total_sent
[all …]
/external/python/cpython3/Lib/asyncio/
Dunix_events.py354 offset, count, blocksize, total_sent): argument
363 self._sock_sendfile_update_filepos(fileno, offset, total_sent)
366 blocksize = count - total_sent
368 self._sock_sendfile_update_filepos(fileno, offset, total_sent)
369 fut.set_result(total_sent)
379 offset, count, blocksize, total_sent)
392 if total_sent == 0:
399 self._sock_sendfile_update_filepos(fileno, offset, total_sent)
402 self._sock_sendfile_update_filepos(fileno, offset, total_sent)
407 self._sock_sendfile_update_filepos(fileno, offset, total_sent)
[all …]
Dbase_events.py857 total_sent = 0
861 blocksize = min(count - total_sent, blocksize)
869 total_sent += read
870 return total_sent
872 if total_sent > 0 and hasattr(file, 'seek'):
873 file.seek(offset + total_sent)
1139 total_sent = 0
1144 blocksize = min(count - total_sent, blocksize)
1146 return total_sent
1150 return total_sent # EOF
[all …]
Dproactor_events.py723 total_sent = 0
728 return total_sent
731 total_sent += blocksize
733 if total_sent > 0:
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc229 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/
Drampup_tests.cc252 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()
Drampup_tests.h52 size_t* total_sent,
/external/libxml2/
Dnanohttp.c461 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/
Dunix_socket.cc303 ssize_t total_sent = 0; in SendMsgAll() local
308 return total_sent; in SendMsgAll()
311 total_sent += sent; in SendMsgAll()
317 return total_sent; in SendMsgAll()
/external/python/cpython3/Lib/test/
Dtest_os.py3046 total_sent = 0
3049 while total_sent < len(self.DATA):
3054 total_sent += sent
3056 self.assertEqual(offset, total_sent)
3058 self.assertEqual(total_sent, len(self.DATA))
3068 total_sent = 0
3072 while total_sent < must_send:
3077 total_sent += sent
3085 self.assertEqual(total_sent, len(expected))
3123 total_sent = 0
[all …]
/external/iperf3/src/
Diperf_api.c3025 iperf_size_t bytes_sent, total_sent = 0; in iperf_print_results() local
3094 total_sent += bytes_sent; in iperf_print_results()
3276 unit_snprintf(ubuf, UNIT_LEN, (double) total_sent, 'A'); in iperf_print_results()
3279 bandwidth = (double) total_sent / (double) sender_time; in iperf_print_results()
3289 …ble) start_time, (double) sender_time, (double) sender_time, (int64_t) total_sent, bandwidth * 8, … in iperf_print_results()
3301 …ble) start_time, (double) sender_time, (double) sender_time, (int64_t) total_sent, bandwidth * 8, … in iperf_print_results()
3341 … start_time, (double) receiver_time, (double) receiver_time, (int64_t) total_sent, bandwidth * 8, … in iperf_print_results()
3349 unit_snprintf(ubuf, UNIT_LEN, (double) total_sent, 'A'); in iperf_print_results()
/external/python/pyopenssl/src/OpenSSL/
DSSL.py1762 total_sent = 0
1770 data + total_sent,
1774 total_sent += result
/external/mesa3d/src/glx/
Dindirect_vertex_array.c707 size_t total_sent = 0; in emit_DrawArrays_old() local
747 total_sent += (size_t) (pc - gc->pc); in emit_DrawArrays_old()