Home
last modified time | relevance | path

Searched refs:total_length (Results 1 – 10 of 10) sorted by relevance

/aosp12/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentRef.cpp127 unsigned int total_length = region_frag->getRegion().size(); in memcpy() local
128 if (total_length < (total_offset + pNBytes)) in memcpy()
129 pNBytes = total_length - total_offset; in memcpy()
137 unsigned int total_length = stub_frag->size(); in memcpy() local
138 if (total_length < (total_offset + pNBytes)) in memcpy()
139 pNBytes = total_length - total_offset; in memcpy()
/aosp12/system/bt/hci/test/
H A Dpacket_fragmenter_test.cc227 uint16_t total_length = data_length + 2; // 2 for l2cap length; in manufacture_acl_packet_and_then_reassemble() local
234 int length_to_send = (length_sent + (acl_size - 4) < total_length) in manufacture_acl_packet_and_then_reassemble()
236 : (total_length - length_sent); in manufacture_acl_packet_and_then_reassemble()
257 } while (length_sent < total_length); in manufacture_acl_packet_and_then_reassemble()
264 uint16_t total_length; in manufacture_iso_packet_and_then_reassemble() local
272 total_length = data_length + 4; in manufacture_iso_packet_and_then_reassemble()
273 if (iso_has_ts) total_length += 4; in manufacture_iso_packet_and_then_reassemble()
278 : (total_length - length_sent); in manufacture_iso_packet_and_then_reassemble()
287 bool is_complete = length_to_send == total_length; in manufacture_iso_packet_and_then_reassemble()
315 if (length_sent + length_to_send == total_length) { in manufacture_iso_packet_and_then_reassemble()
[all …]
/aosp12/system/update_engine/
H A Dtest_http_server.cc298 const size_t total_length, in HandleGet() argument
307 if (start_offset >= total_length) { in HandleGet()
309 << ") exceeds total length (" << total_length in HandleGet()
313 fd, total_length, total_length, kHttpResponseReqRangeNotSat); in HandleGet()
319 (request.end_offset > 0 ? request.end_offset : total_length); in HandleGet()
325 if (end_offset > total_length) { in HandleGet()
327 << ") exceeds total length (" << total_length << "), adjusting"; in HandleGet()
328 end_offset = total_length; in HandleGet()
384 const size_t total_length) { in HandleGet() argument
385 return HandleGet(fd, request, total_length, 0, 0, 0); in HandleGet()
/aosp12/frameworks/base/startop/scripts/iorap/
H A Danalyze_prefetch_file.py65 total_length = 0
71 total_length += summary.length
80 print("Total length: {:,} bytes".format(total_length))
86 percent_of_total = (sum.length * 1.0) / (total_length * 1.0) * 100.0
/aosp12/packages/apps/Gallery2/jni_jpegstream/src/
H A Djpeg_writer.cpp131 int32_t total_length = length; in write() local
140 return total_length; in write()
162 return total_length - length; in write()
H A Djpeg_reader.cpp131 int32_t total_length = count; in read() local
142 return total_length; in read()
171 return total_length - count; in read()
/aosp12/system/core/fastboot/
H A Dsocket.cpp144 size_t total_length = 0; in Send() local
146 total_length += buffer.length; in Send()
150 sock_, buffers.data(), buffers.size())) == static_cast<ssize_t>(total_length); in Send()
/aosp12/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.cpp188 int total_length = 0; in GenerateJavaCodeAccessorMethodForBitwidth() local
192 total_length += read_length; in GenerateJavaCodeAccessorMethodForBitwidth()
199 << total_length << ";\n\n"; in GenerateJavaCodeAccessorMethodForBitwidth()
/aosp12/hardware/qcom/camera/msm8998/usbcamcore/src/
H A DQCameraMjpegDecode.cpp277 source.total_length = p_args->inputMjpegBufferSize & 0xffffffff; in decoder_test()
/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dwifilogger_diag.cpp106 u32 total_length = size + sizeof(wifi_ring_buffer_entry); in update_connectivity_ring_buf() local
119 (u8*)rbe, total_length, 1, total_length); in update_connectivity_ring_buf()