Home
last modified time | relevance | path

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

/external/chromium_org/net/quic/
Dquic_sent_entropy_manager_test.cc54 QuicPacketEntropyHash entropy_hash = 0; in TEST_F() local
57 entropy_hash ^= entropies[i]; in TEST_F()
62 entropy_hash)); in TEST_F()
81 QuicPacketEntropyHash entropy_hash = 0; in TEST_F() local
84 entropy_hash ^= entropies[i]; in TEST_F()
88 entropy_hash)); in TEST_F()
90 entropy_hash = 0; in TEST_F()
92 entropy_hash ^= entropies[i]; in TEST_F()
94 EXPECT_EQ(entropy_hash, entropy_manager_.GetCumulativeEntropy(10)); in TEST_F()
Dquic_sent_entropy_manager.cc46 QuicPacketEntropyHash entropy_hash) { in RecordPacketEntropyHash() argument
53 packets_entropy_.push_back(entropy_hash); in RecordPacketEntropyHash()
55 << " with entropy hash: " << static_cast<int>(entropy_hash); in RecordPacketEntropyHash()
70 QuicPacketEntropyHash entropy_hash) { in IsValidEntropy() argument
89 DLOG_IF(WARNING, entropy_hash != expected_entropy_hash) in IsValidEntropy()
90 << "Invalid entropy hash: " << static_cast<int>(entropy_hash) in IsValidEntropy()
92 return entropy_hash == expected_entropy_hash; in IsValidEntropy()
Dquic_received_packet_manager.cc62 QuicPacketEntropyHash entropy_hash) { in RecordPacketEntropyHash() argument
73 packets_entropy_hash_ ^= entropy_hash; in RecordPacketEntropyHash()
86 packets_entropy_.push_back(make_pair(entropy_hash, true)); in RecordPacketEntropyHash()
90 make_pair(entropy_hash, true); in RecordPacketEntropyHash()
97 << " entropy hash: " << static_cast<int>(entropy_hash); in RecordPacketEntropyHash()
102 QuicPacketEntropyHash entropy_hash) { in SetCumulativeEntropyUpTo() argument
117 packets_entropy_hash_ = entropy_hash; in SetCumulativeEntropyUpTo()
142 ack_frame_.entropy_hash = 0; in QuicReceivedPacketManager()
180 header.entropy_hash); in RecordPacketReceived()
224 ack_frame->entropy_hash = EntropyHash(ack_frame_.largest_observed); in UpdateReceivedPacketInfo()
[all …]
Dquic_received_packet_manager_test.cc194 QuicPacketEntropyHash entropy_hash) { in RecordPacketReceipt() argument
195 RecordPacketReceipt(sequence_number, entropy_hash, QuicTime::Zero()); in RecordPacketReceipt()
199 QuicPacketEntropyHash entropy_hash, in RecordPacketReceipt() argument
203 header.entropy_hash = entropy_hash; in RecordPacketReceipt()
266 QuicPacketEntropyHash entropy_hash = 0; in TEST_F() local
269 entropy_hash ^= entropies[i].second; in TEST_F()
271 EXPECT_EQ(entropy_hash, received_manager_.EntropyHash(7)); in TEST_F()
274 entropy_hash ^= 100; in TEST_F()
276 entropy_hash ^= entropies[i].second; in TEST_F()
280 EXPECT_EQ(entropy_hash, received_manager_.EntropyHash(7)); in TEST_F()
[all …]
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 <<()
259 : entropy_hash(0), in QuicStopWaitingFrame()
266 : entropy_hash(0), in QuicAckFrame()
374 os << "entropy_hash: " << static_cast<int>(sent_info.entropy_hash) in operator <<()
380 os << "entropy_hash: " << static_cast<int>(ack_frame.entropy_hash) in operator <<()
692 QuicPacketEntropyHash entropy_hash, in SerializedPacket() argument
697 entropy_hash(entropy_hash), in SerializedPacket()
Dquic_sent_entropy_manager.h34 QuicPacketEntropyHash entropy_hash);
46 QuicPacketEntropyHash entropy_hash);
Dquic_received_packet_manager.h54 QuicPacketEntropyHash entropy_hash);
60 QuicPacketEntropyHash entropy_hash);
Dquic_framer_test.cc679 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
732 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
788 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
843 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
900 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
955 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
1010 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
1065 EXPECT_EQ(0, visitor_.header_->entropy_hash); in TEST_P()
1614 visitor_.header_->entropy_hash); in TEST_P()
1731 EXPECT_EQ(0xBA, frame.entropy_hash); in TEST_P()
[all …]
Dquic_protocol.h582 QuicPacketEntropyHash entropy_hash; member
664 QuicPacketEntropyHash entropy_hash; member
678 QuicPacketEntropyHash entropy_hash; member
1038 QuicPacketEntropyHash entropy_hash,
1045 QuicPacketEntropyHash entropy_hash; member
Dquic_connection_test.cc451 QuicPacketEntropyHash entropy_hash, in SendPacket() argument
458 packet, entropy_hash, retransmittable_frames)); in SendPacket()
714 return serialized_packet.entropy_hash; in ProcessFramePacket()
943 frame.entropy_hash = in InitAckFrame()
960 frame->entropy_hash ^= in NackPacket()
968 frame->entropy_hash ^= in AckPacket()
3157 EXPECT_EQ(146u, outgoing_ack()->entropy_hash); in TEST_P()
3168 EXPECT_EQ(146u, outgoing_ack()->entropy_hash); in TEST_P()
3177 EXPECT_EQ(34u, outgoing_ack()->entropy_hash); in TEST_P()
3183 frame.entropy_hash = kRandomEntropyHash; in TEST_P()
[all …]
Dquic_framer.cc685 header->entropy_hash = GetPacketEntropyHash(*header); in ProcessRevivedPacket()
1065 header->entropy_hash = GetPacketEntropyHash(*header); in ProcessPacketHeader()
1334 if (!reader_->ReadBytes(&ack_frame->entropy_hash, 1)) { in ProcessAckFrame()
1475 if (!reader_->ReadBytes(&stop_waiting->entropy_hash, 1)) { in ProcessStopWaitingFrame()
2036 QuicPacketEntropyHash ack_entropy_hash = frame.entropy_hash; in AppendAckFrameAndTypeByte()
2234 if (!writer->WriteUInt8(frame.entropy_hash)) { in AppendStopWaitingFrame()
Dquic_connection.cc675 incoming_ack.entropy_hash)) { in ValidateAckFrame()
1550 packet.serialized_packet.entropy_hash); in SendOrQueuePacket()
1560 stop_waiting->entropy_hash = sent_entropy_manager_.GetCumulativeEntropy( in UpdateStopWaiting()
Dquic_packet_creator_test.cc1052 (serialized.entropy_hash & (1 << ((j+1) % 8))) != 0; in TEST_P()
1053 uint8 rest_of_hash = serialized.entropy_hash & ~(1 << ((j+1) % 8)); in TEST_P()
Dquic_connection_logger.cc112 frame->entropy_hash); in NetLogQuicAckFrameCallback()
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_test_utils.cc49 ack.entropy_hash = 0; in MakeAckFrame()
472 header.entropy_hash = 0; in ConstructEncryptedPacket()
549 header.entropy_hash = 0; in ConstructPacketFromHandshakeMessage()
/external/chromium_org/net/tools/quic/
Dquic_time_wait_list_manager_test.cc145 header.entropy_hash = 0; in ConstructEncryptedPacket()