Searched refs:total_length (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/ |
D | test_http_server.cc | 289 ssize_t HandleGet(int fd, const HttpRequest& request, const size_t total_length, in HandleGet() argument 297 if (start_offset >= total_length) { in HandleGet() 299 << ") exceeds total length (" << total_length in HandleGet() 302 return WriteHeaders(fd, total_length, total_length, in HandleGet() 309 request.end_offset : total_length); in HandleGet() 315 if (end_offset > total_length) { in HandleGet() 317 << ") exceeds total length (" << total_length << "), adjusting"; in HandleGet() 318 end_offset = total_length; in HandleGet() 373 const size_t total_length) { in HandleGet() argument 374 return HandleGet(fd, request, total_length, 0, 0, 0); in HandleGet()
|
/system/core/fastboot/ |
D | socket.cpp | 142 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/ |
D | packet_fragmenter_test.cc | 136 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()
|