Searched refs:max_plaintext_size (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/net/quic/ |
D | quic_packet_creator.cc | 345 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()
|
D | quic_packet_creator_test.cc | 905 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/ |
D | quic_test_utils.cc | 66 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()
|