Home
last modified time | relevance | path

Searched refs:unacked_packets (Results 1 – 21 of 21) sorted by relevance

/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/
Dquic_unacked_packet_map_peer.cc12 const QuicUnackedPacketMap& unacked_packets) { in GetAggregatedStreamFrame() argument
13 return unacked_packets.aggregated_stream_frame_; in GetAggregatedStreamFrame()
18 QuicUnackedPacketMap* unacked_packets, Perspective perspective) { in SetPerspective() argument
19 *const_cast<Perspective*>(&unacked_packets->perspective_) = perspective; in SetPerspective()
24 const QuicUnackedPacketMap& unacked_packets) { in GetCapacity() argument
25 return unacked_packets.unacked_packets_.capacity(); in GetCapacity()
Dquic_unacked_packet_map_peer.h16 const QuicUnackedPacketMap& unacked_packets);
18 static void SetPerspective(QuicUnackedPacketMap* unacked_packets,
21 static size_t GetCapacity(const QuicUnackedPacketMap& unacked_packets);
Dquic_test_utils.h1266 (const QuicUnackedPacketMap& unacked_packets, QuicTime time,
/external/cronet/net/third_party/quiche/src/quiche/quic/core/congestion_control/
Dgeneral_loss_algorithm.cc36 const QuicUnackedPacketMap& unacked_packets, QuicTime time, in DetectLosses() argument
64 QuicPacketNumber packet_number = unacked_packets.GetLeastUnacked(); in DetectLosses()
65 auto it = unacked_packets.begin(); in DetectLosses()
67 if (least_in_flight_ > unacked_packets.largest_sent_packet() + 1) { in DetectLosses()
70 << unacked_packets.largest_sent_packet() + 1; in DetectLosses()
79 unacked_packets.GetPacketNumberSpace(largest_newly_acked)); in DetectLosses()
80 for (; it != unacked_packets.end() && packet_number <= largest_newly_acked; in DetectLosses()
82 if (unacked_packets.GetPacketNumberSpace(it->encryption_level) != in DetectLosses()
107 unacked_packets.GetTransmissionInfo(largest_newly_acked).bytes_sent; in DetectLosses()
148 const QuicUnackedPacketMap& unacked_packets, const RttStats& rtt_stats, in SpuriousLossDetected() argument
[all …]
Duber_loss_algorithm.cc31 const QuicUnackedPacketMap& unacked_packets, QuicTime time, in DetectLosses() argument
38 unacked_packets.GetLargestAckedOfPacketNumberSpace( in DetectLosses()
41 unacked_packets.GetLeastUnacked() > largest_acked) { in DetectLosses()
48 unacked_packets, time, rtt_stats, largest_acked, packets_acked, in DetectLosses()
80 const QuicUnackedPacketMap& unacked_packets, const RttStats& rtt_stats, in SpuriousLossDetected() argument
83 general_loss_algorithms_[unacked_packets.GetPacketNumberSpace(packet_number)] in SpuriousLossDetected()
84 .SpuriousLossDetected(unacked_packets, rtt_stats, ack_receive_time, in SpuriousLossDetected()
Dsend_algorithm_interface.cc23 const QuicUnackedPacketMap* unacked_packets, in Create() argument
32 return new BbrSender(clock->ApproximateNow(), rtt_stats, unacked_packets, in Create()
37 clock->ApproximateNow(), rtt_stats, unacked_packets, in Create()
Dloss_detection_interface.h40 const QuicUnackedPacketMap& unacked_packets, QuicTime time,
51 const QuicUnackedPacketMap& unacked_packets, const RttStats& rtt_stats,
Dgeneral_loss_algorithm.h34 DetectionStats DetectLosses(const QuicUnackedPacketMap& unacked_packets,
44 void SpuriousLossDetected(const QuicUnackedPacketMap& unacked_packets,
Duber_loss_algorithm.h55 DetectionStats DetectLosses(const QuicUnackedPacketMap& unacked_packets,
65 void SpuriousLossDetected(const QuicUnackedPacketMap& unacked_packets,
Dbbr_sender_test.cc377 QuicUnackedPacketMap* unacked_packets = in TEST_F() local
385 while (!unacked_packets->GetTransmissionInfo(least_inflight).in_flight) { in TEST_F()
390 unacked_packets->GetTransmissionInfo(least_inflight).bytes_sent; in TEST_F()
393 QuicByteCount prior_inflight = unacked_packets->bytes_in_flight(); in TEST_F()
401 unacked_packets->RemoveFromInFlight(least_inflight); in TEST_F()
1282 QuicUnackedPacketMap* unacked_packets = in TEST_F() local
1288 [&]() { return unacked_packets->bytes_in_flight() > 0; }, in TEST_F()
1302 sender_->OnCongestionEvent(false, unacked_packets->bytes_in_flight(), now, {}, in TEST_F()
Dsend_algorithm_interface.h60 const QuicUnackedPacketMap* unacked_packets, CongestionControlType type,
Dbbr_sender.cc73 const QuicUnackedPacketMap* unacked_packets, in BbrSender() argument
78 unacked_packets_(unacked_packets), in BbrSender()
82 sampler_(unacked_packets, kBandwidthWindowSize), in BbrSender()
Dbbr2_sender.h30 const QuicUnackedPacketMap* unacked_packets,
Dbbr2_sender.cc60 const QuicUnackedPacketMap* unacked_packets, in Bbr2Sender() argument
66 unacked_packets_(unacked_packets), in Bbr2Sender()
Dbbr_sender.h92 const QuicUnackedPacketMap* unacked_packets,
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_unacked_packet_map_test.cc663 QuicUnackedPacketMap unacked_packets(GetParam()); in TEST_P() local
664 ASSERT_EQ(QuicUnackedPacketMapPeer::GetCapacity(unacked_packets), 0u); in TEST_P()
665 unacked_packets.ReserveInitialCapacity(16); in TEST_P()
668 unacked_packets.AddSentPacket(&packet, TransmissionType::NOT_RETRANSMISSION, in TEST_P()
670 ASSERT_EQ(QuicUnackedPacketMapPeer::GetCapacity(unacked_packets), 16u); in TEST_P()
Dquic_sent_packet_manager_test.cc131 EXPECT_TRUE(manager_.unacked_packets().empty()); in VerifyUnackedPackets()
137 EXPECT_FALSE(manager_.unacked_packets().empty()); in VerifyUnackedPackets()
141 manager_.unacked_packets().IsUnacked(QuicPacketNumber(packets[i]))) in VerifyUnackedPackets()
1644 const QuicUnackedPacketMap* unacked_packets = in TEST_F() local
1647 unacked_packets in TEST_F()
1655 unacked_packets->GetLargestSentRetransmittableOfPacketNumberSpace( in TEST_F()
1658 unacked_packets in TEST_F()
1677 unacked_packets->GetLargestSentRetransmittableOfPacketNumberSpace( in TEST_F()
1680 unacked_packets->GetLargestSentRetransmittableOfPacketNumberSpace( in TEST_F()
1683 unacked_packets in TEST_F()
[all …]
Dquic_sent_packet_manager.h408 const QuicUnackedPacketMap& unacked_packets() const { in unacked_packets() function
Dquic_connection.cc3625 if (sent_packet_manager_.unacked_packets().empty()) { in WritePacket()
3633 sent_packet_manager_.unacked_packets() in WritePacket()
4182 if (sent_packet_manager_.unacked_packets().empty()) { in OnRetransmissionTimeout()
5119 if (sent_packet_manager_.unacked_packets().empty()) { in WritePacketUsingWriter()
5127 sent_packet_manager_.unacked_packets() in WritePacketUsingWriter()
Dquic_connection_test.cc7978 EXPECT_FALSE(connection_.sent_packet_manager().unacked_packets().empty()); in TEST_P()
/external/cronet/net/quic/
Dquic_chromium_client_session.cc1927 .unacked_packets() in OnConnectionClosed()
1933 .unacked_packets() in OnConnectionClosed()