Home
last modified time | relevance | path

Searched refs:entropy_hash (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/net/quic/
Dquic_sent_entropy_manager.cc23 QuicPacketEntropyHash entropy_hash) { in RecordPacketEntropyHash() argument
26 packets_entropy_hash_ ^= entropy_hash; in RecordPacketEntropyHash()
29 make_pair(entropy_hash, packets_entropy_hash_))); in RecordPacketEntropyHash()
33 << " entropy hash: " << static_cast<int>(entropy_hash); in RecordPacketEntropyHash()
51 QuicPacketEntropyHash entropy_hash) const { in IsValidEntropy()
66 DLOG_IF(WARNING, entropy_hash != expected_entropy_hash) in IsValidEntropy()
67 << "Invalid entropy hash: " << static_cast<int>(entropy_hash) in IsValidEntropy()
69 return entropy_hash == expected_entropy_hash; in IsValidEntropy()
Dquic_received_packet_manager.cc67 QuicPacketEntropyHash entropy_hash) { in RecordPacketEntropyHash() argument
79 packets_entropy_hash_ ^= entropy_hash; in RecordPacketEntropyHash()
83 << " entropy hash: " << static_cast<int>(entropy_hash); in RecordPacketEntropyHash()
85 packets_entropy_.insert(make_pair(sequence_number, entropy_hash)); in RecordPacketEntropyHash()
91 QuicPacketEntropyHash entropy_hash) { in SetCumulativeEntropyUpTo() argument
99 packets_entropy_hash_ = entropy_hash; in SetCumulativeEntropyUpTo()
139 received_info_.entropy_hash = 0; in QuicReceivedPacketManager()
177 header.entropy_hash); in RecordPacketReceived()
203 received_info->entropy_hash = EntropyHash(received_info_.largest_observed); in UpdateReceivedPacketInfo()
267 stop_waiting.entropy_hash); in UpdatePacketInformationSentByPeer()
Dquic_received_packet_manager_test.cc192 QuicPacketEntropyHash entropy_hash) { in RecordPacketReceipt() argument
193 RecordPacketReceipt(sequence_number, entropy_hash, QuicTime::Zero()); in RecordPacketReceipt()
197 QuicPacketEntropyHash entropy_hash, in RecordPacketReceipt() argument
201 header.entropy_hash = entropy_hash; in RecordPacketReceipt()
260 QuicPacketEntropyHash entropy_hash = 0; in TEST_F() local
263 entropy_hash ^= entropies[i].second; in TEST_F()
265 EXPECT_EQ(entropy_hash, received_manager_.EntropyHash(7)); in TEST_F()
268 entropy_hash ^= 100; in TEST_F()
270 entropy_hash ^= entropies[i].second; in TEST_F()
274 EXPECT_EQ(entropy_hash, received_manager_.EntropyHash(7)); in TEST_F()
[all …]
Dquic_sent_entropy_manager_test.cc60 QuicPacketEntropyHash entropy_hash = 0; in TEST_F() local
63 entropy_hash ^= entropies[i]; in TEST_F()
68 entropy_hash)); in TEST_F()
Dquic_sent_entropy_manager.h28 QuicPacketEntropyHash entropy_hash);
37 QuicPacketEntropyHash entropy_hash) const;
Dquic_protocol.cc78 entropy_hash(0), in QuicPacketHeader()
88 entropy_hash(0), in QuicPacketHeader()
237 << ", entropy hash: " << static_cast<int>(header.entropy_hash) in operator <<()
245 : entropy_hash(0), in ReceivedPacketInfo()
267 : entropy_hash(0), in QuicStopWaitingFrame()
382 os << "entropy_hash: " << static_cast<int>(sent_info.entropy_hash) in operator <<()
388 os << "entropy_hash: " << static_cast<int>(received_info.entropy_hash) in operator <<()
729 QuicPacketEntropyHash entropy_hash, in SerializedPacket() argument
734 entropy_hash(entropy_hash), in SerializedPacket()
Dquic_received_packet_manager.h51 QuicPacketEntropyHash entropy_hash);
57 QuicPacketEntropyHash entropy_hash);
Dquic_framer_test.cc680 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
733 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
789 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
844 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
901 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
956 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
1011 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
1066 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
1615 visitor_.header_->entropy_hash); in TEST_P()
1738 EXPECT_EQ(0xAB, frame.sent_info.entropy_hash); in TEST_P()
[all …]
Dquic_protocol.h563 QuicPacketEntropyHash entropy_hash; member
644 QuicPacketEntropyHash entropy_hash; member
695 QuicPacketEntropyHash entropy_hash; member
1022 QuicPacketEntropyHash entropy_hash,
1029 QuicPacketEntropyHash entropy_hash; member
Dquic_connection_test.cc447 QuicPacketEntropyHash entropy_hash, in SendPacket() argument
454 packet, entropy_hash, retransmittable_frames)); in SendPacket()
689 return serialized_packet.entropy_hash; in ProcessFramePacket()
891 frame.received_info.entropy_hash = in InitAckFrame()
906 frame->received_info.entropy_hash ^= in NackPacket()
909 frame->received_info.entropy_hash ^= in NackPacket()
918 frame->received_info.entropy_hash ^= in AckPacket()
921 frame->received_info.entropy_hash ^= in AckPacket()
3233 EXPECT_EQ(146u, outgoing_ack()->received_info.entropy_hash); in TEST_P()
3244 EXPECT_EQ(146u, outgoing_ack()->received_info.entropy_hash); in TEST_P()
[all …]
Dquic_framer.cc704 header->entropy_hash = GetPacketEntropyHash(*header); in ProcessRevivedPacket()
1064 header->entropy_hash = GetPacketEntropyHash(*header); in ProcessPacketHeader()
1349 if (!reader_->ReadBytes(&received_info->entropy_hash, 1)) { in ProcessReceivedInfo()
1429 if (!reader_->ReadBytes(&stop_waiting->entropy_hash, 1)) { in ProcessStopWaitingFrame()
2059 QuicPacketEntropyHash ack_entropy_hash = received_info.entropy_hash; in AppendAckFrameAndTypeByte()
2244 if (!writer->WriteUInt8(frame.entropy_hash)) { in AppendStopWaitingFrame()
Dquic_connection.cc665 incoming_ack.received_info.entropy_hash)) { in ValidateAckFrame()
1552 packet.entropy_hash); in SendOrQueuePacket()
1568 stop_waiting->entropy_hash = sent_entropy_manager_.EntropyHash( in UpdateStopWaiting()
Dquic_packet_creator_test.cc1006 (serialized.entropy_hash & (1 << ((j+1) % 8))) != 0; in TEST_P()
1007 uint8 rest_of_hash = serialized.entropy_hash & ~(1 << ((j+1) % 8)); in TEST_P()
Dquic_packet_generator_test.cc151 frame->entropy_hash = 0; in CreateStopWaitingFrame()
/external/chromium_org/net/quic/test_tools/
Dquic_received_packet_manager_peer.cc17 QuicPacketEntropyHash entropy_hash) { in SetCumulativeEntropyUpTo() argument
19 peer_least_unacked, entropy_hash); in SetCumulativeEntropyUpTo()
Dquic_received_packet_manager_peer.h21 QuicPacketEntropyHash entropy_hash);
Dquic_connection_peer.cc112 QuicPacketEntropyHash entropy_hash) { in IsValidEntropy() argument
114 largest_observed, missing_packets, entropy_hash); in IsValidEntropy()
Dquic_test_utils.cc50 ack.received_info.entropy_hash = 0; in MakeAckFrame()
52 ack.sent_info.entropy_hash = 0; in MakeAckFrame()
449 header.entropy_hash = 0; in ConstructEncryptedPacket()
526 header.entropy_hash = 0; in ConstructPacketFromHandshakeMessage()
Dquic_connection_peer.h76 QuicPacketEntropyHash entropy_hash);
/external/chromium_org/net/tools/quic/
Dquic_time_wait_list_manager_test.cc145 header.entropy_hash = 0; in ConstructEncryptedPacket()