Home
last modified time | relevance | path

Searched refs:remaining_length (Results 1 – 2 of 2) sorted by relevance

/system/bt/hci/src/
Dpacket_fragmenter.cc93 uint16_t remaining_length = packet->len; in fragment_and_dispatch_acl() local
101 while (remaining_length > max_packet_size) { in fragment_and_dispatch_acl()
111 remaining_length -= max_data_size; in fragment_and_dispatch_acl()
112 packet->len = remaining_length; in fragment_and_dispatch_acl()
117 UINT16_TO_STREAM(stream, remaining_length - HCI_ACL_PREAMBLE_SIZE); in fragment_and_dispatch_acl()
139 uint16_t remaining_length = packet->len; in fragment_and_dispatch_iso() local
149 if (remaining_length <= max_packet_size) { in fragment_and_dispatch_iso()
153 while (remaining_length > max_packet_size) { in fragment_and_dispatch_iso()
163 remaining_length -= max_data_size; in fragment_and_dispatch_iso()
164 packet->len = remaining_length; in fragment_and_dispatch_iso()
[all …]
/system/bt/gd/packet/
Dpacket_view.cc105 size_t remaining_length = length_; in Append() local
106 while (remaining_length > 0) { in Append()
107 remaining_length -= insertion_point->size(); in Append()
108 if (remaining_length > 0) { in Append()