Home
last modified time | relevance | path

Searched refs:padding_bytes (Results 1 – 22 of 22) sorted by relevance

/external/grpc-grpc/test/http2_test/
Dhttp2_base_server.py133 padding_bytes = pad_length + 1 if pad_length is not None else 0
134 if lfcw - padding_bytes <= 0:
135 …('Stream %d. lfcw: %d. padding bytes: %d. not enough quota yet' % (stream_id, lfcw, padding_bytes))
137 chunk_size = min(lfcw - padding_bytes, read_chunk_size)
140 (lfcw, self._send_offset, self._send_offset + bytes_to_send + padding_bytes,
141 stream_id, padding_bytes))
145 if bytes_to_send + padding_bytes > _MIN_SETTINGS_MAX_FRAME_SIZE:
146 raise ValueError("overload: sending %d" % (bytes_to_send + padding_bytes))
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dreceive_statistics_unittest.cc258 EXPECT_EQ(expected.padding_bytes, actual.padding_bytes); in MatchPacketCounter()
291 expected.transmitted.padding_bytes = 0; in TEST_F()
295 expected.retransmitted.padding_bytes = 0; in TEST_F()
308 expected.transmitted.padding_bytes = kPaddingLength; in TEST_F()
318 expected.transmitted.padding_bytes = kPaddingLength * 2; in TEST_F()
322 expected.retransmitted.padding_bytes = kPaddingLength; in TEST_F()
369 expected.transmitted.padding_bytes = 0; in TEST_F()
Drtcp_utility.h323 padding_bytes(0) {} in RtcpCommonHeader()
326 return kHeaderSizeBytes + payload_size_bytes + padding_bytes; in BlockSize()
333 uint8_t padding_bytes; member
Drtcp_utility_unittest.cc135 EXPECT_EQ(kPayloadSizeBytes, header.padding_bytes); in TEST_F()
141 EXPECT_EQ(kPayloadSizeBytes - 1, header.padding_bytes); in TEST_F()
Drtp_rtcp_impl_unittest.cc420 rtp.transmitted.padding_bytes = 3; in TEST_F()
423 rtp.transmitted.padding_bytes); in TEST_F()
431 rtp2.retransmitted.padding_bytes = 6; in TEST_F()
441 EXPECT_EQ(3U, sum.transmitted.padding_bytes); in TEST_F()
444 EXPECT_EQ(6U, sum.retransmitted.padding_bytes); in TEST_F()
Drtp_sender_unittest.cc1126 EXPECT_EQ(expected.padding_bytes, actual.padding_bytes); in TEST_F()
1157 expected.transmitted.padding_bytes = 0; in TEST_F()
1161 expected.retransmitted.padding_bytes = 0; in TEST_F()
1174 expected.retransmitted.padding_bytes = 0; in TEST_F()
1182 expected.transmitted.padding_bytes = kMaxPaddingSize; in TEST_F()
1348 EXPECT_EQ(rtp_stats.transmitted.padding_bytes, 0u); in TEST_F()
1351 EXPECT_EQ(rtx_stats.transmitted.padding_bytes, 2 * kMaxPaddingSize); in TEST_F()
1356 rtp_stats.transmitted.padding_bytes); in TEST_F()
1360 rtx_stats.transmitted.padding_bytes); in TEST_F()
Drtcp_utility.cc504 size_t padding_bytes = 0; in RtcpParseCommonHeader() local
512 padding_bytes = packet[payload_size - 1]; in RtcpParseCommonHeader()
513 if (RtcpCommonHeader::kHeaderSizeBytes + padding_bytes > payload_size) { in RtcpParseCommonHeader()
515 << padding_bytes << ") for a packet size of " in RtcpParseCommonHeader()
519 payload_size -= padding_bytes; in RtcpParseCommonHeader()
527 parsed_header->padding_bytes = padding_bytes; in RtcpParseCommonHeader()
Drtcp_packet.cc195 uint8_t padding_bytes, in CreateRpsi() argument
202 AssignUWord8(buffer, pos, padding_bytes * 8); in CreateRpsi()
206 memset(buffer + *pos, 0, padding_bytes); in CreateRpsi()
207 *pos += padding_bytes; in CreateRpsi()
Drtp_sender.cc1279 size_t padding_bytes = in BuildRTPHeaderExtension() local
1281 if (padding_bytes > 0) { in BuildRTPHeaderExtension()
1282 memset(&data_buffer[kHeaderLength + total_block_length], 0, padding_bytes); in BuildRTPHeaderExtension()
1283 total_block_length += padding_bytes; in BuildRTPHeaderExtension()
Drtp_rtcp_impl.cc588 rtp_stats.transmitted.padding_bytes + in DataCountersRTP()
591 rtx_stats.transmitted.padding_bytes + in DataCountersRTP()
Dreceive_statistics_impl.cc289 receive_counters_.transmitted.padding_bytes; in GetDataCounters()
/external/webrtc/webrtc/
Dcommon_types.h828 padding_bytes(0), in RtpPacketCounter()
834 padding_bytes += other.padding_bytes; in Add()
841 padding_bytes += header.paddingLength; in AddPacket()
847 return header_bytes + payload_bytes + padding_bytes; in TotalBytes()
852 size_t padding_bytes; // Number of padding bytes. member
/external/v8/src/
Dperf-jit.cc384 char padding_bytes[8] = {0}; in LogWriteDebugInfo() local
385 LogWriteBytes(padding_bytes, padding); in LogWriteDebugInfo()
418 char padding_bytes[] = "\0\0\0\0\0\0\0\0"; in LogWriteUnwindingInfo() local
419 DCHECK_LT(padding_size, static_cast<int>(sizeof(padding_bytes))); in LogWriteUnwindingInfo()
420 LogWriteBytes(padding_bytes, static_cast<int>(padding_size)); in LogWriteUnwindingInfo()
/external/webrtc/webrtc/video/
Dsend_statistics_proxy_unittest.cc73 EXPECT_EQ(a.rtp_stats.transmitted.padding_bytes, in ExpectEqual()
74 b.rtp_stats.transmitted.padding_bytes); in ExpectEqual()
203 counters.transmitted.padding_bytes = offset + 3; in TEST_F()
219 counters.transmitted.padding_bytes = offset + 3; in TEST_F()
Dvie_channel.cc254 static_cast<int>(rtp_rtx.transmitted.padding_bytes * 8 / elapsed_sec / in UpdateHistograms()
317 static_cast<int>(rtp_rtx.transmitted.padding_bytes * 8 / elapsed_sec / in UpdateHistograms()
Dend_to_end_tests.cc2462 stats.rtp_stats.transmitted.padding_bytes != 0 || in TEST_F()
2522 stream_stats.rtp_stats.transmitted.padding_bytes != 0 || in TEST_F()
/external/webrtc/webrtc/call/
Drampup_tests.cc261 *padding_sent += stream.rtp_stats.transmitted.padding_bytes + in AccumulateStats()
262 stream.rtp_stats.retransmitted.padding_bytes + in AccumulateStats()
263 stream.rtp_stats.fec.padding_bytes; in AccumulateStats()
/external/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs563 self.make_space(padding_bytes(s + len, alignment.value())); in align()
637 fn padding_bytes(buf_size: usize, scalar_size: usize) -> usize { in padding_bytes() function
/external/avb/
Davbtool2844 padding_bytes = h.auxiliary_data_block_size - len(aux_data_blob)
2845 aux_data_blob.extend('\0' * padding_bytes)
2868 padding_bytes = h.authentication_data_block_size - len(auth_data_blob)
2869 auth_data_blob.extend('\0' * padding_bytes)
/external/boringssl/src/ssl/
Dt1_lib.cc3159 uint8_t *padding_bytes; in ssl_add_clienthello_tlsext() local
3162 !CBB_add_space(&extensions, &padding_bytes, padding_len)) { in ssl_add_clienthello_tlsext()
3167 OPENSSL_memset(padding_bytes, 0, padding_len); in ssl_add_clienthello_tlsext()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoengine2.cc2146 stream_stats.rtp_stats.transmitted.padding_bytes; in GetVideoSenderInfo()
2524 stats.rtp_stats.transmitted.padding_bytes; in GetVideoReceiverInfo()
Dwebrtcvideoengine2_unittest.cc2723 stats.rtp_stats.transmitted.padding_bytes = 4; in TEST_F()
2733 stats.rtp_stats.transmitted.padding_bytes, in TEST_F()