Home
last modified time | relevance | path

Searched refs:packet_size_ (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/webrtc/test/testsupport/
Dpacket_reader.cc32 packet_size_ = packet_size_in_bytes; in InitializeReading()
44 if (data_length_ - currentIndex_ <= packet_size_) { in NextPacket()
50 currentIndex_ += packet_size_; in NextPacket()
51 assert(packet_size_ >= 0); in NextPacket()
52 return packet_size_; in NextPacket()
Dpacket_reader.h45 int packet_size_; variable
/external/webrtc/test/testsupport/
Dpacket_reader.cc32 packet_size_ = packet_size_in_bytes; in InitializeReading()
44 if (data_length_ - currentIndex_ <= packet_size_) { in NextPacket()
50 currentIndex_ += packet_size_; in NextPacket()
51 assert(packet_size_ >= 0); in NextPacket()
52 return packet_size_; in NextPacket()
Dpacket_reader.h45 int packet_size_; variable
/external/chromium_org/net/quic/
Dquic_packet_creator.cc83 packet_size_(0) { in QuicPacketCreator()
182 if (packet_size_ > 0) { in StopSendingVersion()
183 DCHECK_LT(kQuicVersionSize, packet_size_); in StopSendingVersion()
184 packet_size_ -= kQuicVersionSize; in StopSendingVersion()
354 return packet_size_; in PacketSize()
360 packet_size_ = GetPacketHeaderSize( in PacketSize()
363 return packet_size_; in PacketSize()
381 DCHECK_GE(max_plaintext_size, packet_size_); in SerializePacket()
386 bool possibly_truncated_by_length = packet_size_ == max_plaintext_size && in SerializePacket()
390 framer_->BuildDataPacket(header, queued_frames_, packet_size_); in SerializePacket()
[all …]
Dquic_packet_creator.h287 mutable size_t packet_size_; variable
/external/chromium_org/content/browser/renderer_host/media/
Daudio_sync_reader.cc45 packet_size_(shared_memory_->requested_size()), in AudioSyncReader()
55 DCHECK_EQ(packet_size_, AudioBus::CalculateMemorySize(params)); in AudioSyncReader()
Daudio_sync_reader.h67 const int packet_size_; variable
/external/chromium_org/media/audio/alsa/
Dalsa_output.cc144 packet_size_(params.GetBytesPerBuffer()), in AlsaPcmOutputStream()
155 frames_per_packet_(packet_size_ / bytes_per_frame_), in AlsaPcmOutputStream()
162 DCHECK_EQ(audio_bus_->frames() * bytes_per_frame_, packet_size_); in AlsaPcmOutputStream()
361 new media::DataBuffer(packet_size_); in BufferPacket()
366 DCHECK_LE(packet_size, packet_size_); in BufferPacket()
Dalsa_output.h176 uint32 packet_size_; variable
Dalsa_output_unittest.cc602 test_stream->packet_size_ = kTestPacketSize; in TEST_F()
628 test_stream->packet_size_ = kTestPacketSize; in TEST_F()
655 test_stream->packet_size_ = kTestPacketSize; in TEST_F()
668 test_stream->packet_size_ = kTestPacketSize; in TEST_F()
/external/chromium_org/third_party/webrtc/base/
Dsslstreamadapter_unittest.cc549 packet_size_(1000), count_(0), sent_(0) { in SSLStreamAdapterTestDTLS()
555 packet_size_(1000), count_(0), sent_(0) { in SSLStreamAdapterTestDTLS()
562 memset(packet, sent_ & 0xff, packet_size_); in WriteData()
566 int rv = client_ssl_->Write(packet, packet_size_, &sent, 0); in WriteData()
605 ASSERT_EQ(packet_size_, bread); in ReadData()
609 for (size_t i = 4; i < packet_size_; i++) { in ReadData()
636 size_t packet_size_; member in SSLStreamAdapterTestDTLS
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Ddtlstransportchannel_unittest.cc73 packet_size_(0), in DtlsTestClient()
269 packet_size_ = size; in ExpectPackets()
278 if (size != packet_size_ || in VerifyPacket()
296 if (size <= packet_size_) { in VerifyEncryptedPacket()
369 size_t packet_size_; member in DtlsTestClient