Home
last modified time | relevance | path

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

/system/bt/vendor_libs/test_vendor_lib/src/
Dpacket_stream.cc105 size_t octets_remaining = num_octets_to_receive; in ReceiveAll() local
106 while (octets_remaining > 0) { in ReceiveAll()
108 read(fd, &destination[num_octets_to_receive - octets_remaining], in ReceiveAll()
109 octets_remaining); in ReceiveAll()
111 octets_remaining -= num_octets_received; in ReceiveAll()
119 size_t octets_remaining = num_octets_to_send; in SendAll() local
120 while (octets_remaining > 0) { in SendAll()
122 fd, &source[num_octets_to_send - octets_remaining], octets_remaining); in SendAll()
124 octets_remaining -= num_octets_sent; in SendAll()