Home
last modified time | relevance | path

Searched refs:kMaxPacketSize (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/net/quic/
Dquic_fec_group.cc135 DCHECK_LE(payload.size(), kMaxPacketSize); in UpdateParity()
136 if (payload.size() > kMaxPacketSize) { in UpdateParity()
143 DCHECK_LE(payload.size(), kMaxPacketSize); in UpdateParity()
148 if (payload.size() < kMaxPacketSize) { in UpdateParity()
151 kMaxPacketSize - payload.size()); in UpdateParity()
156 for (size_t i = 0; i < kMaxPacketSize; ++i) { in UpdateParity()
Dquic_fec_group.h90 char payload_parity_[kMaxPacketSize];
Dquic_framer_test.cc625 unsigned char packet[kMaxPacketSize + 1] = { in TEST_P()
641 kMaxPacketSize - GetPacketHeaderSize( in TEST_P()
3227 unsigned char packet[kMaxPacketSize] = { in TEST_P()
3247 memset(packet + header_size + 1, 0x00, kMaxPacketSize - header_size - 1); in TEST_P()
3274 unsigned char packet[kMaxPacketSize] = { in TEST_P()
3293 memset(packet + header_size + 1, 0x00, kMaxPacketSize - header_size - 1); in TEST_P()
3320 unsigned char packet[kMaxPacketSize] = { in TEST_P()
3339 memset(packet + header_size + 1, 0x00, kMaxPacketSize - header_size - 1); in TEST_P()
3366 unsigned char packet[kMaxPacketSize] = { in TEST_P()
3385 memset(packet + header_size + 1, 0x00, kMaxPacketSize - header_size - 1); in TEST_P()
[all …]
Dquic_fec_group_test.cc108 char recovered[kMaxPacketSize]; in RunTest()
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/tools/
Drtp_to_text.cc47 static const uint32_t kMaxPacketSize = 1500; in main() local
48 uint8_t packet_buffer[kMaxPacketSize]; in main()
50 uint32_t packet_length = kMaxPacketSize; in main()
71 packet_length = kMaxPacketSize; in main()
Dbwe_rtp_play.cc71 const uint32_t kMaxPacketSize = 1500; in main() local
72 uint8_t packet_buffer[kMaxPacketSize]; in main()
79 uint32_t packet_length = kMaxPacketSize; in main()
/external/chromium_org/net/quic/congestion_control/
Dpacing_sender_test.cc56 kMaxPacketSize, HAS_RETRANSMITTABLE_DATA)); in CheckPacketIsSentImmediately()
58 sequence_number_++, kMaxPacketSize, in CheckPacketIsSentImmediately()
78 kMaxPacketSize, NO_RETRANSMITTABLE_DATA)); in CheckAckIsSentImmediately()
80 sequence_number_++, kMaxPacketSize, in CheckAckIsSentImmediately()
139 kMaxPacketSize, QuicTime::Delta::FromMilliseconds(2)))); in TEST_F()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
Dudp_node.cc18 const size_t kMaxPacketSize = 65536; variable
19 const size_t kDefaultFifoSize = kMaxPacketSize * 8;
98 data_ = new char[kMaxPacketSize]; in UdpRecvWork()
118 kMaxPacketSize, in Start()
293 int capped_len = static_cast<int32_t>(std::min<int>(len, kMaxPacketSize)); in Send_Locked()
Dtcp_node.cc19 const size_t kMaxPacketSize = 65536; variable
20 const size_t kDefaultFifoSize = kMaxPacketSize * 8;
61 int capped_len = std::min(tx_data_avail, kMaxPacketSize); in Start()
123 static_cast<int32_t>(std::min(rx_space_avail, kMaxPacketSize)); in Start()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/test/
Dstream_generator.h24 const unsigned int kMaxPacketSize = 1500; variable
68 uint8_t packet_buffer[kMaxPacketSize];
Dstream_generator.cc68 EXPECT_LT(size, kMaxPacketSize); in GeneratePacket()
/external/chromium_org/net/tools/quic/
Dquic_client_bin.cc37 int32 FLAGS_initial_stream_flow_control_window = 100 * net::kMaxPacketSize;
40 int32 FLAGS_initial_session_flow_control_window = 200 * net::kMaxPacketSize;
Dquic_server.cc33 const uint32 kServerInitialFlowControlWindow = 100 * net::kMaxPacketSize;
222 char buf[2 * kMaxPacketSize]; in ReadAndDispatchSinglePacket()
Dend_to_end_test.cc476 "https://www.google.com/some/path?query=" + string(kMaxPacketSize, '.'); in TEST_P()
488 "https://www.google.com/some/path?query=" + string(kMaxPacketSize, '.'); in TEST_P()
774 GenerateBody(&body, kMaxPacketSize); in TEST_P()
Dquic_client.cc332 char buf[2 * kMaxPacketSize]; in ReadAndProcessPacket()
/external/chromium_org/media/cast/transport/transport/
Dudp_transport.cc25 const int kMaxPacketSize = 1500; variable
116 next_packet_.reset(new Packet(kMaxPacketSize)); in ReceiveNextPacket()
121 kMaxPacketSize, in ReceiveNextPacket()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dasyncstuntcpsocket.cc38 static const size_t kMaxPacketSize = 64 * 1024; variable
43 static const size_t kBufSize = kMaxPacketSize + kStunHeaderSize;
/external/chromium_org/third_party/webrtc/base/
Dasynctcpsocket.cc25 static const size_t kMaxPacketSize = 64 * 1024; variable
30 static const size_t kBufSize = kMaxPacketSize + kPacketLenSize;
/external/chromium_org/third_party/libjingle/source/talk/base/
Dasynctcpsocket.cc42 static const size_t kMaxPacketSize = 64 * 1024; variable
47 static const size_t kBufSize = kMaxPacketSize + kPacketLenSize;
/external/chromium_org/media/cast/test/utility/
Dudp_proxy.cc23 const size_t kMaxPacketSize = 65536; variable
525 packet_.reset(new transport::Packet(kMaxPacketSize)); in PollRead()
530 kMaxPacketSize, in PollRead()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver_unittest.cc34 static const int kMaxPacketSize = 1024; member in webrtc::__anon3a26c3c30111::PacketBuilder
59 EXPECT_LT(pos_, kMaxPacketSize - 1); in Add8()
157 kMaxPacketSize-1) << "Max buffer size reached."; in AddXrDlrrBlock()
219 uint8_t buffer_[kMaxPacketSize];
/external/lldb/source/Plugins/Process/MacOSX-Kernel/
DCommunicationKDP.h36 const static uint32_t kMaxPacketSize = 1200; variable
/external/chromium_org/remoting/protocol/
Dchannel_multiplexer.cc24 const int kMaxPacketSize = 1024; variable
305 size_t size = std::min(kMaxPacketSize, buffer_len); in Write()
/external/chromium_org/third_party/webrtc/video/
Drampup_tests.cc42 static const int kMaxPacketSize = 1500; variable
144 uint8_t restored_packet[kMaxPacketSize]; in SendRtp()
Dvideo_send_stream_tests.cc744 static const uint32_t kMaxPacketSize = 128; in TestPacketFragmentationSize() local
754 kMaxPacketSize, start, stop, &encoder, format == kGeneric, with_fec); in TestPacketFragmentationSize()
770 send_config_.rtp.max_packet_size = kMaxPacketSize; in TestPacketFragmentationSize()

12