Home
last modified time | relevance | path

Searched refs:bytes_received (Results 1 – 22 of 22) sorted by relevance

/external/ltp/testcases/network/sockets/
DltpServer.c313 static int bytes_received = 0; in tcp_receive_buffer() local
322 if (bytes_received == 0) { in tcp_receive_buffer()
348 while (*(message_received + bytes_received) != END_LINE in tcp_receive_buffer()
349 && bytes_received < count) { in tcp_receive_buffer()
351 message_received + bytes_received, 1); in tcp_receive_buffer()
353 bytes_received++; in tcp_receive_buffer()
357 if (bytes_received == count - 1) { in tcp_receive_buffer()
360 bytes_received = 0; in tcp_receive_buffer()
365 if (bytes_received < count - 1) { in tcp_receive_buffer()
368 bytes_received++; in tcp_receive_buffer()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dreceive_statistics_unittest.cc59 size_t bytes_received = 0; in TEST_F() local
61 statistician->GetDataCounters(&bytes_received, &packets_received); in TEST_F()
62 EXPECT_EQ(200u, bytes_received); in TEST_F()
69 statistician->GetDataCounters(&bytes_received, &packets_received); in TEST_F()
70 EXPECT_EQ(600u, bytes_received); in TEST_F()
82 statisticians[kSsrc1]->GetDataCounters(&bytes_received, &packets_received); in TEST_F()
83 EXPECT_EQ(300u, bytes_received); in TEST_F()
85 statisticians[kSsrc2]->GetDataCounters(&bytes_received, &packets_received); in TEST_F()
86 EXPECT_EQ(900u, bytes_received); in TEST_F()
90 &bytes_received, &packets_received); in TEST_F()
[all …]
Dreceive_statistics_impl.cc284 size_t* bytes_received, uint32_t* packets_received) const { in GetDataCounters() argument
286 if (bytes_received) { in GetDataCounters()
287 *bytes_received = receive_counters_.transmitted.payload_bytes + in GetDataCounters()
Dreceive_statistics_impl.h36 void GetDataCounters(size_t* bytes_received,
/external/netperf/src/
Dnettest_xti.h50 double bytes_received; member
94 unsigned int bytes_received; /* ignored initially */ member
140 unsigned int bytes_received; /* ignored initially */ member
181 unsigned int bytes_received; member
224 unsigned int bytes_received; /* ignored initially */ member
Dnettest_unix.h51 int bytes_received; /* ignored initially */ member
94 int bytes_received; /* ignored initially */ member
135 int bytes_received; member
179 int bytes_received; /* ignored initially */ member
Dnettest_dlpi.h54 int bytes_received; /* ignored initially */ member
99 int bytes_received; /* ignored initially */ member
143 int bytes_received; member
189 int bytes_received; /* ignored initially */ member
Dnettest_bsd.h233 double bytes_received; member
330 unsigned int bytes_received; /* ignored initially */ member
376 unsigned int bytes_received; /* ignored initially */ member
422 unsigned int bytes_received; /* ignored initially */ member
466 unsigned int bytes_received; member
509 unsigned int bytes_received; /* ignored initially */ member
555 unsigned int bytes_received; /* ignored initially */ member
Dnettest_sctp.h52 double bytes_received; member
97 unsigned int bytes_received; /* ignored initially */ member
Dnettest_sdp.h57 double bytes_received; member
102 unsigned int bytes_received; /* ignored initially */ member
Dnettest_unix.c713 int bytes_received; in recv_stream_stream() local
950 bytes_received = 0; in recv_stream_stream()
958 bytes_received += len; in recv_stream_stream()
998 bytes_received); in recv_stream_stream()
1005 stream_stream_results->bytes_received = bytes_received; in recv_stream_stream()
1937 int bytes_received = 0; in recv_dg_stream() local
2146 bytes_received = (messages_recvd * message_size) + len; in recv_dg_stream()
2153 bytes_received); in recv_dg_stream()
2158 dg_stream_results->bytes_received = bytes_received; in recv_dg_stream()
3004 dg_rr_results->bytes_received = (trans_received * in recv_dg_rr()
[all …]
Dnettest_sctp.c839 bytes_sent = ntohd(sctp_stream_result->bytes_received); in send_sctp_stream()
1059 double bytes_received; in recv_sctp_stream() local
1318 bytes_received = 0; in recv_sctp_stream()
1359 bytes_received += len; in recv_sctp_stream()
1404 bytes_received); in recv_sctp_stream()
1411 sctp_stream_results->bytes_received = htond(bytes_received); in recv_sctp_stream()
1424 bytes_received, in recv_sctp_stream()
1997 bytes_sent = ntohd(sctp_stream_result->bytes_received); in send_sctp_stream_1toMany()
2215 double bytes_received; in recv_sctp_stream_1toMany() local
2453 bytes_received = 0; in recv_sctp_stream_1toMany()
[all …]
Dnettest_dlpi.c934 int bytes_received; in recv_dlpi_co_stream() local
1167 bytes_received += recv_message.len; in recv_dlpi_co_stream()
1209 bytes_received); in recv_dlpi_co_stream()
1216 dlpi_co_stream_results->bytes_received = bytes_received; in recv_dlpi_co_stream()
2316 int bytes_received = 0; in recv_dlpi_cl_stream() local
2555 bytes_received = (messages_recvd * message_size) + len; in recv_dlpi_cl_stream()
2562 bytes_received); in recv_dlpi_cl_stream()
2567 dlpi_cl_stream_results->bytes_received = bytes_received; in recv_dlpi_cl_stream()
3547 dlpi_cl_rr_results->bytes_received = (trans_received * in recv_dlpi_cl_rr()
3921 dlpi_co_rr_results->bytes_received = (trans_received * in recv_dlpi_co_rr()
Dnettest_xti.c1033 bytes_sent = xti_tcp_stream_result->bytes_received; in send_xti_tcp_stream()
1253 double bytes_received; in recv_xti_tcp_stream() local
1556 bytes_received = 0; in recv_xti_tcp_stream()
1563 bytes_received += len; in recv_xti_tcp_stream()
1637 bytes_received); in recv_xti_tcp_stream()
1644 xti_tcp_stream_results->bytes_received = bytes_received; in recv_xti_tcp_stream()
1657 bytes_received, in recv_xti_tcp_stream()
3074 unsigned int bytes_received = 0; in recv_xti_udp_stream() local
3362 bytes_received = (messages_recvd * message_size); in recv_xti_udp_stream()
3369 bytes_received); in recv_xti_udp_stream()
[all …]
Dnettest_sdp.c640 bytes_sent = ntohd(sdp_stream_result->bytes_received); in send_sdp_stream()
1577 double bytes_received; in recv_sdp_stream() local
1811 bytes_received = 0; in recv_sdp_stream()
1821 bytes_received += len; in recv_sdp_stream()
1863 bytes_received); in recv_sdp_stream()
1870 sdp_stream_results->bytes_received = htond(bytes_received); in recv_sdp_stream()
1886 bytes_received, in recv_sdp_stream()
3332 sdp_rr_results->bytes_received = (trans_received * in recv_sdp_rr()
Dnettest_bsd.c2195 bytes_sent = ntohd(tcp_stream_result->bytes_received); in send_tcp_stream()
3885 bytes_sent = ntohd(tcp_stream_result->bytes_received); in send_exs_tcp_stream()
4650 bytes_sent = ntohd(tcp_stream_result->bytes_received);
4893 double bytes_received; in recv_tcp_stream() local
5140 bytes_received = 0; in recv_tcp_stream()
5152 bytes_received += len; in recv_tcp_stream()
5194 bytes_received); in recv_tcp_stream()
5201 tcp_stream_results->bytes_received = htond(bytes_received); in recv_tcp_stream()
5217 bytes_received, in recv_tcp_stream()
7046 unsigned int bytes_received = 0; in recv_udp_stream() local
[all …]
Dnettest_omni.c357 uint64_t bytes_received = 0; variable
1976 &bytes_received, 1, 0, NETPERF_TYPE_UINT64); in print_omni_init_list()
3800 bytes_received = 0; in send_omni_inner()
4379 bytes_received += rret; in send_omni_inner()
4716 bytes_per_recv = (double) bytes_received / (double) local_receive_calls; in send_omni_inner()
4720 bytes_xferd = (double) bytes_sent + bytes_received; in send_omni_inner()
4869 local_recv_thruput = calc_thruput((double)bytes_received); in send_omni_inner()
5384 bytes_received = 0; in recv_omni()
5478 bytes_received += ret; in recv_omni()
5713 omni_results->bytes_received_lo = bytes_received & 0x00000000FFFFFFFFULL; in recv_omni()
[all …]
/external/webrtc/talk/app/webrtc/test/
Dmockpeerconnectionobservers.h138 &stats_.bytes_received); in OnComplete()
171 return stats_.bytes_received; in BytesReceived()
222 bytes_received = 0; in Clear()
233 int bytes_received; member
/external/libchrome/base/
Dsync_socket_posix.cc189 const size_t bytes_received = in ReceiveWithTimeout() local
191 bytes_read_total += bytes_received; in ReceiveWithTimeout()
192 if (bytes_received != bytes_to_read) in ReceiveWithTimeout()
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Dreceive_statistics.h29 virtual void GetDataCounters(size_t* bytes_received,
/external/iproute2/misc/
Dss.c772 unsigned long long bytes_received; member
1738 if (s->bytes_received) in tcp_stats_print()
1739 printf(" bytes_received:%llu", s->bytes_received); in tcp_stats_print()
2037 s.bytes_received = info->tcpi_bytes_received; in tcp_show_info()
/external/webrtc/webrtc/video/
Dvideo_send_stream_tests.cc288 void GetDataCounters(size_t* bytes_received, in GetDataCounters() argument
290 *bytes_received = 0; in GetDataCounters()