Home
last modified time | relevance | path

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

12

/external/libcxxabi/src/
Dcxa_vector.cpp118 __cxa_vec_new(size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new() argument
120 return __cxa_vec_new2 ( element_count, element_size, padding_size, in __cxa_vec_new()
143 __cxa_vec_new2(size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new2() argument
146 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new2()
154 if ( 0 != padding_size ) { in __cxa_vec_new2()
155 vec_base += padding_size; in __cxa_vec_new2()
171 __cxa_vec_new3(size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new3() argument
174 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new3()
182 if ( 0 != padding_size ) { in __cxa_vec_new3()
183 vec_base += padding_size; in __cxa_vec_new3()
[all …]
/external/llvm-project/libcxxabi/src/
Dcxa_vector.cpp150 size_t padding_size) { in calculate_allocation_size_or_throw() argument
156 if (add_overflow(element_heap_size, padding_size, &allocation_size)) in calculate_allocation_size_or_throw()
171 __cxa_vec_new(size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new() argument
173 return __cxa_vec_new2 ( element_count, element_size, padding_size, in __cxa_vec_new()
195 __cxa_vec_new2(size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new2() argument
199 element_count, element_size, padding_size); in __cxa_vec_new2()
207 if ( 0 != padding_size ) { in __cxa_vec_new2()
208 vec_base += padding_size; in __cxa_vec_new2()
224 __cxa_vec_new3(size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new3() argument
228 element_count, element_size, padding_size); in __cxa_vec_new3()
[all …]
/external/XNNPACK/bench/
Dmax-pooling.cc28 const size_t padding_size = state.range(4); in max_pooling_u8() local
36 const size_t output_height = (2 * padding_size + input_height - pooling_size) / stride + 1; in max_pooling_u8()
37 const size_t output_width = (2 * padding_size + input_width - pooling_size) / stride + 1; in max_pooling_u8()
52 padding_size, padding_size, padding_size, padding_size, in max_pooling_u8()
105 const size_t padding_size = state.range(4); in max_pooling_f32() local
113 const size_t output_height = (2 * padding_size + input_height - pooling_size) / stride + 1; in max_pooling_f32()
114 const size_t output_width = (2 * padding_size + input_width - pooling_size) / stride + 1; in max_pooling_f32()
129 padding_size, padding_size, padding_size, padding_size, in max_pooling_f32()
Daverage-pooling.cc36 const size_t padding_size = state.range(4); in xnnpack_average_pooling_qu8() local
44 const size_t output_height = (2 * padding_size + input_height - pooling_size) / stride + 1; in xnnpack_average_pooling_qu8()
45 const size_t output_width = (2 * padding_size + input_width - pooling_size) / stride + 1; in xnnpack_average_pooling_qu8()
60 padding_size, padding_size, padding_size, padding_size, in xnnpack_average_pooling_qu8()
115 const size_t padding_size = state.range(4); in xnnpack_average_pooling_f32() local
123 const size_t output_height = (2 * padding_size + input_height - pooling_size) / stride + 1; in xnnpack_average_pooling_f32()
124 const size_t output_width = (2 * padding_size + input_width - pooling_size) / stride + 1; in xnnpack_average_pooling_f32()
139 padding_size, padding_size, padding_size, padding_size, in xnnpack_average_pooling_f32()
192 const size_t padding_size = state.range(4); in tflite_average_pooling_f32() local
201 if (2 * padding_size == (pooling_size - 1)) { in tflite_average_pooling_f32()
[all …]
/external/webrtc/modules/audio_processing/test/conversational_speech/
Dsimulator.cc138 size_t padding_size = interval_begin - wav_writer->num_samples(); in PadLeftWriteChunk() local
139 if (padding_size != 0) { in PadLeftWriteChunk()
140 const std::vector<int16_t> padding(padding_size, 0); in PadLeftWriteChunk()
141 wav_writer->WriteSamples(padding.data(), padding_size); in PadLeftWriteChunk()
154 size_t padding_size = pad_samples - wav_writer->num_samples(); in PadRightWrite() local
155 if (padding_size != 0) { in PadRightWrite()
156 const std::vector<int16_t> padding(padding_size, 0); in PadRightWrite()
157 wav_writer->WriteSamples(padding.data(), padding_size); in PadRightWrite()
/external/libcxxabi/include/
Dcxxabi.h93 __cxa_vec_new(size_t element_count, size_t element_size, size_t padding_size,
97 __cxa_vec_new2(size_t element_count, size_t element_size, size_t padding_size,
102 __cxa_vec_new3(size_t element_count, size_t element_size, size_t padding_size,
122 size_t padding_size,
126 __cxa_vec_delete2(void *array_address, size_t element_size, size_t padding_size,
131 size_t padding_size, void (*destructor)(void *),
/external/llvm-project/libcxxabi/include/
Dcxxabi.h93 __cxa_vec_new(size_t element_count, size_t element_size, size_t padding_size,
97 __cxa_vec_new2(size_t element_count, size_t element_size, size_t padding_size,
102 __cxa_vec_new3(size_t element_count, size_t element_size, size_t padding_size,
122 size_t padding_size,
126 __cxa_vec_delete2(void *array_address, size_t element_size, size_t padding_size,
131 size_t padding_size, void (*destructor)(void *),
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dsdes.cc59 size_t padding_size = 4 - (chunk_payload_size % 4); // Minimum 1. in ChunkSize() local
60 return chunk_payload_size + padding_size; in ChunkSize()
188 size_t padding_size = 4 - ((6 + chunk.cname.size()) % 4); in Create() local
190 memset(packet + *index, kPadding, padding_size); in Create()
191 *index += padding_size; in Create()
/external/tensorflow/tensorflow/compiler/xla/client/
Dpadding.cc124 int64 padding_size = in MakePadding() local
129 tensorflow::MathUtil::FloorOfRatio(padding_size, int64{2}), in MakePadding()
130 tensorflow::MathUtil::CeilOfRatio(padding_size, int64{2})); in MakePadding()
/external/tensorflow/tensorflow/core/framework/
Dkernel_shape_util.cc78 int64* padding_size) { in GetWindowedOutputSize() argument
86 padding_type, output_size, padding_size, in GetWindowedOutputSize()
93 int64* padding_size) { in GetWindowedOutputSizeV2() argument
102 padding_size, &padding_after_unused); in GetWindowedOutputSizeV2()
Dkernel_shape_util.h76 int64* padding_size);
105 int64* padding_size);
/external/perfetto/src/ipc/
Dbuffered_frame_deserializer_unittest.cc50 uint32_t padding_size; in GetSimpleFrame() local
52 padding_size = size_left - 2; in GetSimpleFrame()
55 padding_size = 124; in GetSimpleFrame()
56 size_left -= padding_size + 2; in GetSimpleFrame()
58 padding.resize(padding_size); in GetSimpleFrame()
59 for (uint32_t i = 0; i < padding_size; i++) { in GetSimpleFrame()
63 frame.add_data_for_testing(std::string(padding.data(), padding_size)); in GetSimpleFrame()
/external/webrtc/modules/rtp_rtcp/include/
Drtp_rtcp_defines.cc50 padding_bytes(packet.padding_size()), in RtpPacketCounter()
56 padding_bytes += packet.padding_size(); in AddPacket()
/external/vixl/src/
Dcode-buffer-vixl.cc148 const size_t padding_size = end - cursor_; in Align() local
149 VIXL_ASSERT(padding_size <= 4); in Align()
150 EmitZeroedBytes(static_cast<int>(padding_size)); in Align()
/external/perfetto/src/tracing/test/
Dfake_packet.cc153 size_t padding_size = in PadTo() local
155 std::string padding_data(padding_size, 0); in PadTo()
/external/webrtc/logging/rtc_event_log/events/
Drtc_event_rtp_packet_incoming.cc23 padding_length_(packet.padding_size()) { in RtcEventRtpPacketIncoming()
Drtc_event_rtp_packet_outgoing.cc24 padding_length_(packet.padding_size()), in RtcEventRtpPacketOutgoing()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbatch_resource_base.cc33 void RecordPaddingSize(int32 padding_size, const string& model_name, in RecordPaddingSize() argument
43 ->Add(static_cast<double>(padding_size)); in RecordPaddingSize()
490 const int padding_size = in SplitOutputTensors() local
492 if (padding_size > 0) { in SplitOutputTensors()
493 task_sizes_plus_optional_padding.push_back(padding_size); in SplitOutputTensors()
513 static_cast<int64>(batch->size() + padding_size)) { in SplitOutputTensors()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_unittest_helper.cc515 size_t padding_size, in RandomizeRtpPacket() argument
566 RTC_CHECK(rtp_packet->SetPadding(padding_size)); in RandomizeRtpPacket()
575 const size_t padding_size = !padding ? 0u : prng_.Rand(0u, kMaxPaddingLength); in NewRtpPacketIncoming() local
586 padding_size > 0 ? 0 in NewRtpPacketIncoming()
588 1 - padding_size - in NewRtpPacketIncoming()
592 RandomizeRtpPacket(payload_size, padding_size, ssrc, extension_map, in NewRtpPacketIncoming()
604 const size_t padding_size = !padding ? 0u : prng_.Rand(0u, kMaxPaddingLength); in NewRtpPacketOutgoing() local
615 padding_size > 0 ? 0 in NewRtpPacketOutgoing()
617 1 - padding_size - in NewRtpPacketOutgoing()
621 kMaxHeaderSize + payload_size + padding_size); in NewRtpPacketOutgoing()
[all …]
Dlogged_events.cc24 padding_size(static_cast<uint16_t>(rtp.header.paddingLength)), in LoggedPacketInfo()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet.h66 size_t padding_size() const { return padding_size_; } in padding_size() function
144 bool SetPadding(size_t padding_size);
/external/webrtc/modules/pacing/
Dpacing_controller_unittest.cc84 size_t padding_size = SendPadding(target_size.bytes()); in GeneratePadding() local
85 if (padding_size > 0) { in GeneratePadding()
87 packet->SetPayloadSize(padding_size); in GeneratePadding()
188 DataSize padding_size = std::min(kMaxPadding, target_size); in GeneratePadding() local
190 packets.back()->SetPadding(padding_size.bytes()); in GeneratePadding()
192 padding_sent_ += padding_size.bytes(); in GeneratePadding()
193 target_size -= padding_size; in GeneratePadding()
1674 EXPECT_CALL(callback, GeneratePadding).WillOnce([&](DataSize padding_size) { in TEST_P() argument
1678 clock_.TimeInMilliseconds(), padding_size.bytes())); in TEST_P()
1753 .WillOnce([&](DataSize padding_size) { in TEST_P() argument
[all …]
/external/avb/
Davbtool.py1207 padding_size = nbf_with_padding - num_bytes_following
1209 padding = struct.pack(str(padding_size) + 'x')
1311 padding_size = nbf_with_padding - num_bytes_following
1315 padding_size * b'\0')
1477 padding_size = nbf_with_padding - num_bytes_following
1486 padding_size * b'\0')
1648 padding_size = nbf_with_padding - num_bytes_following
1654 padding_size * b'\0')
1764 padding_size = nbf_with_padding - num_bytes_following
1767 ret = desc + kernel_cmd_encoded + padding_size * b'\0'
[all …]
Davbtool1207 padding_size = nbf_with_padding - num_bytes_following
1209 padding = struct.pack(str(padding_size) + 'x')
1311 padding_size = nbf_with_padding - num_bytes_following
1315 padding_size * b'\0')
1477 padding_size = nbf_with_padding - num_bytes_following
1486 padding_size * b'\0')
1648 padding_size = nbf_with_padding - num_bytes_following
1654 padding_size * b'\0')
1764 padding_size = nbf_with_padding - num_bytes_following
1767 ret = desc + kernel_cmd_encoded + padding_size * b'\0'
[all …]
/external/perfetto/src/tracing/core/
Dtrace_buffer.cc272 size_t padding_size = static_cast<size_t>(del_res); in CopyChunkUntrusted() local
287 PERFETTO_DCHECK(padding_size == 0); in CopyChunkUntrusted()
316 if (padding_size) in CopyChunkUntrusted()
317 AddPaddingRecord(padding_size); in CopyChunkUntrusted()

12