Home
last modified time | relevance | path

Searched refs:max_plaintext_size (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/net/quic/
Dquic_packet_creator.cc345 const size_t max_plaintext_size = in BytesFree() local
347 DCHECK_GE(max_plaintext_size, PacketSize()); in BytesFree()
348 return max_plaintext_size - min(max_plaintext_size, PacketSize() in BytesFree()
379 size_t max_plaintext_size = in SerializePacket() local
381 DCHECK_GE(max_plaintext_size, packet_size_); in SerializePacket()
386 bool possibly_truncated_by_length = packet_size_ == max_plaintext_size && in SerializePacket()
Dquic_packet_creator_test.cc905 const size_t max_plaintext_size = in TEST_P() local
908 EXPECT_EQ(max_plaintext_size - in TEST_P()
953 EXPECT_EQ(max_plaintext_size - in TEST_P()
967 const size_t max_plaintext_size = in TEST_P() local
977 EXPECT_GT(max_plaintext_size, creator_.PacketSize()); in TEST_P()
982 EXPECT_GT(max_plaintext_size, creator_.PacketSize()); in TEST_P()
1012 const size_t max_plaintext_size = in TEST_P() local
1014 EXPECT_EQ(max_plaintext_size - creator_.PacketSize(), creator_.BytesFree()); in TEST_P()
1027 EXPECT_EQ(max_plaintext_size, creator_.PacketSize()); in TEST_P()
/external/chromium_org/net/quic/test_tools/
Dquic_test_utils.cc66 const size_t max_plaintext_size = framer->GetMaxPlaintextSize(kMaxPacketSize); in BuildUnsizedDataPacket() local
69 DCHECK_LE(packet_size, max_plaintext_size); in BuildUnsizedDataPacket()
73 frames[i], max_plaintext_size - packet_size, first_frame, last_frame, in BuildUnsizedDataPacket()