Home
last modified time | relevance | path

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

/system/update_engine/
Dtest_http_server.cc297 const size_t total_length, in HandleGet() argument
306 if (start_offset >= total_length) { in HandleGet()
308 << ") exceeds total length (" << total_length in HandleGet()
312 fd, total_length, total_length, kHttpResponseReqRangeNotSat); in HandleGet()
318 (request.end_offset > 0 ? request.end_offset : total_length); in HandleGet()
324 if (end_offset > total_length) { in HandleGet()
326 << ") exceeds total length (" << total_length << "), adjusting"; in HandleGet()
327 end_offset = total_length; in HandleGet()
383 const size_t total_length) { in HandleGet() argument
384 return HandleGet(fd, request, total_length, 0, 0, 0); in HandleGet()
/system/core/fastboot/
Dsocket.cpp142 size_t total_length = 0; in Send() local
144 total_length += buffer.length; in Send()
148 sock_, buffers.data(), buffers.size())) == static_cast<ssize_t>(total_length); in Send()
/system/bt/hci/test/
Dpacket_fragmenter_test.cc136 uint16_t total_length = data_length + 2; // 2 for l2cap length; in manufacture_packet_and_then_reassemble() local
143 int length_to_send = (length_sent + (acl_size - 4) < total_length) in manufacture_packet_and_then_reassemble()
145 : (total_length - length_sent); in manufacture_packet_and_then_reassemble()
166 } while (length_sent < total_length); in manufacture_packet_and_then_reassemble()