/external/chromium_org/net/quic/ |
H A D | quic_fec_group_test.cc | 44 void RunTest(size_t num_packets, size_t lost_packet, bool out_of_order) { argument 47 for (size_t packet = 0; packet < num_packets; ++packet) { 66 for (size_t packet = 0; packet < num_packets; packet++) { 72 ASSERT_TRUE(group.UpdateFec(ENCRYPTION_FORWARD_SECURE, num_packets, 81 ASSERT_TRUE(group.CanRevive() == (packet == num_packets - 1)); 85 for (size_t packet = 0; packet < num_packets; packet++) { 104 ASSERT_TRUE(group.UpdateFec(ENCRYPTION_FORWARD_SECURE, num_packets, 113 << num_packets; local 116 << num_packets; local
|
H A D | quic_unacked_packet_map_test.cc | 37 size_t num_packets) { 38 if (num_packets == 0) { 43 if (num_packets == 1) { 47 for (size_t i = 0; i < num_packets; ++i) { 54 size_t num_packets) { 55 if (num_packets == 0) { 61 for (size_t i = 0; i < num_packets; ++i) { 67 size_t num_packets) { 75 EXPECT_EQ(num_packets, num_retransmittable_packets); 76 for (size_t i = 0; i < num_packets; 36 VerifyPendingPackets(QuicPacketSequenceNumber* packets, size_t num_packets) argument 53 VerifyUnackedPackets(QuicPacketSequenceNumber* packets, size_t num_packets) argument 66 VerifyRetransmittablePackets(QuicPacketSequenceNumber* packets, size_t num_packets) argument [all...] |
H A D | quic_time_wait_list_manager.h | 133 : num_packets(num_packets_), 137 int num_packets; member in struct:net::QuicTimeWaitListManager::ConnectionIdData
|
H A D | quic_time_wait_list_manager.cc | 112 int num_packets = 0; local 115 num_packets = it->second.num_packets; 119 ConnectionIdData data(num_packets, 162 ++((it->second).num_packets); 163 if (!ShouldSendResponse((it->second).num_packets)) {
|
H A D | quic_sent_packet_manager_test.cc | 62 size_t num_packets) { 63 if (num_packets == 0) { 72 for (size_t i = 0; i < num_packets; ++i) { 78 size_t num_packets) { 79 EXPECT_EQ(num_packets, 82 for (size_t i = 0; i < num_packets; ++i) { 61 VerifyUnackedPackets(QuicPacketSequenceNumber* packets, size_t num_packets) argument 77 VerifyRetransmittablePackets(QuicPacketSequenceNumber* packets, size_t num_packets) argument
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
H A D | fec_test_helper.cc | 20 void FrameGenerator::NewFrame(int num_packets) { argument 21 num_packets_ = num_packets;
|
H A D | rtp_sender_video.cc | 345 uint32_t num_packets = (size + max_length - 1) / max_length; local 346 uint32_t payload_length = (size + num_packets - 1) / num_packets;
|
/external/chromium_org/media/cast/rtp_receiver/ |
H A D | receiver_stats_unittest.cc | 35 uint32 ExpectedJitter(uint32 const_interval, int num_packets) { argument 40 for (int i = 0; i < num_packets; ++i) {
|
/external/chromium_org/net/tools/quic/ |
H A D | quic_time_wait_list_manager.h | 137 : num_packets(num_packets_), 141 int num_packets; member in struct:net::tools::QuicTimeWaitListManager::ConnectionIdData
|
H A D | quic_time_wait_list_manager.cc | 116 int num_packets = 0; local 119 num_packets = it->second.num_packets; 123 ConnectionIdData data(num_packets, version, clock_.ApproximateNow(), 164 ++((it->second).num_packets); 165 if (!ShouldSendResponse((it->second).num_packets)) {
|
/external/chromium_org/content/browser/speech/ |
H A D | speech_recognizer_impl_unittest.cc | 415 int num_packets = (SpeechRecognizerImpl::kNoSpeechTimeoutMs) / local 418 for (int i = 0; i < num_packets; ++i) { 442 int num_packets = (SpeechRecognizerImpl::kNoSpeechTimeoutMs) / local 446 for (int i = 0; i < num_packets / 2; ++i) { 451 for (int i = 0; i < num_packets / 2; ++i) { 479 int num_packets = SpeechRecognizerImpl::kEndpointerEstimationTimeMs / local 482 for (int i = 0; i < num_packets; ++i) {
|
/external/chromium_org/media/audio/mac/ |
H A D | audio_input_mac.cc | 185 UInt32 num_packets, 189 num_packets, desc); 196 UInt32 num_packets, 180 HandleInputBufferStatic( void* data, AudioQueueRef audio_queue, AudioQueueBufferRef audio_buffer, const AudioTimeStamp* start_time, UInt32 num_packets, const AudioStreamPacketDescription* desc) argument 192 HandleInputBuffer( AudioQueueRef audio_queue, AudioQueueBufferRef audio_buffer, const AudioTimeStamp* start_time, UInt32 num_packets, const AudioStreamPacketDescription* packet_desc) argument
|
/external/chromium_org/media/cast/logging/ |
H A D | logging_impl_unittest.cc | 182 int num_packets = 0; local 189 ++num_packets; 208 EXPECT_EQ(num_packets, static_cast<int>(packet_events.size()));
|
H A D | stats_event_subscriber_unittest.cc | 265 int num_packets = 10; local 276 for (int i = 0; i < num_packets; i++) { 286 num_packets - 1, 312 num_packets - 1, 329 num_packets - 1, 346 num_packets - 1, 359 num_packets - 1,
|
/external/chromium_org/media/cast/transport/rtp_sender/rtp_packetizer/ |
H A D | rtp_packetizer.cc | 59 size_t num_packets = (frame.data.size() + max_length) / max_length; local 60 size_t payload_length = (frame.data.size() + num_packets) / num_packets; 89 big_endian_writer.WriteU16(static_cast<uint16>(num_packets - 1)); 108 DCHECK(packet_id_ == num_packets) << "Invalid state";
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | statistics_calculator.cc | 75 void StatisticsCalculator::PacketsDiscarded(int num_packets) { argument 76 discarded_packets_ += num_packets;
|
H A D | packet_buffer.cc | 259 void PacketBuffer::BufferStat(int* num_packets, int* max_num_packets) const { argument 260 *num_packets = static_cast<int>(buffer_.size());
|
H A D | neteq_unittest.cc | 650 int num_packets = (frame_index % 10 == 0 ? 2 : 1); local 651 for (int n = 0; n < num_packets; ++n) { 681 int num_packets = (i % 10 == 9 ? 0 : 1); local 682 for (int n = 0; n < num_packets; ++n) {
|
/external/chromium_org/third_party/webrtc/modules/pacing/ |
H A D | paced_sender_unittest.cc | 45 int num_packets = (bytes + kPaddingPacketSize - 1) / kPaddingPacketSize; local 46 padding_sent_ += kPaddingPacketSize * num_packets; 47 return kPaddingPacketSize * num_packets;
|
/external/chromium_org/media/audio/win/ |
H A D | audio_low_latency_output_win.cc | 444 // |num_packets| will always be one for exclusive-mode streams and 448 size_t num_packets = (num_available_frames / packet_size_frames_); local 450 for (size_t n = 0; n < num_packets; ++n) {
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/bench/ |
H A D | sched-messaging.c | 47 unsigned int num_packets; member in struct:receiver_context 127 for (i = 0; i < ctx->num_packets; i++) { 223 ctx->num_packets = num_fds * loops;
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
H A D | turnport_unittest.cc | 302 size_t num_packets = 256; local 303 for (size_t i = 0; i < num_packets; ++i) { 314 ASSERT_EQ_WAIT(num_packets, turn_packets_.size(), kTimeout); 315 ASSERT_EQ_WAIT(num_packets, udp_packets_.size(), kTimeout); 316 for (size_t i = 0; i < num_packets; ++i) {
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
H A D | jitter_buffer_unittest.cc | 188 void DropFrame(int num_packets) { argument 189 stream_generator_->GenerateFrame(kVideoFrameDelta, num_packets, 0, 191 for (int i = 0; i < num_packets; ++i)
|
/external/qemu/android/ |
H A D | shaper.c | 100 int num_packets; member in struct:NetShaperRec_ 148 shaper->num_packets--; 169 shaper->num_packets = 0; 192 shaper->num_packets = 0; 251 shaper->num_packets += 1;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
H A D | acm_receiver.cc | 779 int num_packets; local 782 neteq_->PacketBufferStatistics(&num_packets, &max_num_packets); 783 if (num_packets > max_num_packets * kBufferingThresholdScale) {
|