/external/rust/crates/bindgen/src/codegen/ |
D | struct_layout.rs | 128 self.latest_offset += self.padding_bytes(layout) + layout.size; in saw_base() 195 let padding_bytes = match field_offset { in saw_field_with_layout() localVariable 206 self.padding_bytes(field_layout) in saw_field_with_layout() 208 self.padding_bytes(l) in saw_field_with_layout() 215 self.latest_offset += padding_bytes; in saw_field_with_layout() 221 let need_padding = padding_bytes >= field_layout.align || in saw_field_with_layout() 226 self.latest_offset - padding_bytes, in saw_field_with_layout() 235 padding_bytes, in saw_field_with_layout() 239 if need_padding && padding_bytes != 0 { in saw_field_with_layout() 241 padding_bytes, in saw_field_with_layout() [all …]
|
/external/webrtc/modules/rtp_rtcp/include/ |
D | rtp_rtcp_defines.h | 297 : header_bytes(0), payload_bytes(0), padding_bytes(0), packets(0) {} in RtpPacketCounter() 304 padding_bytes += other.padding_bytes; in Add() 313 RTC_DCHECK_GE(padding_bytes, other.padding_bytes); in Subtract() 314 padding_bytes -= other.padding_bytes; in Subtract() 322 padding_bytes == other.padding_bytes && packets == other.packets; 329 return header_bytes + payload_bytes + padding_bytes; in TotalBytes() 334 size_t padding_bytes; // Number of padding bytes. member
|
D | rtp_rtcp_defines.cc | 50 padding_bytes(packet.padding_size()), in RtpPacketCounter() 56 padding_bytes += packet.padding_size(); in AddPacket()
|
/external/rust/crates/grpcio-sys/grpc/test/http2_test/ |
D | http2_base_server.py | 156 padding_bytes = pad_length + 1 if pad_length is not None else 0 157 if lfcw - padding_bytes <= 0: 160 % (stream_id, lfcw, padding_bytes)) 162 chunk_size = min(lfcw - padding_bytes, read_chunk_size) 167 padding_bytes, stream_id, padding_bytes)) 171 if bytes_to_send + padding_bytes > _MIN_SETTINGS_MAX_FRAME_SIZE: 173 (bytes_to_send + padding_bytes))
|
/external/grpc-grpc/test/http2_test/ |
D | http2_base_server.py | 133 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/modules/rtp_rtcp/source/ |
D | receive_statistics_unittest.cc | 101 EXPECT_EQ(0u, counters.transmitted.padding_bytes); in TEST_F() 110 EXPECT_EQ(0u, counters.transmitted.padding_bytes); in TEST_F() 125 EXPECT_EQ(0u, counters.transmitted.padding_bytes); in TEST_F() 132 EXPECT_EQ(0u, counters.transmitted.padding_bytes); in TEST_F() 205 EXPECT_EQ(0u, counters.transmitted.padding_bytes); in TEST_F() 521 EXPECT_EQ(counters.transmitted.padding_bytes, 0u); in TEST_F() 525 EXPECT_EQ(counters.retransmitted.padding_bytes, 0u); in TEST_F() 539 EXPECT_EQ(counters.transmitted.padding_bytes, kPaddingLength); in TEST_F() 549 EXPECT_EQ(counters.transmitted.padding_bytes, kPaddingLength * 2); in TEST_F() 553 EXPECT_EQ(counters.retransmitted.padding_bytes, kPaddingLength); in TEST_F()
|
D | rtp_rtcp_impl_unittest.cc | 388 rtp.transmitted.padding_bytes = 3; in TEST_F() 391 rtp.transmitted.padding_bytes); in TEST_F() 399 rtp2.retransmitted.padding_bytes = 6; in TEST_F() 409 EXPECT_EQ(3U, sum.transmitted.padding_bytes); in TEST_F() 412 EXPECT_EQ(6U, sum.retransmitted.padding_bytes); in TEST_F()
|
D | rtp_rtcp_impl2_unittest.cc | 400 rtp.transmitted.padding_bytes = 3; in TEST_F() 403 rtp.transmitted.padding_bytes); in TEST_F() 411 rtp2.retransmitted.padding_bytes = 6; in TEST_F() 421 EXPECT_EQ(3U, sum.transmitted.padding_bytes); in TEST_F() 424 EXPECT_EQ(6U, sum.retransmitted.padding_bytes); in TEST_F()
|
D | rtp_packet.cc | 406 bool RtpPacket::SetPadding(size_t padding_bytes) { in SetPadding() argument 407 if (payload_offset_ + payload_size_ + padding_bytes > capacity()) { in SetPadding() 408 RTC_LOG(LS_WARNING) << "Cannot set padding size " << padding_bytes in SetPadding() 414 padding_size_ = rtc::dchecked_cast<uint8_t>(padding_bytes); in SetPadding()
|
D | rtp_sender_unittest.cc | 204 EXPECT_EQ(expected.padding_bytes, actual.padding_bytes); in MatchPacketCounter() 1930 expected.transmitted.padding_bytes = 0; in TEST_P() 1934 expected.retransmitted.padding_bytes = 0; in TEST_P() 1947 expected.retransmitted.padding_bytes = 0; in TEST_P() 1955 expected.transmitted.padding_bytes = kMaxPaddingSize; in TEST_P() 2027 EXPECT_EQ(rtp_stats.transmitted.padding_bytes, 0u); in TEST_P() 2030 EXPECT_EQ(rtx_stats.transmitted.padding_bytes, 2 * kMaxPaddingSize); in TEST_P() 2035 rtp_stats.transmitted.padding_bytes); in TEST_P() 2039 rtx_stats.transmitted.padding_bytes); in TEST_P()
|
D | rtp_rtcp_impl.cc | 559 rtp_stats.transmitted.padding_bytes + in DataCountersRTP() 562 rtx_stats.transmitted.padding_bytes + in DataCountersRTP()
|
/external/webrtc/call/ |
D | rampup_tests.cc | 356 *padding_sent += stream.rtp_stats.transmitted.padding_bytes + in AccumulateStats() 357 stream.rtp_stats.retransmitted.padding_bytes + in AccumulateStats() 358 stream.rtp_stats.fec.padding_bytes; in AccumulateStats()
|
/external/flatbuffers/rust/flatbuffers/src/ |
D | builder.rs | 608 self.make_space(padding_bytes(s + len, alignment.value())); in align() 689 fn padding_bytes(buf_size: usize, scalar_size: usize) -> usize { in padding_bytes() function
|
/external/webrtc/video/ |
D | send_statistics_proxy_unittest.cc | 155 EXPECT_EQ(a.rtp_stats.transmitted.padding_bytes, in ExpectEqual() 156 b.rtp_stats.transmitted.padding_bytes); in ExpectEqual() 260 counters.transmitted.padding_bytes = offset + 3; in TEST_F() 273 counters.transmitted.padding_bytes = offset + 3; in TEST_F() 2436 counters.transmitted.padding_bytes += 1000; in TEST_F() 2440 counters.retransmitted.padding_bytes += 100; in TEST_F() 2494 counters.transmitted.padding_bytes += 1000; in TEST_F() 2498 counters.retransmitted.padding_bytes += 100; in TEST_F() 2548 counters.transmitted.padding_bytes += 1000; in TEST_F() 2552 counters.retransmitted.padding_bytes += 100; in TEST_F()
|
D | send_statistics_proxy.cc | 204 padding_byte_counter_.SetLast(it.second.rtp_stats.transmitted.padding_bytes, in InitializeBitrateCounters() 1331 uma_container_->padding_byte_counter_.Set(counters.transmitted.padding_bytes, in DataCountersUpdated()
|
D | receive_statistics_proxy.cc | 426 static_cast<int>(rtp_rtx_stats.transmitted.padding_bytes * 8 / in UpdateHistograms()
|
D | receive_statistics_proxy2.cc | 447 static_cast<int>(rtp_rtx_stats.transmitted.padding_bytes * 8 / in UpdateHistograms()
|
/external/webrtc/test/scenario/ |
D | stats_collection.cc | 167 kv.second.rtp_stats.fec.padding_bytes; in AddStats()
|
/external/webrtc/video/end_to_end_tests/ |
D | stats_tests.cc | 129 stats.rtp_stats.packet_counter.padding_bytes != 0; in TEST_F() 188 stream_stats.rtp_stats.transmitted.padding_bytes != 0 || in TEST_F()
|
/external/webrtc/audio/ |
D | channel_send.cc | 784 rtp_stats.transmitted.padding_bytes + rtp_stats.transmitted.header_bytes + in GetRTCPStatistics() 785 rtx_stats.transmitted.padding_bytes + rtx_stats.transmitted.header_bytes; in GetRTCPStatistics()
|
D | channel_receive.cc | 749 rtp_stats.packet_counter.padding_bytes; in GetRTCPStatistics()
|
/external/webrtc/media/engine/ |
D | webrtc_video_engine_unittest.cc | 5376 substream.rtp_stats.transmitted.padding_bytes = 11; in TEST_F() 5411 substream.rtp_stats.transmitted.padding_bytes))); in TEST_F() 5494 substream.rtp_stats.transmitted.padding_bytes = 11; in TEST_F() 5529 substream.rtp_stats.transmitted.padding_bytes)); in TEST_F() 5681 substreams[kFirstMediaStreamSsrc].rtp_stats.transmitted.padding_bytes = 2; in TEST() 5685 substreams[kFirstMediaStreamSsrc].rtp_stats.retransmitted.padding_bytes = 6; in TEST() 5695 substreams[kSecondMediaStreamSsrc].rtp_stats.transmitted.padding_bytes = 11; in TEST() 5699 substreams[kSecondMediaStreamSsrc].rtp_stats.retransmitted.padding_bytes = 15; in TEST() 5709 substreams[kRtxSsrc].rtp_stats.transmitted.padding_bytes = 20; in TEST() 5713 substreams[kRtxSsrc].rtp_stats.retransmitted.padding_bytes = 24; in TEST() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | t1_lib.cc | 3087 uint8_t *padding_bytes; in ssl_add_clienthello_tlsext() local 3090 !CBB_add_space(&extensions, &padding_bytes, padding_len)) { in ssl_add_clienthello_tlsext() 3095 OPENSSL_memset(padding_bytes, 0, padding_len); in ssl_add_clienthello_tlsext()
|
/external/avb/ |
D | avbtool.py | 3197 padding_bytes = h.auxiliary_data_block_size - len(aux_data_blob) 3198 aux_data_blob.extend(b'\0' * padding_bytes) 3219 padding_bytes = h.authentication_data_block_size - len(auth_data_blob) 3220 auth_data_blob.extend(b'\0' * padding_bytes)
|
D | avbtool | 3197 padding_bytes = h.auxiliary_data_block_size - len(aux_data_blob) 3198 aux_data_blob.extend(b'\0' * padding_bytes) 3219 padding_bytes = h.authentication_data_block_size - len(auth_data_blob) 3220 auth_data_blob.extend(b'\0' * padding_bytes)
|