Home
last modified time | relevance | path

Searched refs:num_packets (Results 1 – 25 of 47) sorted by relevance

12

/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dcompound_packet_unittest.cc43 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
45 EXPECT_EQ(1, parser.report_block()->num_packets()); in TEST()
46 EXPECT_EQ(1, parser.fir()->num_packets()); in TEST()
58 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
59 EXPECT_EQ(0, parser.report_block()->num_packets()); in TEST()
78 EXPECT_EQ(1, parser.sender_report()->num_packets()); in TEST()
79 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
80 EXPECT_EQ(1, parser.report_block()->num_packets()); in TEST()
81 EXPECT_EQ(1, parser.bye()->num_packets()); in TEST()
82 EXPECT_EQ(1, parser.fir()->num_packets()); in TEST()
[all …]
Dtmmbn_unittest.cc33 EXPECT_EQ(1, parser.tmmbn()->num_packets()); in TEST()
35 EXPECT_EQ(0, parser.tmmbn_items()->num_packets()); in TEST()
46 EXPECT_EQ(1, parser.tmmbn()->num_packets()); in TEST()
48 EXPECT_EQ(1, parser.tmmbn_items()->num_packets()); in TEST()
63 EXPECT_EQ(1, parser.tmmbn()->num_packets()); in TEST()
65 EXPECT_EQ(2, parser.tmmbn_items()->num_packets()); in TEST()
Dtmmbr_unittest.cc36 EXPECT_EQ(1, parser.tmmbr()->num_packets()); in TEST()
38 EXPECT_EQ(1, parser.tmmbr_item()->num_packets()); in TEST()
Dtransport_feedback.cc686 uint16_t num_packets = ByteReader<uint16_t>::ReadBigEndian(&buffer[14]); in ParseFrom() local
692 if (num_packets == 0) { in ParseFrom()
696 packet->last_seq_ = packet->base_seq_ + num_packets - 1; in ParseFrom()
699 while (packets_read < num_packets) { in ParseFrom()
706 ParseChunk(&buffer[index], num_packets - packets_read); in ParseFrom()
717 RTC_DCHECK_EQ(num_packets, symbols.size()); in ParseFrom()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_sender_unittest.cc292 EXPECT_EQ(1, parser()->sender_report()->num_packets()); in TEST_F()
298 EXPECT_EQ(0, parser()->report_block()->num_packets()); in TEST_F()
304 EXPECT_EQ(1, parser()->receiver_report()->num_packets()); in TEST_F()
306 EXPECT_EQ(0, parser()->report_block()->num_packets()); in TEST_F()
314 EXPECT_EQ(1, parser()->receiver_report()->num_packets()); in TEST_F()
316 EXPECT_EQ(1, parser()->report_block()->num_packets()); in TEST_F()
329 EXPECT_EQ(1, parser()->receiver_report()->num_packets()); in TEST_F()
331 EXPECT_EQ(2, parser()->report_block()->num_packets()); in TEST_F()
340 EXPECT_EQ(1, parser()->sdes()->num_packets()); in TEST_F()
341 EXPECT_EQ(1, parser()->sdes_chunk()->num_packets()); in TEST_F()
[all …]
Drtcp_packet_unittest.cc58 EXPECT_EQ(1, parser.sender_report()->num_packets()); in TEST()
65 EXPECT_EQ(0, parser.report_block()->num_packets()); in TEST()
79 EXPECT_EQ(1, parser.sender_report()->num_packets()); in TEST()
81 EXPECT_EQ(1, parser.report_block()->num_packets()); in TEST()
99 EXPECT_EQ(1, parser.sender_report()->num_packets()); in TEST()
101 EXPECT_EQ(2, parser.report_block()->num_packets()); in TEST()
131 EXPECT_EQ(1, parser.app()->num_packets()); in TEST()
134 EXPECT_EQ(0, parser.app_item()->num_packets()); in TEST()
153 EXPECT_EQ(1, parser.app()->num_packets()); in TEST()
156 EXPECT_EQ(1, parser.app_item()->num_packets()); in TEST()
[all …]
Drtp_format_video_generic.cc40 size_t num_packets = in SetPayloadData() local
42 payload_length_ = (payload_size_ + num_packets - 1) / num_packets; in SetPayloadData()
Dfec_test_helper.cc21 void FrameGenerator::NewFrame(int num_packets) { in NewFrame() argument
22 num_packets_ = num_packets; in NewFrame()
Dfec_test_helper.h33 void NewFrame(int num_packets);
/external/perfetto/src/tracing/test/
Dfake_packet.cc114 num_packets == 0); in AddPacket()
119 num_packets++; in AddPacket()
125 num_packets++; in AddPacket()
130 num_packets++; in IncrementNumPackets()
157 num_packets, flags, chunk_complete, in CopyIntoTraceBuffer()
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Dfec_receiver.h21 : num_packets(0), in FecPacketCounter()
25 size_t num_packets; // Number of received packets. member
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/cfg80211_cqm_pktloss_notify/
Dformat12 field:u32 num_packets; offset:36; size:4; signed:0;
14 …%s(%d), peer: %pM, num of lost packets: %u", REC->name, REC->ifindex, (REC->peer), REC->num_packets
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/cfg80211_cqm_pktloss_notify/
Dformat12 field:u32 num_packets; offset:36; size:4; signed:0;
14 …%s(%d), peer: %pM, num of lost packets: %u", REC->name, REC->ifindex, (REC->peer), REC->num_packets
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/cfg80211_cqm_pktloss_notify/
Dformat12 field:u32 num_packets; offset:36; size:4; signed:0;
14 …%s(%d), peer: %pM, num of lost packets: %u", REC->name, REC->ifindex, (REC->peer), REC->num_packets
/external/autotest/server/site_tests/network_WiFi_RateControl/
Dnetwork_WiFi_RateControl.py100 for index, num_packets in counts.iteritems():
101 if num_packets > num_packets_sent:
103 num_packets_sent = num_packets
/external/webrtc/webrtc/test/
Drtp_file_writer_unittest.cc29 void WriteRtpPackets(int num_packets) { in WriteRtpPackets() argument
32 for (int i = 1; i <= num_packets; ++i) { in WriteRtpPackets()
/external/u-boot/drivers/usb/host/
Ddwc2.c842 u8 *pid, int in, void *buffer, int num_packets, in transfer_chunk() argument
849 *pid, xfer_len, num_packets); in transfer_chunk()
852 (num_packets << DWC2_HCTSIZ_PKTCNT_OFFSET) | in transfer_chunk()
917 uint32_t num_packets; in chunk_msg() local
932 num_packets = max_xfer_len / max; in chunk_msg()
933 max_xfer_len = num_packets * max; in chunk_msg()
951 num_packets = 1; in chunk_msg()
965 num_packets = (xfer_len + max - 1) / max; in chunk_msg()
967 num_packets = 1; in chunk_msg()
981 in, (char *)buffer + done, num_packets, in chunk_msg()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dpacket_sender.cc448 Packets TcpSender::GeneratePackets(size_t num_packets) { in GeneratePackets() argument
451 UpdateSendBitrateEstimate(num_packets); in GeneratePackets()
453 for (size_t i = 0; i < num_packets; ++i) { in GeneratePackets()
472 void TcpSender::UpdateSendBitrateEstimate(size_t num_packets) { in UpdateSendBitrateEstimate() argument
474 num_recent_sent_packets_ += num_packets; in UpdateSendBitrateEstimate()
Dpacket_sender.h174 Packets GeneratePackets(size_t num_packets);
175 void UpdateSendBitrateEstimate(size_t num_packets);
Dbwe_unittest.cc315 size_t num_packets = bwe_receiver_.GetSetCapacity() / 2; in TEST_F() local
318 for (size_t i = 0; i < num_packets; ++i) { in TEST_F()
324 for (size_t i = 0; i < num_packets; ++i) { in TEST_F()
/external/ltp/testcases/kernel/sched/cfs-scheduler/
Dhackbench.c83 unsigned int num_packets; member
169 for (i = 0; i < ctx->num_packets; i++) { in receiver()
260 ctx->num_packets = num_fds * loops; in group()
/external/autotest/client/tests/hackbench/src/
Dhackbench.c111 unsigned int num_packets; member
196 for (i = 0; i < ctx->num_packets; i++) { in receiver()
283 ctx->num_packets = num_fds*loops; in group()
/external/webrtc/webrtc/video/
Dreplay.cc280 int num_packets = 0; in RtpReplay() local
286 ++num_packets; in RtpReplay()
309 fprintf(stderr, "num_packets: %d\n", num_packets); in RtpReplay()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dstatistics_calculator.cc163 void StatisticsCalculator::PacketsDiscarded(size_t num_packets) { in PacketsDiscarded() argument
164 discarded_packets_ += num_packets; in PacketsDiscarded()
Dpacket_buffer.cc295 void PacketBuffer::BufferStat(int* num_packets, int* max_num_packets) const { in BufferStat() argument
296 *num_packets = static_cast<int>(buffer_.size()); in BufferStat()

12