Home
last modified time | relevance | path

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

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2Test.java428 int paddingLength = 254; in readPaddedDataFrame() local
429 byte[] padding = new byte[paddingLength]; in readPaddedDataFrame()
432 writeMedium(frame, dataLength + paddingLength + 1); in readPaddedDataFrame()
436 frame.writeByte(paddingLength); in readPaddedDataFrame()
460 int paddingLength = 254; in readPaddedHeadersFrame() local
461 byte[] padding = new byte[paddingLength]; in readPaddedHeadersFrame()
465 writeMedium(frame, (int) headerBlock.size() + paddingLength + 1); in readPaddedHeadersFrame()
469 frame.writeByte(paddingLength); in readPaddedHeadersFrame()
491 int paddingLength = 254; in readPaddedHeadersFrameThenContinuation() local
492 byte[] padding = new byte[paddingLength]; in readPaddedHeadersFrameThenContinuation()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_receiver_video.cc64 RTC_DCHECK_GE(payload_length, rtp_header->header.paddingLength); in ParseRtpPacket()
66 payload_length - rtp_header->header.paddingLength; in ParseRtpPacket()
Drtp_utility.cc228 header->paddingLength = P ? *(_ptrRTPDataEnd - 1) : 0; in Parse()
293 if (header->headerLength + header->paddingLength > in Parse()
Dreceive_statistics_unittest.cc302 header1_.paddingLength = 9; in TEST_F()
326 header1_.paddingLength = 0; in TEST_F()
Drtp_sender_unittest.cc65 return packet_length - rtp_header.headerLength - rtp_header.paddingLength; in GetPayloadDataLength()
161 EXPECT_EQ(0U, rtp_header.paddingLength); in VerifyRTPHeaderCommon()
218 EXPECT_EQ(0U, rtp_header.paddingLength); in VerifyCVOPacket()
812 EXPECT_EQ(kMaxPaddingLength, rtp_header.paddingLength); in TEST_F()
Drtp_receiver_impl.cc187 size_t payload_data_length = payload_length - rtp_header.paddingLength; in IncomingRtpPacket()
Drtp_payload_registry.cc249 if (kRtxHeaderSize + header.headerLength + header.paddingLength > in RestoreOriginalPacket()
Dreceive_statistics_impl.cc103 size_t packet_oh = header.headerLength + header.paddingLength; in UpdateCounters()
/external/webrtc/webrtc/test/
Dlayer_filtering_transport.cc61 RTC_DCHECK_GT(payload_length, header.paddingLength); in SendRtp()
62 const size_t payload_data_length = payload_length - header.paddingLength; in SendRtp()
/external/webrtc/webrtc/modules/video_coding/
Dvideo_receiver_unittest.cc91 header.header.paddingLength = kPaddingSize; in TEST_F()
115 header.header.paddingLength = kPaddingSize; in TEST_F()
167 header.header.paddingLength = kPaddingSize; in TEST_F()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DAbstractNettyHandler.java136 public void onDataRead(int dataLength, int paddingLength) { in onDataRead() argument
144 incrementDataSincePing(dataLength + paddingLength); in onDataRead()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dpacket.cc156 destination->paddingLength = header_.paddingLength; in CopyToHeader()
/external/webrtc/webrtc/
Dcommon_types.cc44 paddingLength(0), in RTPHeader()
Dcommon_types.h818 size_t paddingLength; member
841 padding_bytes += header.paddingLength; in AddPacket()
843 packet_length - (header.headerLength + header.paddingLength); in AddPacket()
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp103 …ng (const std::string& in, ShaderSources& out, const int numSlices, const size_t paddingLength = 0) in sliceSourceString() argument
109 const std::string padding (paddingLength, 'E'); in sliceSourceString()
115 if (paddingLength > 0) in sliceSourceString()
126 if (paddingLength > 0) in sliceSourceString()
690 const size_t paddingLength = (m_explicitLengths ? 10 : 0); in generateSources() local
693 sliceSourceString(str, sources, m_numSlices, paddingLength); in generateSources()
/external/webrtc/webrtc/video/
Dvie_receiver.cc354 if (header.headerLength + header.paddingLength == packet_length) { in ParseAndHandleEncapsulatingHeader()
394 rtp_header.header.paddingLength = 0; in NotifyReceiverOfFecPacket()
Dvideo_send_stream_tests.cc588 size_t overhead = header.headerLength + header.paddingLength; in TestPacketFragmentationSize()
784 if (header.paddingLength == 0) { in TEST_F()
791 if (header.paddingLength == 0) { in TEST_F()
1577 media_bytes_sent_ += length - header.headerLength - header.paddingLength; in TEST_F()
1900 size_t payload_length = length - header.headerLength - header.paddingLength; in OnSendRtp()
Dend_to_end_tests.cc410 if (packets_left_to_drop_ > 0 && header.paddingLength == 0) { in TEST_F()
723 length == header.headerLength + header.paddingLength); in DecodesRetransmittedFrame()
1413 length - (header.headerLength + header.paddingLength); in TEST_F()
2741 EXPECT_LE(header.headerLength + header.paddingLength, length); in TEST_F()
2743 header.headerLength + header.paddingLength < length; in TEST_F()
2823 header.headerLength + header.paddingLength == length; in TestRtpStatePreservation()
Dvideo_quality_test.cc171 length - (header.headerLength + header.paddingLength); in SendRtp()
/external/skia/src/core/
DSkMD5.cpp76 unsigned int paddingLength = (bufferIndex < 56) ? (56 - bufferIndex) : (120 - bufferIndex); in finish() local
83 (void)this->write(PADDING, paddingLength); in finish()
/external/skqp/src/core/
DSkMD5.cpp76 unsigned int paddingLength = (bufferIndex < 56) ? (56 - bufferIndex) : (120 - bufferIndex); in finish() local
83 (void)this->write(PADDING, paddingLength); in finish()
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp120 …ng (const std::string& in, ShaderSources& out, const int numSlices, const size_t paddingLength = 0) in sliceSourceString() argument
126 const std::string padding (paddingLength, 'E'); in sliceSourceString()
132 if (paddingLength > 0) in sliceSourceString()
143 if (paddingLength > 0) in sliceSourceString()
750 const size_t paddingLength = (m_explicitLengths ? 10 : 0); in generateSources() local
753 sliceSourceString(str, sources, m_numSlices, paddingLength); in generateSources()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc184 EXPECT_EQ(payload_length, receiver_->rtp_header().header.paddingLength); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dinitial_delay_manager_unittest.cc40 rtp_info->header.paddingLength = 0; in InitRtpInfo()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpacket_buffer_unittest.cc60 packet->header.paddingLength = 0; in NextPacket()